Forum member

lukesch

13 posts

Posts by lukesch

  1. 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?

  2. 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?

  3. 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…

  4. 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…

  5. 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 …

  6. 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 …

  7. 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…

  8. 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 …

  9. 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…

  10. 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…

  11. 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. 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…

  13. 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-…