A SupportedOSPlatformVersion value with a newline:
<SupportedOSPlatformVersion>
13.0</SupportedOSPlatformVersion>
will make the build fail with:
ILLink : unknown error IL7000: An error occurred while executing the custom linker steps. Please review the build log for more information.
ILLINK : error MT2301: The linker step 'Setup' failed during processing: Invalid syntax for line 12 in /Users/rolf/test/dotnet/ios-plain/obj/Debug/net9.0-ios/iossimulator-arm64/custom-linker-options.txt: No equals sign.
/Users/rolf/packages/microsoft.net.illink.tasks/9.0.6/build/Microsoft.NET.ILLink.targets(96,5): error NETSDK1144: Optimizing assemblies for size failed.
which is not helpful at all.
We should show a better error here.
binlog:
msbuild.binlog.zip
A
SupportedOSPlatformVersionvalue with a newline:will make the build fail with:
which is not helpful at all.
We should show a better error here.
binlog:
msbuild.binlog.zip