Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Build Issue - VS 2017 RC 4
CountZero
#1 Posted : Thursday, February 16, 2017 2:40:38 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 2/16/2017(UTC)
Posts: 1
Location: United Kingdom

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/d...ng_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

Remco
#2 Posted : Thursday, February 16, 2017 7:11:47 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,145

Thanks: 960 times
Was thanked: 1290 time(s) in 1196 post(s)
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?
BoasE
#3 Posted : Monday, February 20, 2017 8:24:49 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 2/8/2017(UTC)
Posts: 5
Location: Germany

Was thanked: 1 time(s) in 1 post(s)
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:



Quote:
NCrunch: If you are experiencing problems in getting this project to build, have a look at http://www.ncrunch.net/d...ng_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
Remco
#4 Posted : Monday, February 20, 2017 11:13:05 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,145

Thanks: 960 times
Was thanked: 1290 time(s) in 1196 post(s)
Hi,

Thanks for sharing this issue.

Please note that NCrunch does not yet support netstandard or .NET core projects. This is currently a work in progress. For the latest information, please see https://ncrunch.uservoice.com/forums/245203-feature-requests/suggestions/8065623-support-net-core-net-standard-previously-known.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.043 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download