Error Message : Microsoft.NET.ILLink.Tasks: Compilation error occurs in version 8.0.10. (For Mac VS2022, iOS, Xcode 16)
/Users/gwise/.nuget/packages/microsoft.net.illink.tasks/8.0.10/build/Microsoft.NET.ILLink.targets(5,5): Error MSB6006: "dotnet" exited with code 150. (MSB6006) (ExpiryDateScanner.iOS)
/Users/gwise/.nuget/packages/microsoft.net.illink.tasks/8.0.10/build/Microsoft.NET.ILLink.targets(5,5): Error NETSDK1144: Optimizing assemblies for size failed. Optimization can be disabled by setting the PublishTrimmed property to false. (NETSDK1144) (ExpiryDateScanner.iOS)
Reproduction Steps
iOS For Mac VS2022
Microsoft.NET.ILLink.Tasks : 8.0.10 -> Error
Microsoft.NET.ILLink.Tasks : 8.0.8 -> OK
VS 2022 For Mac, iOS, Xcode 16
Microsoft.NET.ILLink.Tasks: 8.0.8 works fine, but Microsoft.NET.ILLink.Tasks: 8.0.10 causes a compilation error.
Expected behavior
/Users/gwise/.nuget/packages/microsoft.net.illink.tasks/8.0.10/build/Microsoft.NET.ILLink.targets(5,5): Error MSB6006: "dotnet" exited with code 150. (MSB6006) (ExpiryDateScanner.iOS)
/Users/gwise/.nuget/packages/microsoft.net.illink.tasks/8.0.10/build/Microsoft.NET.ILLink.targets(5,5): Error NETSDK1144: Optimizing assemblies for size failed. Optimization can be disabled by setting the PublishTrimmed property to false. (NETSDK1144) (ExpiryDateScanner.iOS)
Actual behavior
/Users/gwise/.nuget/packages/microsoft.net.illink.tasks/8.0.10/build/Microsoft.NET.ILLink.targets(5,5): Error MSB6006: "dotnet" exited with code 150. (MSB6006) (ExpiryDateScanner.iOS)
/Users/gwise/.nuget/packages/microsoft.net.illink.tasks/8.0.10/build/Microsoft.NET.ILLink.targets(5,5): Error NETSDK1144: Optimizing assemblies for size failed. Optimization can be disabled by setting the PublishTrimmed property to false. (NETSDK1144) (ExpiryDateScanner.iOS)
Description
Error Message : Microsoft.NET.ILLink.Tasks: Compilation error occurs in version 8.0.10. (For Mac VS2022, iOS, Xcode 16)
/Users/gwise/.nuget/packages/microsoft.net.illink.tasks/8.0.10/build/Microsoft.NET.ILLink.targets(5,5): Error MSB6006: "dotnet" exited with code 150. (MSB6006) (ExpiryDateScanner.iOS) /Users/gwise/.nuget/packages/microsoft.net.illink.tasks/8.0.10/build/Microsoft.NET.ILLink.targets(5,5): Error NETSDK1144: Optimizing assemblies for size failed. Optimization can be disabled by setting the PublishTrimmed property to false. (NETSDK1144) (ExpiryDateScanner.iOS)
Reproduction Steps
iOS For Mac VS2022 Microsoft.NET.ILLink.Tasks : 8.0.10 -> Error Microsoft.NET.ILLink.Tasks : 8.0.8 -> OK
VS 2022 For Mac, iOS, Xcode 16 Microsoft.NET.ILLink.Tasks: 8.0.8 works fine, but Microsoft.NET.ILLink.Tasks: 8.0.10 causes a compilation error.
Expected behavior
/Users/gwise/.nuget/packages/microsoft.net.illink.tasks/8.0.10/build/Microsoft.NET.ILLink.targets(5,5): Error MSB6006: "dotnet" exited with code 150. (MSB6006) (ExpiryDateScanner.iOS) /Users/gwise/.nuget/packages/microsoft.net.illink.tasks/8.0.10/build/Microsoft.NET.ILLink.targets(5,5): Error NETSDK1144: Optimizing assemblies for size failed. Optimization can be disabled by setting the PublishTrimmed property to false. (NETSDK1144) (ExpiryDateScanner.iOS)
Actual behavior
/Users/gwise/.nuget/packages/microsoft.net.illink.tasks/8.0.10/build/Microsoft.NET.ILLink.targets(5,5): Error MSB6006: "dotnet" exited with code 150. (MSB6006) (ExpiryDateScanner.iOS) /Users/gwise/.nuget/packages/microsoft.net.illink.tasks/8.0.10/build/Microsoft.NET.ILLink.targets(5,5): Error NETSDK1144: Optimizing assemblies for size failed. Optimization can be disabled by setting the PublishTrimmed property to false. (NETSDK1144) (ExpiryDateScanner.iOS)
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response