a7690ee03b | ||
---|---|---|
.. | ||
AppWithGenericLibraryReference | ||
AppWithResources | ||
AppWithXCAssets | ||
AutoDetectEntitlements | ||
BindingOldStyle | ||
BindingWithDefaultCompileInclude | ||
BundleStructure | ||
CatalystAppOptimizedForMacOS | ||
CentralPackageVersionsApp | ||
ExtensionConsumer | ||
ExtensionProject | ||
MyCatalystApp | ||
MyClassLibrary | ||
MyCocoaApp | ||
MyInterpretedApp | ||
MyPartialAppManifestApp | ||
MySatelliteAssembliesLibrary | ||
MySimpleApp | ||
MySimpleAppWithSatelliteReference | ||
MySingleView | ||
MyTVApp | ||
NativeDynamicLibraryReferencesApp | ||
NativeFileReferencesApp | ||
NativeFrameworkReferencesApp | ||
NativeXCFrameworkReferencesApp | ||
SimpleAppWithOldReferences | ||
UnitTests | ||
WidgetConsumer | ||
WidgetExtension | ||
size-comparison | ||
.gitignore | ||
Makefile | ||
README.md |
README.md
.net tests
size-comparison
To install the latest appcompare
tool do:
$ dotnet tool install --global appcompare
You can update it to the latest version by running:
$ 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
<MtouchExtraArgs>--nostrip</MtouchExtraArgs>
- net6
Build with /p:EnableAssemblyILStripping=false
set. The MtouchExtraArgs
legacy option is also honored.