From 4c51523be8b32e5afd16bd9c1738490671303df9 Mon Sep 17 00:00:00 2001 From: Todor Totev Date: Thu, 23 Apr 2020 21:25:58 +0300 Subject: [PATCH] removed instructions about using nuget lock file --- README.md | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/README.md b/README.md index 25b1d3e..5e62cef 100644 --- a/README.md +++ b/README.md @@ -28,13 +28,6 @@ At the time of writing, there's an incompatibility between the current version o ```XML ``` - -Also, the project uses the [NuGet restore with a lock file](https://devblogs.microsoft.com/nuget/enable-repeatable-package-restores-using-a-lock-file/) feature to ensure that our version of the dependency takes precedence: - -```XML -true -``` - Therefore, to build the sample, you perform the following: 1. Open the solution file in Visual Studio. You may use `start .\AvaloniaCoreRTDemo.sln` from your terminal. @@ -42,7 +35,7 @@ Therefore, to build the sample, you perform the following: You need this step because it produces some files which you will need later. 1. Go back to your terminal. 1. Delete the existing Nuget version lock file (this step is not needed when you build the code for the first time): `del src\packages.lock.json` -1. Build the source code: `dotnet publish -r win-x64 -c release /p:RestoreLockedMode=true` +1. Build the source code: `dotnet publish -r win-x64 -c release` **Note**: Avalonia and CoreRT are huge. Downloading them might take some time. During this period, which happens on the first build, and when CoreRT releases a new version, it will look like nothing happens. Just be patient.