Your project does not reference the structure "UAP, Version = v10.0.10240"

I am using Visual Studio Community Edition 2017 and trying to create a UWP application.

I get the following error

Your project is not referencing the "UAP,Version=v10.0.10240" framework. Add a reference to "UAP,Version=v10.0.10240" in the "frameworks" section of your project.json, and then re-run NuGet restore.

+5
source share
7 answers

I had the same problem on my build machine. What is strange, everything works fine on my local machine.

I managed to fix this by going into the project properties for my UWP application and changing the version of Target to match the Min version.

, , , , Windows Server ( ) . , .

, , , , . . , , .

+9

, bin obj, .

+5

. , - .

, project.json, , Visual Studio.

, , .

: , Nuget " Nuget ", , .

+2

. Nuget Restore VSTS Build, (2. *). , , .

+1

, 2017 , MS project.json, . ( , !), , Visual Studio (VS2015 ) , . , !

0

, , :

1- :
1 - "10.0.10586" ( )
2 - / /nuget
3 - "10.0.10240"
4 - / /nuget

, , :)

:
, CLEANUP

0

, . UWP .

0

Source: https://habr.com/ru/post/1683751/


All Articles