Build/Test Issues

Build Issue - VS 2017 RC 4

Started by CountZero on 6,846 views

Hi,

I'm using the latest RC of VS 2017 (RC4+26206.0) and the latest version of Ncrunch (3.3.06).

The full error I'm getting is.

NCrunch: If you are experiencing problems in getting this project to build, have a look at http://www.ncrunch.net/documentation/troubleshooting_project-build-issues
..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.Sdk.targets (92, 5):
Cannot find project info for 'C:\Users\AdamS\AppData\Local\NCrunch\1188\3\ClassLibrary\ClassLibrary.csproj'. This can indicate a missing project reference.


After looking in the nCrunch directory (C:\Users\AdamS\AppData\Local\NCrunch\1188\3\) it is clear the error message is correct.

As while in my test project I have the following structure:

-> ClassLibrary
-> Tests

With tests in the 'Tests' project which reference a method in class library.

In the 'C:\Users\AdamS\AppData\Local\NCrunch\1188\3\' there is only a 'Tests' directory and one has not been created for 'ClassLibrary' as expected.

Can you advise?

Regards

Steve

Hi Steve,

Thanks for sharing this issue. Can you tell me more about the nature of these projects? Are these .NET Core or .NET Standard projects?
I got the same error and can reproduce it with empty new projects.

- Create a new .net standard 1.4 project
- create a .net core xunit test project
- In the xunit project we add a reference to the .net standard project

then i get the following error:



NCrunch: If you are experiencing problems in getting this project to build, have a look at http://www.ncrunch.net/documentation/troubleshooting_project-build-issues
..\..\..\..\..\..\..\vs2017\MSBuild\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.Sdk.targets (92, 5): Cannot find project info for 'C:\Users\BoasE\AppData\Local\NCrunch\50412\8\dev\BLS_UserApi\src\BoundContextes\Subscriptions\ClassLibrary1\ClassLibrary1\ClassLibrary1.csproj'. This can indicate a missing project reference.




I added the sample project here: https://github.com/Gentlehag/NCrunchErrorSample

Edited

Post a reply

Log in to reply.