Guard MarshalByRefObject, [Serializable], and InitializeLifetimeService behind #if NETFRAMEWORK #8174
Build MacOS Release failed
Annotations
Check failure on line 46 in src/Adapter/MSTestAdapter.PlatformServices/MSTestSettings.cs
azure-pipelines / microsoft.testfx (Build MacOS Release)
src/Adapter/MSTestAdapter.PlatformServices/MSTestSettings.cs#L46
src/Adapter/MSTestAdapter.PlatformServices/MSTestSettings.cs(46,5): error IDE0032: (NETCORE_ENGINEERING_TELEMETRY=Build) Use auto property (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0032)
Check failure on line 41 in src/Adapter/MSTestAdapter.PlatformServices/MSTestSettings.cs
azure-pipelines / microsoft.testfx (Build MacOS Release)
src/Adapter/MSTestAdapter.PlatformServices/MSTestSettings.cs#L41
src/Adapter/MSTestAdapter.PlatformServices/MSTestSettings.cs(41,5): error IDE0032: (NETCORE_ENGINEERING_TELEMETRY=Build) Use auto property (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0032)
Check failure on line 46 in src/Adapter/MSTestAdapter.PlatformServices/MSTestSettings.cs
azure-pipelines / microsoft.testfx (Build MacOS Release)
src/Adapter/MSTestAdapter.PlatformServices/MSTestSettings.cs#L46
src/Adapter/MSTestAdapter.PlatformServices/MSTestSettings.cs(46,5): error IDE0032: (NETCORE_ENGINEERING_TELEMETRY=Build) Use auto property (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0032)
Check failure on line 41 in src/Adapter/MSTestAdapter.PlatformServices/MSTestSettings.cs
azure-pipelines / microsoft.testfx (Build MacOS Release)
src/Adapter/MSTestAdapter.PlatformServices/MSTestSettings.cs#L41
src/Adapter/MSTestAdapter.PlatformServices/MSTestSettings.cs(41,5): error IDE0032: (NETCORE_ENGINEERING_TELEMETRY=Build) Use auto property (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0032)
Check failure on line 9 in Build log
azure-pipelines / microsoft.testfx (Build MacOS Release)
Build log #L9
Publishing build artifacts failed with an error: Not found PathtoPublish: /Users/runner/work/1/s/artifacts/TestResults/Release