Skip to content

Commit

Permalink
⬆️ Upgrade UWP sample to 5.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate McMaster committed Jul 12, 2016
1 parent 916bb7b commit 82301b1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 26 deletions.
27 changes: 3 additions & 24 deletions docs/platforms/uwp/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,32 +34,11 @@ Create a new project
Upgrade Microsoft.NETCore.UniversalWindowsPlatform
--------------------------------------------------

.. warning::

**Known Issues with UWP 5.2.0**

Using ``Microsoft.NETCore.UniversalWindowsPlatform`` 5.2.0 will cause UWP app store submissions to fail.
Until this is resolved, add the following to "dependencies" in project.json.

.. code-block:: javascript
"dependencies": {
"runtime.native.System.IO.Compression": "4.1.0",
"runtime.win7.System.Private.Uri": {
"version": "4.0.1",
"exclude": "runtime"
},
"System.Private.Uri": "4.0.0"
}
See .NET Core Issues `#9711 <https://github.com/dotnet/corefx/issues/9711>`_ and `#9743 <https://github.com/dotnet/corefx/issues/9743>`_ for more information.

Depending on your version of Visual Studio, the template may have generated your project with an old version of .NET Core for UWP. EF Core requires ``Microsoft.NETCore.UniversalWindowsPlatform`` version **5.2.0** or greater.
Depending on your version of Visual Studio, the template may have generated your project with an old version of .NET Core for UWP.
EF Core requires ``Microsoft.NETCore.UniversalWindowsPlatform`` version **5.2.1** or greater.

* :menuselection:`Tools --> NuGet Package Manager --> Package Manager Console`
* Run ``Install-Package Microsoft.NETCore.UniversalWindowsPlatform -Version 5.2.0``
* Run ``Update-Package Microsoft.NETCore.UniversalWindowsPlatform``

Install Entity Framework
------------------------
Expand Down
2 changes: 1 addition & 1 deletion samples/Platforms/UWP/UWP.SQLite/UWP.SQLite.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<AssemblyName>EFGetStarted.UWP</AssemblyName>
<DefaultLanguage>en-US</DefaultLanguage>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion>10.0.10240.0</TargetPlatformVersion>
<TargetPlatformVersion>10.0.10586.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.10240.0</TargetPlatformMinVersion>
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<FileAlignment>512</FileAlignment>
Expand Down
2 changes: 1 addition & 1 deletion samples/Platforms/UWP/UWP.SQLite/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"version": "1.0.0-preview2-final",
"type": "build"
},
"Microsoft.NETCore.UniversalWindowsPlatform": "5.2.0"
"Microsoft.NETCore.UniversalWindowsPlatform": "5.2.1"
},
"frameworks": {
"uap10.0": {}
Expand Down

0 comments on commit 82301b1

Please sign in to comment.