Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore3 fails to resolve a P2P ref #3501

Closed
srivatsn opened this issue Sep 23, 2016 · 1 comment
Closed

Restore3 fails to resolve a P2P ref #3501

srivatsn opened this issue Sep 23, 2016 · 1 comment

Comments

@srivatsn
Copy link

srivatsn commented Sep 23, 2016

I am trying to run restore3 on a project like this:

  • There’a TestApp.csproj which is targeting NETCoreApp 1.0 and still uses project.json for dependencies (no TargetFrameworks property in the csproj).
  • This has a <ProjectReference Include=”..\TestLibrary\TestLibrary.csproj” />
  • The TestLibray targets netstandard1.5 (again project.json – no TargetFrameworks)

restore3 fails for this project saying it is unable to resolve the P2P for .NETCoreApp 1.0. This is the error from the log:

  Unable to resolve 'C:\sdk\bin\Debug\Tests\It_builds_the_project_successfully\AppWithLibrary\TestLibrary\TestLibrary.csproj' for '.NETCoreApp,Version=v1.0'.
@rrelyea rrelyea added this to the 3.6 Beta2 milestone Sep 23, 2016
emgarten added a commit to NuGet/NuGet.Client that referenced this issue Sep 23, 2016
Adding support for $(TargetFramework)
Updating logging to log errors when needed

Fixes NuGet/Home#3501
Fixes NuGet/Home#3503
@emgarten
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants