From f9c8ac53b6485b12d42ab84de1e932d2c979524f Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Wed, 15 Jul 2015 10:57:23 -0700 Subject: [PATCH] Change the Roslyn solution analyzers to Portable --- .../Roslyn/CSharp/CSharpRoslynDiagnosticAnalyzers.csproj | 2 ++ src/Diagnostics/Roslyn/Core/Properties/AssemblyInfo.cs | 5 ----- src/Diagnostics/Roslyn/Core/RoslynDiagnosticAnalyzers.csproj | 3 ++- .../Roslyn/Core/RoslynDiagnosticsResources.Designer.cs | 5 +++-- .../Roslyn/VisualBasic/BasicRoslynDiagnosticAnalyzers.vbproj | 2 ++ 5 files changed, 9 insertions(+), 8 deletions(-) delete mode 100644 src/Diagnostics/Roslyn/Core/Properties/AssemblyInfo.cs diff --git a/src/Diagnostics/Roslyn/CSharp/CSharpRoslynDiagnosticAnalyzers.csproj b/src/Diagnostics/Roslyn/CSharp/CSharpRoslynDiagnosticAnalyzers.csproj index 56ba312e739..80ebef14f17 100644 --- a/src/Diagnostics/Roslyn/CSharp/CSharpRoslynDiagnosticAnalyzers.csproj +++ b/src/Diagnostics/Roslyn/CSharp/CSharpRoslynDiagnosticAnalyzers.csproj @@ -16,6 +16,8 @@ ..\..\..\..\ true v4.5 + Profile7 + .NETPortable diff --git a/src/Diagnostics/Roslyn/Core/Properties/AssemblyInfo.cs b/src/Diagnostics/Roslyn/Core/Properties/AssemblyInfo.cs deleted file mode 100644 index 7d7b622cbc7..00000000000 --- a/src/Diagnostics/Roslyn/Core/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System.Resources; - -[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.MainAssembly)] \ No newline at end of file diff --git a/src/Diagnostics/Roslyn/Core/RoslynDiagnosticAnalyzers.csproj b/src/Diagnostics/Roslyn/Core/RoslynDiagnosticAnalyzers.csproj index 8e06543dd22..6ae88fc85f3 100644 --- a/src/Diagnostics/Roslyn/Core/RoslynDiagnosticAnalyzers.csproj +++ b/src/Diagnostics/Roslyn/Core/RoslynDiagnosticAnalyzers.csproj @@ -15,6 +15,8 @@ ..\..\..\..\ true v4.5 + Profile7 + .NETPortable @@ -79,7 +81,6 @@ - diff --git a/src/Diagnostics/Roslyn/Core/RoslynDiagnosticsResources.Designer.cs b/src/Diagnostics/Roslyn/Core/RoslynDiagnosticsResources.Designer.cs index 21a01eeabf3..40a34ed39f5 100644 --- a/src/Diagnostics/Roslyn/Core/RoslynDiagnosticsResources.Designer.cs +++ b/src/Diagnostics/Roslyn/Core/RoslynDiagnosticsResources.Designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.0 +// Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -10,6 +10,7 @@ namespace Roslyn.Diagnostics.Analyzers { using System; + using System.Reflection; /// @@ -39,7 +40,7 @@ internal class RoslynDiagnosticsResources { internal static global::System.Resources.ResourceManager ResourceManager { get { if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Roslyn.Diagnostics.Analyzers.RoslynDiagnosticsResources", typeof(RoslynDiagnosticsResources).Assembly); + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Roslyn.Diagnostics.Analyzers.RoslynDiagnosticsResources", typeof(RoslynDiagnosticsResources).GetTypeInfo().Assembly); resourceMan = temp; } return resourceMan; diff --git a/src/Diagnostics/Roslyn/VisualBasic/BasicRoslynDiagnosticAnalyzers.vbproj b/src/Diagnostics/Roslyn/VisualBasic/BasicRoslynDiagnosticAnalyzers.vbproj index 23c10b978b2..795ea36e611 100644 --- a/src/Diagnostics/Roslyn/VisualBasic/BasicRoslynDiagnosticAnalyzers.vbproj +++ b/src/Diagnostics/Roslyn/VisualBasic/BasicRoslynDiagnosticAnalyzers.vbproj @@ -15,6 +15,8 @@ ..\..\..\..\ true v4.5 + Profile7 + .NETPortable -- GitLab