Forum member

Marcello

70 posts

Posts by Marcello

  1. NCrunch cannot build .NET Standard 2.0 projects

    Here we go! https://we.tl/t-ndYWjmQjAT 228_NCrunch.zip --> folder created by NCrunch (error) 228.zip --> folder after deleting bin and obj folders and after calling MsBuild /t:Restore and MsBuild (build succeded)

  2. NCrunch cannot build .NET Standard 2.0 projects

    Hi Remco, Thanks for your effort. I made some tests and it seems you're right about the mandatory of the[i] /t:Restore[/i] option. [url=https://www.screencast.com/t/e87HiziwJY0P]Here[/url] you can see a short video showing it. Is there a way to force this option in NCrunch configuration?

  3. NCrunch cannot build .NET Standard 2.0 projects

    Here we go! [url=https://we.tl/t-0297m9lg8l]log files[/url] Were you able to reproduce the issue there with a machine with only VS2019 build tools and SDK 6.0.100?

  4. NCrunch cannot build .NET Standard 2.0 projects

    Hi Remco, I already tried SDK 6.0.100 but it didn't help. Anyway, I just tried again and [url=https://we.tl/t-LYNFcrqKOQ]here[/url] is the log. You said you can't reproduce the issue in your machine. Do you mind trying in a machine where only SDK 6.0.100 and VS2019 build tools are installed, p…

  5. NCrunch cannot build .NET Standard 2.0 projects

    Hi Remco, Unfortunately, I have bad news. As we say here in Italy: [i]"Ho cantato vittoria troppo presto"[/i] (that means [i]"I spoke too early"[/i]). As I wrote, testing the sample project provided at the beginning of this post works fine, but I'm in trouble with a concrete project (more comp…

  6. NCrunch cannot build .NET Standard 2.0 projects

    Hi Remco, It seems that updating VS2019 Build Tool to 16.11.7 build has fixed the issue with NCrunch. BTW I tried to make the test running MsBuild via prompt and it gives an error instead. Anyway, just FYI, if you want to take a look at the details you can find them [url=https://we.tl/t-ZNc2lu…

  7. NCrunch cannot build .NET Standard 2.0 projects

    I tried to fix the error also on Machine 1 without success. I installed [i]dotnet-sdk-6.0.100-win-x64.exe[/i] and I already created the system variable, but it seems not working. As described [url=https://dotnet.microsoft.com/download/dotnet/2.1]here[/url], it should not be necessary to install …

  8. NCrunch cannot build .NET Standard 2.0 projects

    Hi Remco, Creating a path variable "MSBuildSDKsPath" with the value "C:\Program Files\dotnet\sdk\2.1.518\Sdks" did the trick. Anyway, if I try uninstalling the Dotnet SDK-6.0.100 package, it does not work anymore. Do you get the same with the machine you used to make your test there? I ask t…

  9. NCrunch cannot build .NET Standard 2.0 projects

    Hi Remco, By following the suggested procedure I get the below error: [code=csharp]"C:\Temp\ClassLibraryNETStandard\ClassLibraryNETStandard\ClassLibraryNETStandard.csproj" (default target) (1) -> C:\Temp\ClassLibraryNETStandard\ClassLibraryNETStandard\ClassLibraryNETStandard.csproj : error MSB…

  10. NCrunch cannot build .NET Standard 2.0 projects

    Nothing to do, the issue is still there: https://we.tl/t-vMES9dxGKz

  11. NCrunch cannot build .NET Standard 2.0 projects

    Hi Remco, Unfortunately, it did not help, the issue is still there. [url=https://we.tl/t-U8dAVWiRNm]Here[/url] you can download more details.

  12. NCrunch cannot build .NET Standard 2.0 projects

    Unfortunately, no, sorry.

  13. NCrunch cannot build .NET Standard 2.0 projects

    The log text is too much longer, so you can download it [url=https://we.tl/t-b46THwaptN]here[/url].

  14. NCrunch cannot build .NET Standard 2.0 projects

    Yes, I just re-checked and the message is the same VStudio 2019 --> [PID:8104 14:22:15.8682 ?-14] The target "Build" does not exist in the project. VStudio 2022 --> [PID:10092 14:21:16.1332 ?-9] The target "Build" does not exist in the project.

  15. NCrunch cannot build .NET Standard 2.0 projects

    I tried both with Microsoft Visual Studio Professional 2019 - Version 16.11.7 and Microsoft Visual Studio Professional 2022 (64-bit) - Version 17.1.0 Preview 1.1

  16. NCrunch cannot build .NET Standard 2.0 projects

    VStudio Build Tools 2017 --> v15.9.27 VStudio Build Tools 2019 --> v16.7.5

  17. NCrunch cannot build .NET Standard 2.0 projects

    Yes, I can confirm. Please have a look at this [url=https://www.screencast.com/t/QzBwnXHVqUd]short video[/url] that shows my attempt.

  18. NCrunch cannot build .NET Standard 2.0 projects

    Hi, Yes, I can confirm all you asked, as shown in [url=https://www.screencast.com/t/EmDAb367v2CH]this image[/url].

  19. NCrunch cannot build .NET Standard 2.0 projects

    Hi Remco, thanks for the quick reply. Machine 1. Yes, it's so. Machine 2. Seems so. There are both Visual Studio Build Tools 2017 and Visual Studio Build Tools 2019. Could you try with the sample project I linked in my previous post, please?

  20. NCrunch cannot build .NET Standard 2.0 projects

    Hello Support, When I reference a .NET Standard 2.0 project, NCrunch gives 2 different build errors it in 2 different machines: Machine 1. [code=csharp][PID:4076 16:17:40.3629 NodeProcessor-534] ERROR (Internal): System.NullReferenceException: Object reference not set to an instance of an obj…