Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. NCrunch cannot build .NET Standard 2.0 projects

    [quote=Marcello;15840] Were you able to reproduce the issue there with a machine with only VS2019 build tools and SDK 6.0.100?[/quote] I've spent the last two days trying to set up an environment to reproduce the issue you've described. Perhaps needless to say, I'm not impressed with the stabil…

  2. NCrunch cannot build .NET Standard 2.0 projects

    Could you please send through a new log produced with the 'Build log verbosity' NCrunch setting set to 'Diagnostic' on your client machine? This will add detailed information about package and assembly resolution activities occurring inside the build and may be quite revealing (I would also recomme…

  3. NCrunch cannot build .NET Standard 2.0 projects

    Hi, thanks for sharing these details. The error itself seems to be caused by the build system being unable to resolve netstandard.dll, which is usually situated in either the Nuget package cache on the machine or one of the various SDK directories. Again, I cannot reproduce this problem on my …

  4. nCrunch fails building code containing languageext's newtype

    [quote] No, I have no clue why the build fails and the solution is huge. [/quote] Unfortunately, to have any hope of resolving this problem, we'll need to have a copy of a project that produces it or the assembly produced by building it. I understand that given IP constraints, this is not usua…

  5. nCrunch fails building code containing languageext's newtype

    Hi, thanks for sharing this issue. There's been a number of fixes in this area over previous years. The exceptions thrown here before the latest version of the product are from issues that have already been resolved. I haven't seen this before on v4.11 however. Would you mind submitting a bu…

  6. NCrunch cannot build .NET Standard 2.0 projects

    [quote=Marcello;15826] Creating a path variable "MSBuildSDKsPath" with the value "C:\Program Files\dotnet\sdk\2.1.518\Sdks" did the trick. [/quote] Great to hear! [quote=Marcello;15826] Anyway, if I try uninstalling the Dotnet SDK-6.0.100 package, it does not work anymore. [/quote] Mos…

  7. NCrunch cannot build .NET Standard 2.0 projects

    Thanks for sharing these details. The error confirms that this is a platform install issue and is not specific to NCrunch. The installation of MSBuild on this machine is unable to find the correct install path of the DotNet targets. In theory, if you can solve the install issue and the projec…

  8. NCrunch cannot build .NET Standard 2.0 projects

    Thanks for confirming this. The next step is to try and see if we can build the project on your grid node without NCrunch involved. Please try the following steps: 1. Copy your test solution to the grid node to a temporary directory 2. Find the installed instance of msbuild.exe on your grid …

  9. NCrunch cannot build .NET Standard 2.0 projects

    [quote=Marcello;15819] Unfortunately, it did not help, the issue is still there. [/quote] Sorry, this was my mistake. I sent you the link to download the runtime of .NET 6.0, when actually it seems we needed the SDK. Try the one below instead: [url=https://dotnet.microsoft.com/download/dotne…

  10. NCrunch cannot build .NET Standard 2.0 projects

    Can you try downloading and installing the following version of the .NET SDK on the grid node, then restart the machine and let me know if this changes anything? [url=https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-6.0.0-windows-x64-installer]https://dotnet.microsoft.com/download/d…

  11. NCrunch cannot build .NET Standard 2.0 projects

    Do you know if this use case worked for you before the latest NCrunch version? (I'm trying to identify if this is a long standing issue or a recent regression).

  12. NCrunch cannot build .NET Standard 2.0 projects

    This is perfect, thanks! I'll get back to you soon.

  13. NCrunch cannot build .NET Standard 2.0 projects

    Could you please do the following for me? 1. Open the sample project you sent to me in VS2019 on your client machine 2. Set your 'Log Verbosity' to 'Detailed' in your NCrunch configuration 3. Set your 'Build Log Verbosity' to 'Detailed' in your NCrunch configuration 4. Reset the engine and let…

  14. NCrunch cannot build .NET Standard 2.0 projects

    Thanks - Just to be sure, can you confirm that you are receiving the exact same missing build target error on the grid node when you use both VS2019 and VS2022 on the client?

  15. NCrunch cannot build .NET Standard 2.0 projects

    [quote=Marcello;15806]VStudio Build Tools 2017 --> v15.9.27 VStudio Build Tools 2019 --> v16.7.5[/quote] Can you please confirm the version of Visual Studio you have installed on the client machine that you are using to access the grid node?

  16. NCrunch cannot build .NET Standard 2.0 projects

    You've mentioned that you have the MSBuild tools for VS2017 and VS2019 installed on the grid node. Can you confirm for me the version of Visual Studio being used on the client machine?

  17. NCrunch cannot build .NET Standard 2.0 projects

    Thanks for the video. This confirms that the first problem (locating the installation of Dotnet) on the machine appears to be resolved. I'm going to conduct some experiments on this side to try and identify why the build tools aren't being correctly resolved. At the moment I'm wondering if this m…

  18. NCrunch cannot build .NET Standard 2.0 projects

    Thanks. Can you confirm whether the DOTNET_MSBUILD_SDK_RESOLVER_CLI_DIR environment variable on the grid node has any effect on the issue? Note that you'll need to restart the grid node service before any environment variable changes take effect.

  19. NCrunch cannot build .NET Standard 2.0 projects

    Hi, I've tested your sample project and it compiles fine under NCrunch in all our test environments under both VS2019 and VS2022. Based on the stack trace you've provided, this issue is being caused by a configuration or platform installation issue in your environment. Can you confirm for m…

  20. NCrunch cannot build .NET Standard 2.0 projects

    Hi, thanks for posting. On machine 1, it looks like the Dotnet SDK is not correctly installed. Usually this is installed to 'C:\Program Files\dotnet', and there must be a reference to it in your system's PATH environment variable. Alternatively, you can set the DOTNET_MSBUILD_SDK_RESOLVER_CLI_D…