diff --git a/Directory.Build.props b/Directory.Build.props index ead744dd2..6cf55babd 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -28,7 +28,7 @@ - + diff --git a/src/SosThreadingTools/SosThreadingTools.csproj b/src/SosThreadingTools/SosThreadingTools.csproj index 4b0c7336b..95e722c88 100644 --- a/src/SosThreadingTools/SosThreadingTools.csproj +++ b/src/SosThreadingTools/SosThreadingTools.csproj @@ -26,8 +26,8 @@ - - + + diff --git a/test/Microsoft.VisualStudio.Threading.Analyzers.Tests/Helpers/ReferencesHelper.cs b/test/Microsoft.VisualStudio.Threading.Analyzers.Tests/Helpers/ReferencesHelper.cs index 62e65c9bb..e92b673fa 100644 --- a/test/Microsoft.VisualStudio.Threading.Analyzers.Tests/Helpers/ReferencesHelper.cs +++ b/test/Microsoft.VisualStudio.Threading.Analyzers.Tests/Helpers/ReferencesHelper.cs @@ -20,13 +20,15 @@ internal static class ReferencesHelper "Microsoft.VisualStudio.Shell.Interop.dll", "Microsoft.VisualStudio.Shell.Interop.11.0.dll", "Microsoft.VisualStudio.Shell.Interop.14.0.DesignTime.dll", - "Microsoft.VisualStudio.Shell.Immutable.14.0.dll", - "Microsoft.VisualStudio.Shell.14.0.dll", + "Microsoft.VisualStudio.Shell.Framework.dll", + "Microsoft.VisualStudio.Shell.15.0.dll", }); static ReferencesHelper() { +#pragma warning disable RS0030 // Do not used banned APIs ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; +#pragma warning restore RS0030 // Do not used banned APIs } } } diff --git a/test/Microsoft.VisualStudio.Threading.Analyzers.Tests/Helpers/VisualBasicCodeFixVerifier`2+Test.cs b/test/Microsoft.VisualStudio.Threading.Analyzers.Tests/Helpers/VisualBasicCodeFixVerifier`2+Test.cs index 3e9f41a8f..e79a8c350 100644 --- a/test/Microsoft.VisualStudio.Threading.Analyzers.Tests/Helpers/VisualBasicCodeFixVerifier`2+Test.cs +++ b/test/Microsoft.VisualStudio.Threading.Analyzers.Tests/Helpers/VisualBasicCodeFixVerifier`2+Test.cs @@ -25,8 +25,8 @@ public class Test : VisualBasicCodeFixTest "Microsoft.VisualStudio.Shell.Interop.dll", "Microsoft.VisualStudio.Shell.Interop.11.0.dll", "Microsoft.VisualStudio.Shell.Interop.14.0.DesignTime.dll", - "Microsoft.VisualStudio.Shell.Immutable.14.0.dll", - "Microsoft.VisualStudio.Shell.14.0.dll", + "Microsoft.VisualStudio.Shell.Framework.dll", + "Microsoft.VisualStudio.Shell.15.0.dll", }); public Test() diff --git a/test/Microsoft.VisualStudio.Threading.Analyzers.Tests/Microsoft.VisualStudio.Threading.Analyzers.Tests.csproj b/test/Microsoft.VisualStudio.Threading.Analyzers.Tests/Microsoft.VisualStudio.Threading.Analyzers.Tests.csproj index 449130307..402b7d5f3 100644 --- a/test/Microsoft.VisualStudio.Threading.Analyzers.Tests/Microsoft.VisualStudio.Threading.Analyzers.Tests.csproj +++ b/test/Microsoft.VisualStudio.Threading.Analyzers.Tests/Microsoft.VisualStudio.Threading.Analyzers.Tests.csproj @@ -20,13 +20,10 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - - + + - - - - + all