Forum member

Dirk Maegh

60 posts

Posts by Dirk Maegh

  1. Aspire

    I added the files with a generic "obj\Debug\net9.0\Aspire\references\*.ProjectMetadata.g.cs" and they show up in the ncrunch workspace now, as suggested. NCrunch however still fails with the same error. [quote] NCrunch: If you are experiencing problems in getting this project to build, have a l…

  2. Aspire

    Looking in AppData\Local\NCrunch\ => some number to indicate the solution. I found the file _AppHost.ProjectMetadata.g.cs all right. (14964\3\MyApp.Aspire.AppHost\obj\Debug\net9.0\Aspire\references\) I cannot find the other two generated files though.

  3. Aspire

    Wanted to let you know that I had a enlightening thought on the "not building of the second project" - the second project depends on the first one. So it cannot be built, and therefore of course shows no output. (Why I didn't see that the first time, beats me - but there's that :))

  4. Aspire

    Thanks for the suggestion. I didn't try it then indeed. I tried just now (everything dotnet 9), and have the same outcome. (ncrunch fails on the same projects, with the same output)

  5. Aspire

    Hi, Merry Christmas, all the best to you and all the developers - thanks for a great product. Today I stumbled on an issue however. In my existing solution, I wanted to start checking out Aspire. So I created a solution folder, and added a new project, using the default template for ".Net As…

  6. Build fails - net48/win7-x86 not found

    I have removed the item about ExcludeFromCoverage. After cleaning my projects, I got the same problem from VS. So not an nCrunch issue. I should have been more careful before posting, sorry :)

  7. Build fails - net48/win7-x86 not found

    Hi, I am changing a netstandard2.0 library and client to net48;net60;net80. For the package dependencies I have introduced some conditional ItemGroup on TargetFramework. All builds run fine in VS2022 Preview - I had set the ncrunch build SDK to 9.0 rc something, but for this solution, I upd…

  8. Build issue net90

    Thanks for your reply. It is clear to me. It would be nice however if the tool could maybe in the output refer to some documentation page explaining this ? (optional of course, I can always create an issue on this forum :))

  9. Build issue net90

    Hi, I wanted to upgrade my projects from net8.0 to net90. I did a complete search/replace over all my projects, had them rebuilt and everything seemed to work fine. Until I noticed nCrunch was complaining. I reduced it to a simple project (and a simple test project) working fine in net8.0.…

  10. Project cannot be built

    Thanks. That was the culprit. I would have never known that from the current ncrunch output. I had to contact you through this forum to find out. Maybe something that could be improved ? (It's an excellent product and delivers great quality - don't misunderstand me ;)

  11. Project cannot be built

    Sample submitted. It's a regular project, with a regular nuget library.

  12. Project cannot be built

    Hi, I have a solution where NCrunch cannot build my Graphql client project. Also the unittests project does not reference that project, but NCrunch does not attempt to build it. Where could I provide the sample project please ? Thx, Dirk

  13. Problem building graphql client

    Removed the <None Remove="..."/> items and worked as a charm. Thx.

  14. Problem building graphql client

    Hi, I have a problem using ncrunch building a project, using Strawberry Shake from HotChocolate graphql stuff. I have created a private sample solution for you to inspect. Where can I send it please ? Thx, Dirk

  15. dotnet 7.0.17 not installed ?

    Hi, My solution is loaded, ncrunch succeeds at building the 2 test projects, but then fails analysis. ("Analysis failure") It shows the description underneath. I read it and downloaded dotnet from the location indicated (at the bottom) and installed it. Retried ncrunch by manually reloading…

  16. NCrunch fails to build UnitTests project

    Hi, it indeed seems like a nuget dependency issue. And I fixed it, and I think you would want to hear what fixed my problem exactly... At the same time as when I wrote down this issue, NCrunch also showed another warning - it could not create a test environment, as you also said in last messa…

  17. NCrunch fails to build UnitTests project

    Just sharing another experience - building the same project on my desktop (also Windows 11 64 bit, also VS2022, also same build of NCrunch) Ncrunch builds the same project fine here...

  18. NCrunch fails to build (and then test)

    Yes it does :) But that is certainly not intuitive. Thx for your assistance.

  19. NCrunch fails to build UnitTests project

    Hi, I didn't know whether to go on from the previous topic or not. I am trying your new build 4.17.0.3 on a different laptop now, different project. It is still a source generator though, but the unittests project fails to build. (VS2022 builds fine) An error occurred while analysing thi…

  20. NCrunch fails to build (and then test)

    Thanks for letting me try your new build. It indeed solves most of the issues. After I configured NCrunch to completely ignore all dotnet frameworks I hadn't installed, it resolved all builds and tests, except for the one project _build. It does not compile in NCrunch. <Quote> NCrunch: If y…