project-system: dotnet cli created projects don't work in VS2017 15.3.3.
From @codefactorydevelopment on September 9, 2017 13:58
Steps to reproduce
Create 2 projects:
dotnet new webapi
(name: webapiProject)dotnet new xunit
(name: testProject)
After that, on testProject
project:
dotnet add reference webapiProject
Now, when opening testProject.csproj in VS2017 15.3.3.
Expected behavior
Expected to see testProject
loaded with resolved dependency to webapiProject
Actual behavior
When opening testProj.csproj in VS2017 15.3.3. the following Nuget NU1105 error occurs:
Severity Code Description Project File Line Suppression State Error NU1105 Unable to find project information for ‘webapiProject’. The project file may be invalid or missing targets required for restore.
Dependencies & build work as expected when done from dotnet cli
.
Environment data
dotnet --info
output:
.NET Command Line Tools (2.0.0)
Product Information: Version: 2.0.0 Commit SHA-1 hash: cdcd1928c9
Runtime Environment: OS Name: Windows OS Version: 10.0.14393 OS Platform: Windows RID: win10-x64 Base Path: C:\Program Files\dotnet\sdk\2.0.0\
Microsoft .NET Core Shared Framework Host
Version : 2.0.0 Build : e8b8861ac7faf042c87a5c2f9f2d04c98b69f28d
Copied from original issue: dotnet/cli#7623
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 2
- Comments: 15 (10 by maintainers)
@dasMulli
oh yes, looks like that. thanks for pointing that out!
so for now seems like adding to solution is simplest workaround.