xamarin-macios/tests/dotnet/README.md

36 строки
853 B
Markdown
Исходник Обычный вид История

# .net tests
## size-comparison
To install the latest `appcompare` tool do:
```bash
$ dotnet tool install --global appcompare
```
You can update it to the latest version by running:
```bash
$ dotnet tool update --global appcompare
```
The current directory might point to a different and incompatible dotnet
SDK, resulting in an error. However running the command from a different
location (outside the repo) should work.
### Easier Analysis
If you want to read/compare the IL inside the assemblies you need to disable IL stripping.
* Legacy (oldnet)
Add this option inside the `Release|iPhone` configuration of `size-comparison/MySingleView/oldnet/MySingleView.csproj`
```xml
<MtouchExtraArgs>--nostrip</MtouchExtraArgs>
```
* net6
Build with `/p:EnableAssemblyILStripping=false` set. The `MtouchExtraArgs` legacy option is also honored.