dotnet / dotnet/project-system

Cannot add P2P ref from UWP to a multi-targeted net45/netstandard1.0 class lib

Open
#2,777 7 comments 0 reactions 1 assignee Claimed by @davkean View on GitHub
Feature-Multi-Targeting Triage-Approved
Dominant language
C#
Stars
1k
Forks
415
PR merge metrics
No merged PRs in 30d

Description

With VS 15.4p1, I'm unable to add a p2p ref from a UWP app to a class library that has both net45 and netstandard1.0 outputs. I have not yet tested just netstandard1.0.

![f](https://user-images.githubusercontent.com/1427284/29949086-636fa242-8e80-11e7-92f1-cafe2d3f6f19.jpg)

If I manually add the `ProjectReference`, I get this warning. Despite the warning, it compiles just fine.

Severity | Code | Description | Project | File | Line | Suppression State
-- | -- | -- | -- | -- | -- | --
Warning |   | Unable to add a reference to project 'System.Interactive'. | System.Interactive.Tests.Uwp.DeviceRunner |   |   |  

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.