dotnet / roslyn

The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/
MIT License
19.06k stars 4.04k forks source link

VS2019 and VS2022 Roslyn / SDK incompatible #59156

Closed yangyud-cn closed 2 years ago

yangyud-cn commented 2 years ago

Version Used: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Roslyn\csc.exe" Microsoft (R) Visual C# Compiler version 3.11.0-4.21602.3 (fc14a135)

Steps to Reproduce:

  1. Install VS2022 17.0.5 then install VS2019 16.11.9
  2. Build a VS2019 project targeting .net 472 with code analysis enabled

Expected Behavior: Build pass

Actual Behavior: Build failed with CSC : error CS8032: An instance of analyzer Microsoft.CodeAnalysis.MakeFieldReadonly.MakeFieldReadonlyDiagnosticAnalyzer cannot be created from C:\Program Files\dotnet\sdk\6.0.101\Sdks\Microsoft.NET.Sdk\codestyle\cs\Microsoft.CodeAnalysis.CodeStyle.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified..

The failed command line is below. Looks like it is using the sdk 6.0 installed by VS2022. But failed to look up the dependency.

C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Roslyn\csc.exe /noconfig /unsafe- /checked- /nowarn:CA1014,1701,1702 /fullpaths /nostdlib+ /platform:x64 /errorreport:prompt /warn:6 /doc:obj\x64\Debug\net472\Microsoft.HDInsight.Common.xml /define:TRACE;DEBUG;NETFRAMEWORK;NET472;NET20_OR_GREATER;NET30_OR_GREATER;NET35_OR_GREATER;NET40_OR_GREATER;NET45_OR_GREATER;NET451_OR_GREATER;NET452_OR_GREATER;NET46_OR_GREATER;NET461_OR_GREATER;NET462_OR_GREATER;NET47_OR_GREATER;NET471_OR_GREATER;NET472_OR_GREATER /highentropyva+ /reference:C:\Users\yuyang.nuget\packages\autofac\5.2.0\lib\net461\Autofac.dll /reference:C:\Users\yuyang.nuget\packages\azure.core\1.13.0\lib\net461\Azure.Core.dll /reference:C:\Users\yuyang.nuget\packages\azure.identity\1.3.0\lib\netstandard2.0\Azure.Identity.dll /reference:C:\Users\yuyang.nuget\packages\azure.security.keyvault.secrets\4.1.1\lib\netstandard2.0\Azure.Security.KeyVault.Secrets.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.aspnetcore.hosting.abstractions\2.1.0\lib\netstandard2.0\Microsoft.AspNetCore.Hosting.Abstractions.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.aspnetcore.hosting\1.0.0\lib\net451\Microsoft.AspNetCore.Hosting.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.aspnetcore.hosting.server.abstractions\2.1.0\lib\netstandard2.0\Microsoft.AspNetCore.Hosting.Server.Abstractions.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.aspnetcore.http.abstractions\2.1.0\lib\netstandard2.0\Microsoft.AspNetCore.Http.Abstractions.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.aspnetcore.http\2.1.0\lib\netstandard2.0\Microsoft.AspNetCore.Http.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.aspnetcore.http.extensions\1.0.0\lib\net451\Microsoft.AspNetCore.Http.Extensions.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.aspnetcore.http.features\2.1.0\lib\netstandard2.0\Microsoft.AspNetCore.Http.Features.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.aspnetcore.routing.abstractions\2.1.0\lib\netstandard2.0\Microsoft.AspNetCore.Routing.Abstractions.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.aspnetcore.server.kestrel\1.0.0\lib\net451\Microsoft.AspNetCore.Server.Kestrel.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.aspnetcore.webutilities\2.1.0\lib\netstandard2.0\Microsoft.AspNetCore.WebUtilities.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.common.configuration\2.48.0\lib\net472\Microsoft.Azure.Common.Configuration.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.common.configuration\2.48.0\lib\net472\Microsoft.Azure.Common.Utilities.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.keyvault.core\1.0.0\lib\net40\Microsoft.Azure.KeyVault.Core.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.keyvault\3.0.5\lib\net461\Microsoft.Azure.KeyVault.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.keyvault.webkey\3.0.5\lib\net461\Microsoft.Azure.KeyVault.WebKey.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.management.appservice.fluent\1.37.1\lib\net452\Microsoft.Azure.Management.AppService.Fluent.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.management.batchai.fluent\1.37.1\lib\net452\Microsoft.Azure.Management.BatchAI.Fluent.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.management.cdn.fluent\1.37.1\lib\net452\Microsoft.Azure.Management.Cdn.Fluent.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.management.compute.fluent\1.37.1\lib\net452\Microsoft.Azure.Management.Compute.Fluent.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.management.containerinstance.fluent\1.37.1\lib\net452\Microsoft.Azure.Management.ContainerInstance.Fluent.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.management.containerregistry.fluent\1.37.1\lib\net452\Microsoft.Azure.Management.ContainerRegistry.Fluent.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.management.containerservice.fluent\1.37.1\lib\net452\Microsoft.Azure.Management.ContainerService.Fluent.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.management.cosmosdb.fluent\1.37.1\lib\net452\Microsoft.Azure.Management.CosmosDB.Fluent.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.management.dns.fluent\1.37.1\lib\net452\Microsoft.Azure.Management.Dns.Fluent.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.management.eventhub.fluent\1.37.1\lib\net452\Microsoft.Azure.Management.EventHub.Fluent.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.management.fluent\1.37.1\lib\net452\Microsoft.Azure.Management.Fluent.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.management.graph.rbac.fluent\1.37.1\lib\net452\Microsoft.Azure.Management.Graph.RBAC.Fluent.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.management.keyvault.fluent\1.37.1\lib\net452\Microsoft.Azure.Management.KeyVault.Fluent.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.management.locks.fluent\1.37.1\lib\net452\Microsoft.Azure.Management.Locks.Fluent.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.management.monitor.fluent\1.37.1\lib\net452\Microsoft.Azure.Management.Monitor.Fluent.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.management.msi.fluent\1.37.1\lib\net452\Microsoft.Azure.Management.Msi.Fluent.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.management.network.fluent\1.37.1\lib\net452\Microsoft.Azure.Management.Network.Fluent.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.management.privatedns.fluent\1.37.1\lib\net452\Microsoft.Azure.Management.PrivateDns.Fluent.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.management.redis.fluent\1.37.1\lib\net452\Microsoft.Azure.Management.Redis.Fluent.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.management.resourcemanager.fluent\1.37.1\lib\net461\Microsoft.Azure.Management.ResourceManager.Fluent.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.management.search.fluent\1.37.1\lib\net452\Microsoft.Azure.Management.Search.Fluent.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.management.servicebus.fluent\1.37.1\lib\net452\Microsoft.Azure.Management.ServiceBus.Fluent.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.management.sql.fluent\1.37.1\lib\net452\Microsoft.Azure.Management.Sql.Fluent.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.management.storage.fluent\1.37.1\lib\net452\Microsoft.Azure.Management.Storage.Fluent.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.azure.management.trafficmanager.fluent\1.37.1\lib\net452\Microsoft.Azure.Management.TrafficManager.Fluent.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.bcl.asyncinterfaces\1.1.0\ref\net461\Microsoft.Bcl.AsyncInterfaces.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.cloud.instrumentationframework.metrics\3.2.3.1\lib\net46\Microsoft.Cloud.InstrumentationFramework.Metrics.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Microsoft.CSharp.dll" /reference:C:\Users\yuyang.nuget\packages\microsoft.data.sqlclient\3.0.0\ref\net461\Microsoft.Data.SqlClient.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.extensions.configuration.abstractions\5.0.0\lib\net461\Microsoft.Extensions.Configuration.Abstractions.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.extensions.configuration.binder\2.1.0\lib\netstandard2.0\Microsoft.Extensions.Configuration.Binder.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.extensions.configuration\5.0.0\lib\net461\Microsoft.Extensions.Configuration.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.extensions.configuration.environmentvariables\1.0.0\lib\net451\Microsoft.Extensions.Configuration.EnvironmentVariables.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.extensions.dependencyinjection.abstractions\2.1.0\lib\netstandard2.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.extensions.dependencyinjection\1.0.0\lib\netstandard1.1\Microsoft.Extensions.DependencyInjection.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.extensions.fileproviders.abstractions\5.0.0\lib\net461\Microsoft.Extensions.FileProviders.Abstractions.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.extensions.fileproviders.embedded\5.0.0\lib\net461\Microsoft.Extensions.FileProviders.Embedded.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.extensions.fileproviders.physical\1.0.0\lib\net451\Microsoft.Extensions.FileProviders.Physical.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.extensions.filesystemglobbing\1.0.0\lib\net451\Microsoft.Extensions.FileSystemGlobbing.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.extensions.hosting.abstractions\2.1.0\lib\netstandard2.0\Microsoft.Extensions.Hosting.Abstractions.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.extensions.logging.abstractions\5.0.0\lib\net461\Microsoft.Extensions.Logging.Abstractions.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.extensions.logging\2.1.0\lib\netstandard2.0\Microsoft.Extensions.Logging.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.extensions.objectpool\2.1.0\lib\netstandard2.0\Microsoft.Extensions.ObjectPool.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.extensions.options\2.1.0\lib\netstandard2.0\Microsoft.Extensions.Options.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.extensions.platformabstractions\1.0.0\lib\net451\Microsoft.Extensions.PlatformAbstractions.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.extensions.primitives\5.0.0\lib\net461\Microsoft.Extensions.Primitives.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.graph.core\1.25.1\lib\net45\Microsoft.Graph.Core.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.graph\3.35.0\lib\net461\Microsoft.Graph.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.identity.client\4.22.0\ref\net461\Microsoft.Identity.Client.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.identity.client.extensions.msal\2.16.5\lib\net45\Microsoft.Identity.Client.Extensions.Msal.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.identitymodel.clients.activedirectory\4.3.0\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.identitymodel.jsonwebtokens\6.8.0\lib\net461\Microsoft.IdentityModel.JsonWebTokens.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.identitymodel.logging\6.8.0\lib\net461\Microsoft.IdentityModel.Logging.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.identitymodel.protocols\6.8.0\lib\net461\Microsoft.IdentityModel.Protocols.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.identitymodel.protocols.openidconnect\6.8.0\lib\net461\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.identitymodel.tokens\6.8.0\lib\net461\Microsoft.IdentityModel.Tokens.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.net.http.headers\2.1.0\lib\netstandard2.0\Microsoft.Net.Http.Headers.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.rest.clientruntime.azure.authentication\2.4.1\lib\net461\Microsoft.Rest.ClientRuntime.Azure.Authentication.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.rest.clientruntime.azure\3.3.19\lib\net461\Microsoft.Rest.ClientRuntime.Azure.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.rest.clientruntime\2.3.20\lib\net461\Microsoft.Rest.ClientRuntime.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.servicefabric.aspnetcore.abstractions\4.2.477\lib\net472\Microsoft.ServiceFabric.AspNetCore.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.servicefabric.aspnetcore.kestrel\4.2.477\lib\net472\Microsoft.ServiceFabric.AspNetCore.Kestrel.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.servicefabric.data\4.2.477\lib\net472\Microsoft.ServiceFabric.Data.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.servicefabric.data.extensions\4.2.477\lib\net472\Microsoft.ServiceFabric.Data.Extensions.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.servicefabric.data.interfaces\4.2.477\lib\net472\Microsoft.ServiceFabric.Data.Interfaces.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.servicefabric.diagnostics.internal\4.2.477\lib\net472\Microsoft.ServiceFabric.Diagnostics.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.servicefabric\7.2.477\lib\net472\Microsoft.ServiceFabric.Internal.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.servicefabric\7.2.477\lib\net472\Microsoft.ServiceFabric.Internal.Strings.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.servicefabric\7.2.477\lib\net472\Microsoft.ServiceFabric.Preview.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.servicefabric.data.extensions\4.2.477\lib\net472\Microsoft.ServiceFabric.ReliableCollection.Interop.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.servicefabric.services\4.2.477\lib\net472\Microsoft.ServiceFabric.Services.dll /reference:C:\Users\yuyang.nuget\packages\windowsazure.storage\9.3.3\lib\net45\Microsoft.WindowsAzure.Storage.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\mscorlib.dll" /reference:C:\Users\yuyang.nuget\packages\newtonsoft.json\12.0.3\lib\net45\Newtonsoft.Json.dll /reference:C:\Users\yuyang.nuget\packages\nlog\4.7.3\lib\net45\NLog.dll /reference:C:\Users\yuyang.nuget\packages\nlog.extensions.logging\1.6.4\lib\net461\NLog.Extensions.Logging.dll /reference:C:\Users\yuyang.nuget\packages\nlog.web.aspnetcore\4.9.3\lib\net461\NLog.Web.AspNetCore.dll /reference:C:\Users\yuyang.nuget\packages\system.buffers\4.5.1\ref\net45\System.Buffers.dll /reference:C:\Users\yuyang.nuget\packages\system.collections.immutable\1.2.0\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\System.ComponentModel.Composition.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\System.Configuration.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\System.Data.OracleClient.dll" /reference:C:\Users\yuyang.nuget\packages\system.diagnostics.diagnosticsource\4.7.1\lib\net46\System.Diagnostics.DiagnosticSource.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\System.Drawing.dll" /reference:C:\Users\yuyang.nuget\packages\microsoft.servicefabric\7.2.477\lib\net472\System.Fabric.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.servicefabric\7.2.477\lib\net472\System.Fabric.Management.ServiceModel.dll /reference:C:\Users\yuyang.nuget\packages\microsoft.servicefabric\7.2.477\lib\net472\System.Fabric.Strings.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\System.IdentityModel.dll" /reference:C:\Users\yuyang.nuget\packages\system.identitymodel.tokens.jwt\6.8.0\lib\net461\System.IdentityModel.Tokens.Jwt.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\System.IO.Compression.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\System.IO.Compression.FileSystem.dll" /reference:C:\Users\yuyang.nuget\packages\system.memory.data\1.0.1\lib\net461\System.Memory.Data.dll /reference:C:\Users\yuyang.nuget\packages\system.memory\4.5.4\lib\net461\System.Memory.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\System.Net.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\System.Net.Http.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\System.Net.Http.WebRequest.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\System.Numerics.dll" /reference:"C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.numerics.vectors\4.5.0\ref\net46\System.Numerics.Vectors.dll" /reference:C:\Users\yuyang.nuget\packages\system.reflection.metadata\1.3.0\lib\portable-net45+win8\System.Reflection.Metadata.dll /reference:C:\Users\yuyang.nuget\packages\system.runtime.compilerservices.unsafe\5.0.0\ref\net461\System.Runtime.CompilerServices.Unsafe.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Runtime.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Runtime.Extensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Runtime.InteropServices.RuntimeInformation.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\System.Runtime.Serialization.dll" /reference:C:\Users\yuyang.nuget\packages\system.security.cryptography.protecteddata\4.5.0\ref\net461\System.Security.Cryptography.ProtectedData.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\System.Security.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\System.ServiceModel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\System.ServiceProcess.dll" /reference:C:\Users\yuyang.nuget\packages\system.text.encodings.web\4.7.2\lib\net461\System.Text.Encodings.Web.dll /reference:C:\Users\yuyang.nuget\packages\system.text.json\4.7.2\lib\net461\System.Text.Json.dll /reference:C:\Users\yuyang.nuget\packages\system.threading.tasks.extensions\4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\System.Transactions.dll" /reference:"C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.valuetuple\4.5.0\ref\net47\System.ValueTuple.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\System.Windows.Forms.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\System.Xml.Linq.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\WindowsBase.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\Microsoft.Win32.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\netstandard.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.AppContext.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Collections.Concurrent.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Collections.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Collections.NonGeneric.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Collections.Specialized.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.ComponentModel.Annotations.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.ComponentModel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.ComponentModel.EventBasedAsync.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.ComponentModel.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.ComponentModel.TypeConverter.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Console.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Data.Common.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Diagnostics.Contracts.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Diagnostics.Debug.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Diagnostics.FileVersionInfo.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Diagnostics.Process.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Diagnostics.StackTrace.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Diagnostics.TextWriterTraceListener.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Diagnostics.Tools.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Diagnostics.TraceSource.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Drawing.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Dynamic.Runtime.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Globalization.Calendars.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Globalization.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Globalization.Extensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.IO.Compression.ZipFile.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.IO.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.IO.FileSystem.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.IO.FileSystem.DriveInfo.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.IO.FileSystem.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.IO.FileSystem.Watcher.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.IO.IsolatedStorage.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.IO.MemoryMappedFiles.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.IO.Pipes.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.IO.UnmanagedMemoryStream.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Linq.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Linq.Expressions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Linq.Parallel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Linq.Queryable.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Net.Http.Rtc.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Net.NameResolution.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Net.NetworkInformation.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Net.Ping.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Net.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Net.Requests.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Net.Security.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Net.Sockets.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Net.WebHeaderCollection.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Net.WebSockets.Client.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Net.WebSockets.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.ObjectModel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Reflection.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Reflection.Emit.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Reflection.Emit.ILGeneration.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Reflection.Emit.Lightweight.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Reflection.Extensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Reflection.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Resources.Reader.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Resources.ResourceManager.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Resources.Writer.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Runtime.CompilerServices.VisualC.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Runtime.Handles.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Runtime.InteropServices.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Runtime.InteropServices.WindowsRuntime.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Runtime.Numerics.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Runtime.Serialization.Formatters.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Runtime.Serialization.Json.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Runtime.Serialization.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Runtime.Serialization.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Security.Claims.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Security.Cryptography.Algorithms.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Security.Cryptography.Csp.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Security.Cryptography.Encoding.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Security.Cryptography.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Security.Cryptography.X509Certificates.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Security.Principal.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Security.SecureString.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.ServiceModel.Duplex.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.ServiceModel.Http.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.ServiceModel.NetTcp.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.ServiceModel.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.ServiceModel.Security.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Text.Encoding.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Text.Encoding.Extensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Text.RegularExpressions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Threading.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Threading.Overlapped.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Threading.Tasks.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Threading.Tasks.Parallel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Threading.Thread.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Threading.ThreadPool.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Threading.Timer.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Xml.ReaderWriter.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Xml.XDocument.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Xml.XmlDocument.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Xml.XmlSerializer.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Xml.XPath.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.2\Facades\System.Xml.XPath.XDocument.dll" /debug+ /debug:portable /filealign:512 /optimize- /out:obj\x64\Debug\net472\Microsoft.HDInsight.Common.dll /subsystemversion:6.00 /resource:....\configuration\Data\Environments\Dev.json,Microsoft.HDInsight.Common.Dev.json /resource:....\configuration\Data\Environments\DF.json,Microsoft.HDInsight.Common.DF.json /resource:....\configuration\Data\Environments\EX.json,Microsoft.HDInsight.Common.EX.json /resource:....\configuration\Data\Environments\FF.json,Microsoft.HDInsight.Common.FF.json /resource:....\configuration\Data\Environments\Local.json,Microsoft.HDInsight.Common.Local.json /resource:....\configuration\Data\Environments\MC.json,Microsoft.HDInsight.Common.MC.json /resource:....\configuration\Data\Environments\PPE.json,Microsoft.HDInsight.Common.PPE.json /resource:....\configuration\Data\Environments\Prod.json,Microsoft.HDInsight.Common.Prod.json /resource:....\configuration\Data\Environments\RX.json,Microsoft.HDInsight.Common.RX.json /resource:....\configuration\Data\Environments\TIP.json,Microsoft.HDInsight.Common.TIP.json /resource:obj\x64\Debug\net472\Microsoft.Extensions.FileProviders.Embedded.Manifest.xml,Microsoft.Extensions.FileProviders.Embedded.Manifest.xml /target:library /warnaserror+ /utf8output /deterministic+ /langversion:7.3 /analyzerconfig:D:\src\Hilo.editorconfig /analyzerconfig:obj\x64\Debug\net472\Microsoft.HDInsight.Common.GeneratedMSBuildEditorConfig.editorconfig /analyzerconfig:"C:\Program Files\dotnet\sdk\6.0.101\Sdks\Microsoft.NET.Sdk\analyzers\build\config\analysislevel_6_all.editorconfig" /analyzer:"C:\Program Files\dotnet\sdk\6.0.101\Sdks\Microsoft.NET.Sdk\targets..\analyzers\Microsoft.CodeAnalysis.CSharp.NetAnalyzers.dll" /analyzer:"C:\Program Files\dotnet\sdk\6.0.101\Sdks\Microsoft.NET.Sdk\targets..\analyzers\Microsoft.CodeAnalysis.NetAnalyzers.dll" /analyzer:"C:\Program Files\dotnet\sdk\6.0.101\Sdks\Microsoft.NET.Sdk\targets..\codestyle\cs\Microsoft.CodeAnalysis.CodeStyle.dll" /analyzer:"C:\Program Files\dotnet\sdk\6.0.101\Sdks\Microsoft.NET.Sdk\targets..\codestyle\cs\Microsoft.CodeAnalysis.CodeStyle.Fixes.dll" /analyzer:"C:\Program Files\dotnet\sdk\6.0.101\Sdks\Microsoft.NET.Sdk\targets..\codestyle\cs\Microsoft.CodeAnalysis.CSharp.CodeStyle.dll" /analyzer:"C:\Program Files\dotnet\sdk\6.0.101\Sdks\Microsoft.NET.Sdk\targets..\codestyle\cs\Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.dll" /analyzer:C:\Users\yuyang.nuget\packages\asyncfixer\1.3.0\analyzers\dotnet\cs\AsyncFixer.dll /analyzer:C:\Users\yuyang.nuget\packages\asyncify\0.9.7\analyzers\dotnet\cs\Asyncify.dll /analyzer:C:\Users\yuyang.nuget\packages\microsoft.visualstudio.threading.analyzers\16.9.60\analyzers\cs\Microsoft.VisualStudio.Threading.Analyzers.CSharp.dll /analyzer:C:\Users\yuyang.nuget\packages\microsoft.visualstudio.threading.analyzers\16.9.60\analyzers\cs\Microsoft.VisualStudio.Threading.Analyzers.CodeFixes.dll /analyzer:C:\Users\yuyang.nuget\packages\microsoft.visualstudio.threading.analyzers\16.9.60\analyzers\cs\Microsoft.VisualStudio.Threading.Analyzers.dll /analyzer:C:\Users\yuyang.nuget\packages\stylecop.analyzers\1.1.118\analyzers\dotnet\cs\StyleCop.Analyzers.CodeFixes.dll /analyzer:C:\Users\yuyang.nuget\packages\stylecop.analyzers\1.1.118\analyzers\dotnet\cs\StyleCop.Analyzers.dll /additionalfile:D:\src\Hilo\stylecop.json /additionalfile:C:\Users\yuyang.nuget\packages\microsoft.visualstudio.threading.analyzers\16.9.60\build\AdditionalFiles\vs-threading.LegacyThreadSwitchingMembers.txt /additionalfile:C:\Users\yuyang.nuget\packages\microsoft.visualstudio.threading.analyzers\16.9.60\build\AdditionalFiles\vs-threading.MainThreadAssertingMethods.txt /additionalfile:C:\Users\yuyang.nuget\packages\microsoft.visualstudio.threading.analyzers\16.9.60\build\AdditionalFiles\vs-threading.MainThreadSwitchingMethods.txt /additionalfile:C:\Users\yuyang.nuget\packages\microsoft.visualstudio.threading.analyzers\16.9.60\build\AdditionalFiles\vs-threading.MembersRequiringMainThread.txt ARM\ArmHeaders.cs CommonModule.cs Config\AzureEnvironmentConfiguration.cs Config\AzureEnvironmentConfigurationExtensions.cs Config\AzureEnvironmentConfigurationOperator.cs Config\AzureEnvironmentConfigurationProvider.cs Config\CommonConfigConstants.cs Config\EmbeddedAzureEnvironmentConfigurationHelper.cs Config\EmptyPrimaryConfigurationProviderFactory.cs Config\IBootstrapConfigurationProvider.cs Config\IPrimaryConfigurationProviderFactory.cs Config\JsonKeyValueManagedConfigurationProvider.cs Config\ServiceFabricBootstrapConfigurationProvider.cs Config\SQLConfigurationProvider.cs Config\SQLPrimaryConfigurationProviderFactory.cs CriticalInitializationErrorException.cs Extensions\ComparableExtensions.cs Extensions\EnumerableExtensions.cs Extensions\ExceptionExtensions.cs Extensions\GenericExtensions.cs Extensions\LogEventInfoExtensions.cs Extensions\StringExtensions.cs Extensions\TimeSpanExtensions.cs HTTP\HttpConstants.cs HTTP\HttpRetryHandler.cs HTTP\HttpUtils.cs HTTP\UriUtils.cs Logging\ExceptionScrubber.cs Logging\ILogger.cs Logging\LogContext.cs Logging\LoggingConstants.cs Logging\LoggingEventSource.cs Logging\NLogConfigurations\HiloLoggingConfiguration.cs Logging\NLogConfigurations\LoggingEventSourceTarget.cs Logging\NLogConfigurations\LogMessageLayout.cs Logging\NlogExtLoggerFactory.cs Logging\NLoggerModule.cs Logging\NLogLogger.cs Logging\NLogLoggerGeneric.cs Logging\Schemas\LogEntry.cs Metrics\ApiLatencyMetric.cs Metrics\BaseMetric.cs Metrics\DimensionAttribute.cs Metrics\GenevaMetricLogger.cs Metrics\IMetricFactory.cs Metrics\IMetricLogger.cs Metrics\MetricsFactory.cs Metrics\MetricsModule.cs ResourceOperationType.cs RPaaS\RpaasHeaders.cs ServiceConstants.cs Tasks\AsyncDelayer.cs Tasks\IAsyncDelayer.cs D:\src\Hilo.version\AssemblyInfoCommon.cs D:\src\Hilo.version\PipelineAssemblyInfo.cs "obj\x64\Debug\net472.NETFramework,Version=v4.7.2.AssemblyAttributes.cs" obj\x64\Debug\net472\Microsoft.HDInsight.Common.AssemblyInfo.cs /warnaserror+:NU1605

dotnet-issue-labeler[bot] commented 2 years ago

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

yangyud-cn commented 2 years ago

Similar issue was discussed here: https://docs.microsoft.com/en-us/answers/questions/244179/microsoftcodeanalysis-problem.html Adding Microsoft.Net.Compilers.Toolset and Microsoft.CodeAnalysis.Compilers version 4.x does resolve the issue, but that forces the project to always be built by the specific compiler version.

sharwell commented 2 years ago

This is a duplicate of external issue VS2019 + Installation of SDK 6.0 produces warnings(CS8032) with .NET Analyzers and .NET Core 3.1 projects (AB#1437947)