xamarin-macios/tests/dotnet
Rolf Bjarne Kvinge 42d561c623
[tests] Execute tests on older macOS bots with a timeout. (#14593)
This prevents a single test hang from breaking the entire test run.

Also bump timeout to 45 minutes.
2022-04-04 19:16:48 +02:00
..
AppWithGenericLibraryReference [dotnet] Only validate the RuntimeIdentifier if we need/use it. Fixes #13482. (#14339) 2022-03-09 08:22:52 +01:00
AppWithResources [tests] Simplify makefiles by using shared code. (#13990) 2022-01-31 21:11:08 +01:00
AppWithXCAssets [tests] Simplify makefiles by using shared code. (#13990) 2022-01-31 21:11:08 +01:00
BindingOldStyle [msbuild/dotnet] Set NoBindingEmbedding to 'true' by default in .NET. Fixes #12530. (#12694) 2022-02-16 10:30:41 +01:00
BindingWithDefaultCompileInclude [msbuild/dotnet] Set NoBindingEmbedding to 'true' by default in .NET. Fixes #12530. (#12694) 2022-02-16 10:30:41 +01:00
BundleStructure [dotnet] Don't include @(Compile) and @(EmbeddedResource) items in @(BundleResource) items by default. Fixes #14442. (#14571) 2022-03-31 08:17:53 +02:00
CentralPackageVersionsApp Set IsImplicitlyDefined="true" on the System.Runtime.InteropServices.NFloat.Internal PackageReference (#14532) 2022-03-30 10:13:39 +02:00
ExtensionConsumer [tests] Simplify makefiles by using shared code. (#13990) 2022-01-31 21:11:08 +01:00
ExtensionProject [tests] Long live Xamarin! (#14336) 2022-03-09 08:19:48 +01:00
MyCatalystApp [dotnet] Rename the DOTNET6 make variable to DOTNET. (#14441) 2022-03-21 15:56:57 +01:00
MyClassLibrary [dotnet] Add support for 'dotnet pack'. Fixes #12631. (#12900) 2021-10-04 07:43:55 +02:00
MyCocoaApp [dotnet] Rename the DOTNET6 make variable to DOTNET. (#14441) 2022-03-21 15:56:57 +01:00
MyInterpretedApp [tests] Simplify makefiles by using shared code. (#13990) 2022-01-31 21:11:08 +01:00
MyPartialAppManifestApp [tests] Simplify makefiles by using shared code. (#13990) 2022-01-31 21:11:08 +01:00
MySatelliteAssembliesLibrary [tests] Add ILStrip with satellite assemblies lib (#13973) 2022-02-02 09:01:32 -06:00
MySimpleApp [tests] Simplify makefiles by using shared code. (#13990) 2022-01-31 21:11:08 +01:00
MySimpleAppWithSatelliteReference [tests] Add ILStrip with satellite assemblies lib (#13973) 2022-02-02 09:01:32 -06:00
MySingleView [dotnet] Rename the DOTNET6 make variable to DOTNET. (#14441) 2022-03-21 15:56:57 +01:00
MyTVApp [dotnet] Rename the DOTNET6 make variable to DOTNET. (#14441) 2022-03-21 15:56:57 +01:00
NativeDynamicLibraryReferencesApp [tests] Simplify makefiles by using shared code. (#13990) 2022-01-31 21:11:08 +01:00
NativeFileReferencesApp [tests] Simplify makefiles by using shared code. (#13990) 2022-01-31 21:11:08 +01:00
NativeFrameworkReferencesApp [tests] Simplify makefiles by using shared code. (#13990) 2022-01-31 21:11:08 +01:00
NativeXCFrameworkReferencesApp [tests] Simplify makefiles by using shared code. (#13990) 2022-01-31 21:11:08 +01:00
SimpleAppWithOldReferences [tests] Simplify makefiles by using shared code. (#13990) 2022-01-31 21:11:08 +01:00
UnitTests [dotnet] Port the iOS tabbed app template to .NET. (#14592) 2022-04-04 10:05:08 +02:00
size-comparison [appcompare] Remove old/local copy of the tool and update comparison documentation (#14190) 2022-02-18 13:04:28 +01:00
.gitignore [tests][dotnet] A few helping touch to do size comparison (#11446) 2021-05-05 19:15:18 -04:00
Makefile [tests] Execute tests on older macOS bots with a timeout. (#14593) 2022-04-04 19:16:48 +02:00
README.md [appcompare] Remove old/local copy of the tool and update comparison documentation (#14190) 2022-02-18 13:04:28 +01:00

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.