16be59f7d6
If a project tried to use a .NET 6 project (say TargetFramework=net6.0-ios), then we used to show these rather unhelpful errors: error NETSDK1147: To build this project, the following workloads must be installed: wasm-tools-net6 error NETSDK1147: To install these workloads, run the following command: dotnet workload restore The underlying problem is that we don't support .NET 6 anymore, so with this fix we now show: error NETSDK1202: The workload 'net6.0-ios' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/maui-support-policy for more information about the support policy. which is much more helpful. References: * https://github.com/dotnet/sdk/pull/32426 * https://github.com/xamarin/xamarin-android/pull/8047 Fixes https://github.com/xamarin/xamarin-macios/issues/18790. |
||
---|---|---|
.. | ||
AdditionalAppExtensionConsumer | ||
AppWithGenericLibraryReference | ||
AppWithNativeDynamicLibrariesInPackageReference | ||
AppWithResources | ||
AppWithWinExeOutputType | ||
AppWithXCAssets | ||
AppWithXCFrameworkWithStaticLibraryInPackageReference | ||
AutoDetectEntitlements | ||
BindingOldStyle | ||
BindingWithDefaultCompileInclude | ||
BindingWithUncompressedResourceBundle | ||
BundleStructure | ||
CatalystAppOptimizedForMacOS | ||
CentralPackageVersionsApp | ||
CustomizedCodeSigning | ||
Entitlements | ||
ExtensionConsumer | ||
ExtensionConsumerWithFrameworks | ||
ExtensionProject | ||
ExtensionProjectWithFrameworks | ||
LibraryReferencingBindingLibrary | ||
MultiTargetingLibrary | ||
MyCatalystApp | ||
MyClassLibrary | ||
MyClassRedirectApp | ||
MyCocoaApp | ||
MyInterpretedApp | ||
MyPartialAppManifestApp | ||
MyRegistrarApp | ||
MySatelliteAssembliesLibrary | ||
MySimpleApp | ||
MySimpleAppWithSatelliteReference | ||
MySingleView | ||
MyTVApp | ||
NativeDynamicLibraryReferencesApp | ||
NativeFileReferencesApp | ||
NativeFrameworkReferencesApp | ||
NativeXCFrameworkReferencesApp | ||
Net6_0SimpleApp | ||
Net7_0SimpleApp | ||
RebuildTestAppWithLibraryReference | ||
SimpleAppWithOldReferences | ||
UnitTests | ||
WidgetConsumer | ||
WidgetExtension | ||
Windows | ||
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.