xamarin-macios/tests/dotnet
Rolf Bjarne Kvinge 2aa21751a6
[dotnet] Show an error if an app developer tries to publish a simulator architecture. (#13462)
* [dotnet] Show an error if an app developer tries to publish a simulator architecture.

* We can't publish a simulator build, so show an error in that case.
* We can't change the default runtime identifier when publishing (to a
  publishable runtime identifier), because by the time we know we're
  publishing, it's too late to change the runtime identifier. This means that
  it'll be required for app developers to specify a runtime identifier when
  publishing to a mobile platform, since the current default runtime
  identifier is for a simulator build.

Partial fix for https://github.com/xamarin/xamarin-macios/issues/12997.

* Fix typo and improve naming.

* [dotnet] Don't use '_UsingDefaultRuntimeIdentifier', it's already used elsewhere in .NET
2021-11-29 23:13:48 +01:00
..
AppWithResources [msbuild/dotnet] Compile project-level assets in the outer build for multi-rid builds. Fixes #12410. (#12847) 2021-09-30 08:25:10 +02:00
BindingWithDefaultCompileInclude [dotnet] Enable default compile items for binding projects. Fixes #12532. (#12758) 2021-09-20 13:41:20 +02:00
ExtensionConsumer [net6][msbuild] Set SelfContained for AppExtensions sooner to fix publishing (#12703) 2021-09-20 09:40:41 -05:00
ExtensionProject [tests] Bump our generic min macOS version to 10.14 for .NET tests. (#12938) 2021-10-07 09:09:46 +02:00
MyCatalystApp [dotnet] Support SupportedOSPlatformVersion. Fixes #12336. (#12638) 2021-09-08 09:20:05 +02:00
MyClassLibrary [dotnet] Add support for 'dotnet pack'. Fixes #12631. (#12900) 2021-10-04 07:43:55 +02:00
MyCocoaApp [dotnet] Support SupportedOSPlatformVersion. Fixes #12336. (#12638) 2021-09-08 09:20:05 +02:00
MyInterpretedApp [msbuild] Don't require an Info.plist for .NET builds. (#12661) 2021-09-09 09:08:04 +02:00
MyPartialAppManifestApp [msbuild] Don't require an Info.plist for .NET builds. (#12661) 2021-09-09 09:08:04 +02:00
MySimpleApp [msbuild] Don't require an Info.plist for .NET builds. (#12661) 2021-09-09 09:08:04 +02:00
MySingleView [dotnet] Support SupportedOSPlatformVersion. Fixes #12336. (#12638) 2021-09-08 09:20:05 +02:00
MyTVApp [dotnet] Support SupportedOSPlatformVersion. Fixes #12336. (#12638) 2021-09-08 09:20:05 +02:00
MyXamarinFormsApp [dotnet] Support SupportedOSPlatformVersion. Fixes #12336. (#12638) 2021-09-08 09:20:05 +02:00
NativeDynamicLibraryReferencesApp [msbuild] Don't require an Info.plist for .NET builds. (#12661) 2021-09-09 09:08:04 +02:00
NativeFileReferencesApp [msbuild] Don't require an Info.plist for .NET builds. (#12661) 2021-09-09 09:08:04 +02:00
NativeFrameworkReferencesApp [msbuild] Don't require an Info.plist for .NET builds. (#12661) 2021-09-09 09:08:04 +02:00
NativeXCFrameworkReferencesApp [msbuild] Don't require an Info.plist for .NET builds. (#12661) 2021-09-09 09:08:04 +02:00
SimpleAppWithOldReferences [msbuild] Don't require an Info.plist for .NET builds. (#12661) 2021-09-09 09:08:04 +02:00
UnitTests [dotnet] Show an error if an app developer tries to publish a simulator architecture. (#13462) 2021-11-29 23:13:48 +01:00
size-comparison/MySingleView [dotnet] Support SupportedOSPlatformVersion. Fixes #12336. (#12638) 2021-09-08 09:20:05 +02:00
.gitignore [tests][dotnet] A few helping touch to do size comparison (#11446) 2021-05-05 19:15:18 -04:00
Makefile Submodule MonoTouch.Dialog. (#13058) 2021-10-26 08:18:34 +02:00
README.md [msbuild] Add ILStrip'ing for net6 applications. Fixes #11445. (#12563) 2021-10-05 09:43:22 -05:00

README.md

.net tests

size-comparison

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.