Forum member

GurdipS

9 posts

Posts by GurdipS

  1. Teamcity integration Object reference not set to an instance of an object at nCrunch.Compiler.DotNet

    Hi, So I am on the right track. The package does exist. It's under system32/config, as TeamCity agent runs under local system. Is NCrunch expecting these packages in a certain path?

  2. Teamcity integration Object reference not set to an instance of an object at nCrunch.Compiler.DotNet

    Ok that is fixed. Now I get this issue: System.Exception: An exception was thrown in the remote environment: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> nCrunch.Common.UserException: Errors occurred while trying to load the project f…

  3. Teamcity integration Object reference not set to an instance of an object at nCrunch.Compiler.DotNet

    I added the two env vars: DOTNET_MSBUILD_SDK_RESOLVER_SDKS_DIR C:\Program Files\dotnet\sdk\5.0.404\Sdks DOTNET_MSBUILD_SDK_RESOLVER_SDKS_VER 5.0.404 Now I get this error: System.Exception: An exception was thrown in the remote environment: System.Reflection.TargetInvocationException:…

  4. Teamcity integration Object reference not set to an instance of an object at nCrunch.Compiler.DotNet

    hmm i checked env cars on the dev machine, they dont match the build server. I am missing c:\program files (x86)\dotnet

  5. Teamcity integration Object reference not set to an instance of an object at nCrunch.Compiler.DotNet

    I have DOTNET_HOME, which goes to C:\Program Files\dotnet. I ran dotnet --list-sdks. This brings back 5.0.404 and 5.0.401. Should/would this matter?

  6. Teamcity integration Object reference not set to an instance of an object at nCrunch.Compiler.DotNet

    Yeah, I have version 5.0.404 on the build server. And vs2019 installed, which provides msbuild.

  7. Teamcity integration Object reference not set to an instance of an object at nCrunch.Compiler.DotNet

    Hi, I want to use NCrunch with TeamCity, and followed the console tool guide. I've had various issues with MSBuild in trying to get this to work. However, my latest attempt is to have the build server config match my local dev machine, at least for .NET tooling. Object reference not set t…

  8. VSTest playlist

    ok that makes sense. I need my tests to execute in a set order, seeing an example, my test method can just invoke some methods in the test class in order. Which will work. I have one more question This may be for TeamCity (my build server), but how can I fail a build if code coverage is be…

  9. VSTest playlist

    Hi, I am new to NCrunch and like it. Hoever, is it possible to point the ncrunch console tool to a vstest playlist?