From 8dc4ddf195afecd9a67f63ba0a947fa5bfa04087 Mon Sep 17 00:00:00 2001 From: Pranav K Date: Thu, 10 Sep 2015 16:45:07 -0700 Subject: [PATCH] Adding NeutralResourcesLanguageAttribute --- .../Properties/AssemblyInfo.cs | 4 +++- src/Microsoft.AspNet.Diagnostics.Abstractions/project.json | 3 ++- .../Properties/AssemblyInfo.cs | 4 +++- .../Properties/AssemblyInfo.cs | 4 +++- src/Microsoft.AspNet.Diagnostics/Properties/AssemblyInfo.cs | 2 ++ 5 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/Microsoft.AspNet.Diagnostics.Abstractions/Properties/AssemblyInfo.cs b/src/Microsoft.AspNet.Diagnostics.Abstractions/Properties/AssemblyInfo.cs index 025a94598c..3f4a3b62e0 100644 --- a/src/Microsoft.AspNet.Diagnostics.Abstractions/Properties/AssemblyInfo.cs +++ b/src/Microsoft.AspNet.Diagnostics.Abstractions/Properties/AssemblyInfo.cs @@ -2,5 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Reflection; +using System.Resources; -[assembly: AssemblyMetadata("Serviceable", "True")] \ No newline at end of file +[assembly: AssemblyMetadata("Serviceable", "True")] +[assembly: NeutralResourcesLanguage("en-US")] diff --git a/src/Microsoft.AspNet.Diagnostics.Abstractions/project.json b/src/Microsoft.AspNet.Diagnostics.Abstractions/project.json index a664dbf637..555a3b59d4 100644 --- a/src/Microsoft.AspNet.Diagnostics.Abstractions/project.json +++ b/src/Microsoft.AspNet.Diagnostics.Abstractions/project.json @@ -10,7 +10,8 @@ "dnx451": { }, "dnxcore50": { "dependencies": { - "System.Runtime": "4.0.21-beta-*" + "System.Runtime": "4.0.21-beta-*", + "System.Resources.ResourceManager": "4.0.1-beta-*" } } } diff --git a/src/Microsoft.AspNet.Diagnostics.Elm/Properties/AssemblyInfo.cs b/src/Microsoft.AspNet.Diagnostics.Elm/Properties/AssemblyInfo.cs index 025a94598c..3f4a3b62e0 100644 --- a/src/Microsoft.AspNet.Diagnostics.Elm/Properties/AssemblyInfo.cs +++ b/src/Microsoft.AspNet.Diagnostics.Elm/Properties/AssemblyInfo.cs @@ -2,5 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Reflection; +using System.Resources; -[assembly: AssemblyMetadata("Serviceable", "True")] \ No newline at end of file +[assembly: AssemblyMetadata("Serviceable", "True")] +[assembly: NeutralResourcesLanguage("en-US")] diff --git a/src/Microsoft.AspNet.Diagnostics.Entity/Properties/AssemblyInfo.cs b/src/Microsoft.AspNet.Diagnostics.Entity/Properties/AssemblyInfo.cs index 025a94598c..3f4a3b62e0 100644 --- a/src/Microsoft.AspNet.Diagnostics.Entity/Properties/AssemblyInfo.cs +++ b/src/Microsoft.AspNet.Diagnostics.Entity/Properties/AssemblyInfo.cs @@ -2,5 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Reflection; +using System.Resources; -[assembly: AssemblyMetadata("Serviceable", "True")] \ No newline at end of file +[assembly: AssemblyMetadata("Serviceable", "True")] +[assembly: NeutralResourcesLanguage("en-US")] diff --git a/src/Microsoft.AspNet.Diagnostics/Properties/AssemblyInfo.cs b/src/Microsoft.AspNet.Diagnostics/Properties/AssemblyInfo.cs index 30d1b6eb5c..b7c44f0ba9 100644 --- a/src/Microsoft.AspNet.Diagnostics/Properties/AssemblyInfo.cs +++ b/src/Microsoft.AspNet.Diagnostics/Properties/AssemblyInfo.cs @@ -2,8 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Reflection; +using System.Resources; using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Microsoft.AspNet.Diagnostics.Tests")] [assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")] [assembly: AssemblyMetadata("Serviceable", "True")] +[assembly: NeutralResourcesLanguage("en-US")]