Forum member
GurdipS
9 posts
Posts by GurdipS
-
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?
16 Dec 2021 09:37 UTC
-
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…
16 Dec 2021 00:38 UTC
-
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:…
16 Dec 2021 00:13 UTC
-
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
15 Dec 2021 23:51 UTC
-
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?
15 Dec 2021 23:42 UTC
-
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.
15 Dec 2021 23:30 UTC
-
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…
15 Dec 2021 23:18 UTC
-
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…
15 Dec 2021 14:43 UTC
-
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?
14 Dec 2021 23:17 UTC