I have a PCL Utility2 that references another PCL Utility. Both target the same profile (profile 78 - .NET 4.5, Windows Phone 8, and .NET for Windows Store apps). When Utility project uses the WebRequest type the Utility2 project is unable to reference it as Utility fails to build. Note that Utility builds fine on its own, it's just when the project is being referenced by another PCL that the build fails.2>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3253: The currently targeted framework ".NETPortable,Version=v4.5,Profile=Profile78" does not include "System.Net.Requests, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which the referenced assembly "C:\Temp\Utility\Utility\Utility\bin\Debug\Utility.dll" depends on. This caused the referenced assembly to not resolve. To fix this, either (1) change the targeted framework for this project, or (2) remove the referenced assembly from the project.Additionally using the Cookie type generates another similar failure 2>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3253: The currently targeted framework ".NETPortable,Version=v4.5,Profile=Profile78" does not include "System.Net.Primitives, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which the referenced assembly "C:\Temp\Utility\Utility\Utility\bin\Debug\Utility.dll" depends on. This caused the referenced assembly to not resolve. To fix this, either (1) change the targeted framework for this project, or (2) remove the referenced assembly from the project.
Visual Studio/Team Foundation Server/.NET Framework Tooling Version
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results
Please wait...