removed unneeded instructions
This commit is contained in:
parent
7a8dd755cc
commit
de3e416ca1
@ -46,16 +46,11 @@ You need this step because it produces some files which you will need later.
|
|||||||
|
|
||||||
**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.
|
||||||
|
|
||||||
We are almost ready - just one more step! CoreRT creates a single executable containing all your *managed* code. However, Avalonia depends on a few unmanaged DLLs. Let's supply them! To do this:
|
We are ready - In your terminal, navigate to `src\bin\Release\net5.0\win-x64\publish`, and start AvaloniaCoreRTDemo.exe - it should work!
|
||||||
|
|
||||||
1. In your terminal open Explorer - invoke the command `start .`
|
|
||||||
1. Navigate to `src\bin\x64\Release\net5.0` and copy the entire `runtimes` directory. This directory has been created by the build you performed earlier.
|
|
||||||
1. Navigate to `src\bin\Release\net5.0\win-x64\publish` and paste it.
|
|
||||||
1. Double-click AvaloniaCoreRTDemo.exe - it should start!
|
|
||||||
|
|
||||||
## Further development
|
## Further development
|
||||||
|
|
||||||
Feel free to use this sample as a base for your projects.
|
Feel free to use this sample as a base for your projects.
|
||||||
|
|
||||||
When developing, keep in mind that Avalonia uses Reflection extensively. CoreRT, being an AOT compiler, needs your help to get reflection right. Refer to `rd.xml` file in the solution. In it, you describe all assemblies and types which your app would potentially reflect over. For more information, see [Reflection in AOT mode](https://github.com/dotnet/corert/blob/master/Documentation/using-corert/reflection-in-aot-mode.md)
|
When developing, keep in mind that Avalonia uses Reflection extensively. CoreRT, being an AOT compiler, needs your help to get reflection right. Refer to `rd.xml` file in the solution. In it, you describe all assemblies and types which your app would potentially reflect over. For more information, see [Reflection in AOT mode](https://github.com/dotnet/corert/blob/master/Documentation/using-corert/reflection-in-aot-mode.md)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user