removed instructions about using nuget lock file
This commit is contained in:
parent
de3e416ca1
commit
4c51523be8
@ -28,13 +28,6 @@ At the time of writing, there's an incompatibility between the current version o
|
|||||||
```XML
|
```XML
|
||||||
<PackageReference Include="System.Reactive" Version="4.4.1" />
|
<PackageReference Include="System.Reactive" Version="4.4.1" />
|
||||||
```
|
```
|
||||||
|
|
||||||
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
|
|
||||||
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
|
|
||||||
```
|
|
||||||
|
|
||||||
Therefore, to build the sample, you perform the following:
|
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.
|
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.
|
You need this step because it produces some files which you will need later.
|
||||||
1. Go back to your terminal.
|
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. 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.
|
**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.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user