未验证 提交 9989fc0f 编写于 作者: M Manish Vasani 提交者: GitHub

Update src/VisualStudio/Core/Def/Implementation/ProjectSystem/VisualStudioAnalyzer.cs

上级 0a8d576d
......@@ -18,6 +18,8 @@ namespace Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem
internal sealed class VisualStudioAnalyzer : IDisposable
{
// Shadow copy analyzer files coming from packages to avoid locking the files in NuGet cache.
// NOTE: It is important that we share the same shadow copy assembly loader for all VisualStudioAnalyzer instances.
// This is required to ensure that shadow copied analyzer dependencies are correctly loaded.
private static readonly IAnalyzerAssemblyLoader s_analyzerAssemblyLoader =
new ShadowCopyAnalyzerAssemblyLoader(Path.Combine(Path.GetTempPath(), "VS", "AnalyzerAssemblyLoader"));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册