Forum member
lukesch
13 posts
Posts by lukesch
-
IpcConnectionClosedException unable to find Ben.Demystifier
While I investigate that, let me ask a different question. Is there a way for ncrunch to detect this is a netsdk/netcore style test project and automatically turn this 'Copy referenced assemblies to workspace' setting on?
22 Mar 2022 15:56 UTC
-
IpcConnectionClosedException unable to find Ben.Demystifier
It looks like Ben.Demystifier is used by [url=https://www.nuget.org/packages/Microsoft.VisualStudio.Services.InteractiveClient/]Microsoft.VisualStudio.Services.InteractiveClient[/url]. What can I do with this information?
21 Mar 2022 20:17 UTC
-
IpcConnectionClosedException unable to find Ben.Demystifier
I'm having trouble running netcore unit tests. The error complains about Ben.Demystifier on the ncrunch taskrunner. I've tried adding this as a reference in my test project with no luck. The problem disappears if I specify "Copy referenced assemblies to workspace." Can anything be done to avoid need…
21 Mar 2022 19:25 UTC
-
Netcore failed: An assembly specified in the application dependencies manifest was not found
I was having many problems getting ncrunch to work on a netcoreapp3.1 unit test project. I was receiving the error: [quote]An error occurred while analysing this project after it was built: NCrunch encountered an unexpected error occurred while building an environment to analyse an assembly: nCr…
18 Sep 2020 22:41 UTC
-
Unable to get Bond.Csharp to compile via NCrunch 2.16.0.13
I had the same issue. To fix it, turn on the most verbose logging for the build in ncrunch. If you look near where the error appears in those logs, you will see ncrunch say it can't find a certain file. In my case it was a something.Bond file. Go to the ncrunch settings for the project and you will …
27 Nov 2017 16:11 UTC
-
Project built system doesn’t seem to respect build-to-order?
PID 22968 was the task runner from before I changed the OutDir from an absolute path. It's surprising to me that the test runner would keep a handle on the dll after it had completed running the tests. I understand why it wouldn't want to kill the test runner process itself... but why not let go of …
13 Jan 2015 23:19 UTC
-
Project built system doesn’t seem to respect build-to-order?
I switched OutDir to a relative path and it no longer fails to build -- NCrunch appears to pick a new temp dir each time it builds. However, it seems that the taskrunner now accumulates handles to these test dlls. Is it possible ncrunch isn't properly disposing the handles? <OutDir Conditi…
13 Jan 2015 22:42 UTC
-
Project built system doesn’t seem to respect build-to-order?
I'm running into a very similar issue and cannot figure out the right way to fix it. When NCrunch boots, it builds and runs tests fine. As soon as I make a change, it fails to build saying "D:\Enlistments\Bothell\tmp\NCrunchBuild\ProcessWixObjTests\target\ProcessWixObj.tests.dll". Exceeded retry …
13 Jan 2015 22:31 UTC
-
InvalidProjectFileException - regex cannot be evaluated
I was able to get this working completely by making the regex changes above as well as fixing up the outputpath as you mentioned [code=xml] <PropertyGroup> <OutDir>$(TARGETDIR)\</OutDir> <OutputPath>$(TARGETDIR)\</OutputPath> <OutDir Condition="$(NCrunch) == '1'">$(MSBuildP…
15 May 2014 00:42 UTC
-
InvalidProjectFileException - regex cannot be evaluated
PropertyGroup condition was a good idea but it didn't work. I think you're right about the regex. I was able to get ncrunch to build by modifying it (see below). However I think ncrunch is now putting binaries into the same output dir as VS uses causing contention/locking issues. Is the goal to have…
12 May 2014 23:15 UTC
-
InvalidProjectFileException - regex cannot be evaluated
You were right. This regex is coming from the imported environment f:\CxCache\.MsBuild.Corext.awrN7H5j-hWFzJEfNTACZw\Environment.ex.props Can you make sense of what's happening here in the context of NCrunch? [code=xml] <PropertyGroup> <!-- Define required macros --> <InetrootRegex>…
12 May 2014 20:38 UTC
-
InvalidProjectFileException - regex cannot be evaluated
My build team may have customized some things in the project file -- we're still using msbuild under the covers. Perhaps it's something about environment variable resolution. I don't know if $(VARNAME) is standard or if it's causing regex to choke. This is my project file: [code=xml] <?xml versi…
10 May 2014 00:55 UTC
-
InvalidProjectFileException - regex cannot be evaluated
I'm having trouble getting my project to build. A regex is failing to be evaluated. Looks like some issue about not using the c drive? Any idea? NCrunch: If you are experiencing problems in getting this project to build, have a look at http://www.ncrunch.net/documentation/troubleshooting_project-…
10 May 2014 00:26 UTC