If UWP project has reference to the static C++ library, which has reference to the C# Windows Runtime Component, when I try to build solution in Visual Studio to deploy the app I get an error
Your project is not referencing the "UAP,Version=v10.0" framework. Add a reference to "UAP,Version=v10.0" in the "frameworks" section of your project.json, and then re-run NuGet restore.
packages restore to C# components fine, but then I get the following error when trying to build & deploy project:
Your project is not referencing the "UAP,Version=v10.0" framework. Add a reference to "UAP,Version=v10.0" in the "frameworks" section of your project.json, and then re-run NuGet restore.
You may be able to unblock Visual Studio builds by unloading the project named NugetRestore. It'll fall back on Visual Studio's built-in package restorer, which might work better for you.
The issue is relevant for Visual Studio 15.6.1.
Project uses Nuget packages:
If UWP project has reference to the static C++ library, which has reference to the C# Windows Runtime Component, when I try to build solution in Visual Studio to deploy the app I get an error
Your project is not referencing the "UAP,Version=v10.0" framework. Add a reference to "UAP,Version=v10.0" in the "frameworks" section of your project.json, and then re-run NuGet restore.
Associated NuGet issue: 5929
Details:
This schema works for plain project converted from XCode:
But C# Windows Runtime Component asks for UAP v.10.0.14393 as target framework when restoring packages.
If I change schema to
packages restore to C# components fine, but then I get the following error when trying to build & deploy project:
Your project is not referencing the "UAP,Version=v10.0" framework. Add a reference to "UAP,Version=v10.0" in the "frameworks" section of your project.json, and then re-run NuGet restore.