[TestOnly] Enable runtime async in Libraries partition + disable #122955
Build osx-x64 release Runtime_Release failed
Annotations
azure-pipelines / dotnet-linker-tests (Build osx-x64 release Runtime_Release)
artifacts/bin/trimmingTests/projects/System.ComponentModel.TypeConverter.TrimmingTests/ComObjectTypeTest/osx-x64/ComObjectTypeTest.cs#L13
artifacts/bin/trimmingTests/projects/System.ComponentModel.TypeConverter.TrimmingTests/ComObjectTypeTest/osx-x64/ComObjectTypeTest.cs(13,16): error CA2252: (NETCORE_ENGINEERING_TELEMETRY=Build) 'Main' returns the preview type 'Int32' and therefore needs to opt into preview features. See https://aka.ms/dotnet-warnings/preview-features for more information. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2252)
azure-pipelines / dotnet-linker-tests (Build osx-x64 release Runtime_Release)
artifacts/bin/trimmingTests/projects/System.ComponentModel.TypeConverter.TrimmingTests/ComObjectTypeTest/osx-x64/ComObjectTypeTest.cs#L11
artifacts/bin/trimmingTests/projects/System.ComponentModel.TypeConverter.TrimmingTests/ComObjectTypeTest/osx-x64/ComObjectTypeTest.cs(11,7): error CA2252: (NETCORE_ENGINEERING_TELEMETRY=Build) 'Program' derives from preview class 'Object' and therefore needs to opt into preview features. See https://aka.ms/dotnet-warnings/preview-features for more information. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2252)
azure-pipelines / dotnet-linker-tests (Build osx-x64 release Runtime_Release)
artifacts/bin/trimmingTests/projects/System.ComponentModel.TypeConverter.TrimmingTests/ComObjectTypeTest/osx-x64/ComObjectTypeTest.cs#L13
artifacts/bin/trimmingTests/projects/System.ComponentModel.TypeConverter.TrimmingTests/ComObjectTypeTest/osx-x64/ComObjectTypeTest.cs(13,30): error CA2252: (NETCORE_ENGINEERING_TELEMETRY=Build) 'Main' takes in a preview parameter of type 'String' and needs to opt into preview features. See https://aka.ms/dotnet-warnings/preview-features for more information. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2252)
azure-pipelines / dotnet-linker-tests (Build osx-x64 release Runtime_Release)
artifacts/bin/trimmingTests/projects/System.ComponentModel.TypeConverter.TrimmingTests/ComObjectTypeTest/osx-x64/obj/Release/net11.0/osx-x64/.NETCoreApp,Version=v11.0.AssemblyAttributes.cs#L4
artifacts/bin/trimmingTests/projects/System.ComponentModel.TypeConverter.TrimmingTests/ComObjectTypeTest/osx-x64/obj/Release/net11.0/osx-x64/.NETCoreApp,Version=v11.0.AssemblyAttributes.cs(4,12): error CA2252: (NETCORE_ENGINEERING_TELEMETRY=Build) Using 'TargetFrameworkAttribute' requires opting into preview features. See https://aka.ms/dotnet-warnings/preview-features for more information. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2252)
azure-pipelines / dotnet-linker-tests (Build osx-x64 release Runtime_Release)
artifacts/bin/trimmingTests/projects/System.ComponentModel.TypeConverter.TrimmingTests/ComObjectTypeTest/osx-x64/obj/Release/net11.0/osx-x64/.NETCoreApp,Version=v11.0.AssemblyAttributes.cs#L4
artifacts/bin/trimmingTests/projects/System.ComponentModel.TypeConverter.TrimmingTests/ComObjectTypeTest/osx-x64/obj/Release/net11.0/osx-x64/.NETCoreApp,Version=v11.0.AssemblyAttributes.cs(4,100): error CA2252: (NETCORE_ENGINEERING_TELEMETRY=Build) Using 'FrameworkDisplayName' requires opting into preview features. See https://aka.ms/dotnet-warnings/preview-features for more information. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2252)