Switching to generations TFMs
This commit is contained in:
parent
90116ddd78
commit
c6bf98c9b7
|
|
@ -81,7 +81,7 @@ namespace Microsoft.AspNet.Localization
|
|||
|
||||
private static void SetCurrentThreadCulture(RequestCulture requestCulture)
|
||||
{
|
||||
#if DNX451
|
||||
#if NET451
|
||||
Thread.CurrentThread.CurrentCulture = requestCulture.Culture;
|
||||
Thread.CurrentThread.CurrentUICulture = requestCulture.UICulture;
|
||||
#else
|
||||
|
|
|
|||
|
|
@ -1,28 +1,28 @@
|
|||
{
|
||||
"version": "1.0.0-*",
|
||||
"description": "Middleware for automatically applying culture information to HTTP requests.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/aspnet/localization"
|
||||
},
|
||||
"compilationOptions": {
|
||||
"warningsAsErrors": true
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.AspNet.Http.Extensions": "1.0.0-*",
|
||||
"Microsoft.Extensions.Globalization.CultureInfoCache": "1.0.0-*",
|
||||
"Microsoft.Extensions.Localization.Abstractions": "1.0.0-*"
|
||||
},
|
||||
"frameworks": {
|
||||
"dnx451": { },
|
||||
"dnxcore50": {
|
||||
"dependencies": {
|
||||
"Microsoft.CSharp": "4.0.1-beta-*",
|
||||
"System.Collections": "4.0.11-beta-*",
|
||||
"System.Globalization": "4.0.11-beta-*",
|
||||
"System.Linq": "4.0.1-beta-*",
|
||||
"System.Threading": "4.0.11-beta-*"
|
||||
}
|
||||
}
|
||||
"version": "1.0.0-*",
|
||||
"description": "Middleware for automatically applying culture information to HTTP requests.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/aspnet/localization"
|
||||
},
|
||||
"compilationOptions": {
|
||||
"warningsAsErrors": true
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.AspNet.Http.Extensions": "1.0.0-*",
|
||||
"Microsoft.Extensions.Globalization.CultureInfoCache": "1.0.0-*",
|
||||
"Microsoft.Extensions.Localization.Abstractions": "1.0.0-*"
|
||||
},
|
||||
"frameworks": {
|
||||
"net451": {},
|
||||
"dotnet5.4": {
|
||||
"dependencies": {
|
||||
"Microsoft.CSharp": "4.0.1-beta-*",
|
||||
"System.Collections": "4.0.11-beta-*",
|
||||
"System.Globalization": "4.0.11-beta-*",
|
||||
"System.Linq": "4.0.1-beta-*",
|
||||
"System.Threading": "4.0.11-beta-*"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,22 +1,22 @@
|
|||
{
|
||||
"version": "1.0.0-*",
|
||||
"description": "Provides cached instances of CultureInfo using a generated list of known culture names for use in scenarios where unbounded CultureInfo creation is undesirable.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/aspnet/localization"
|
||||
},
|
||||
"compilationOptions": {
|
||||
"warningsAsErrors": true
|
||||
},
|
||||
"frameworks": {
|
||||
"dnx451": { },
|
||||
"dnxcore50": {
|
||||
"dependencies": {
|
||||
"Microsoft.CSharp": "4.0.1-beta-*",
|
||||
"System.Collections": "4.0.11-beta-*",
|
||||
"System.Collections.Concurrent": "4.0.11-beta-*",
|
||||
"System.Globalization": "4.0.11-beta-*"
|
||||
}
|
||||
}
|
||||
"version": "1.0.0-*",
|
||||
"description": "Provides cached instances of CultureInfo using a generated list of known culture names for use in scenarios where unbounded CultureInfo creation is undesirable.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/aspnet/localization"
|
||||
},
|
||||
"compilationOptions": {
|
||||
"warningsAsErrors": true
|
||||
},
|
||||
"frameworks": {
|
||||
"net451": {},
|
||||
"dotnet5.4": {
|
||||
"dependencies": {
|
||||
"Microsoft.CSharp": "4.0.1-beta-*",
|
||||
"System.Collections": "4.0.11-beta-*",
|
||||
"System.Collections.Concurrent": "4.0.11-beta-*",
|
||||
"System.Globalization": "4.0.11-beta-*"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,23 +1,23 @@
|
|||
{
|
||||
"version": "1.0.0-*",
|
||||
"description": "Abstractions of application localization services.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/aspnet/localization"
|
||||
},
|
||||
"compilationOptions": {
|
||||
"warningsAsErrors": true
|
||||
},
|
||||
"frameworks": {
|
||||
"dnx451": { },
|
||||
"dnxcore50": {
|
||||
"dependencies": {
|
||||
"Microsoft.CSharp": "4.0.1-beta-*",
|
||||
"System.Collections": "4.0.11-beta-*",
|
||||
"System.Globalization": "4.0.11-beta-*",
|
||||
"System.Reflection": "4.0.11-beta-*",
|
||||
"System.Runtime": "4.0.21-beta-*"
|
||||
}
|
||||
}
|
||||
"version": "1.0.0-*",
|
||||
"description": "Abstractions of application localization services.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/aspnet/localization"
|
||||
},
|
||||
"compilationOptions": {
|
||||
"warningsAsErrors": true
|
||||
},
|
||||
"frameworks": {
|
||||
"net451": {},
|
||||
"dotnet5.4": {
|
||||
"dependencies": {
|
||||
"Microsoft.CSharp": "4.0.1-beta-*",
|
||||
"System.Collections": "4.0.11-beta-*",
|
||||
"System.Globalization": "4.0.11-beta-*",
|
||||
"System.Reflection": "4.0.11-beta-*",
|
||||
"System.Runtime": "4.0.21-beta-*"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,32 +1,32 @@
|
|||
{
|
||||
"version": "1.0.0-*",
|
||||
"description": "Application localization services.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/aspnet/localization"
|
||||
},
|
||||
"compilationOptions": {
|
||||
"warningsAsErrors": true
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.Dnx.Runtime.Abstractions": "1.0.0-*",
|
||||
"Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-*",
|
||||
"Microsoft.Extensions.Localization.Abstractions": "1.0.0-*",
|
||||
"Microsoft.Extensions.OptionsModel": "1.0.0-*"
|
||||
},
|
||||
"frameworks": {
|
||||
"dnx451": { },
|
||||
"dnxcore50": {
|
||||
"dependencies": {
|
||||
"Microsoft.CSharp": "4.0.1-beta-*",
|
||||
"System.Collections": "4.0.11-beta-*",
|
||||
"System.Collections.Concurrent": "4.0.11-beta-*",
|
||||
"System.Globalization": "4.0.11-beta-*",
|
||||
"System.Linq": "4.0.1-beta-*",
|
||||
"System.Resources.ReaderWriter": "4.0.0-beta-*",
|
||||
"System.Resources.ResourceManager": "4.0.1-beta-*",
|
||||
"System.Threading": "4.0.11-beta-*"
|
||||
}
|
||||
}
|
||||
"version": "1.0.0-*",
|
||||
"description": "Application localization services.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/aspnet/localization"
|
||||
},
|
||||
"compilationOptions": {
|
||||
"warningsAsErrors": true
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.Dnx.Runtime.Abstractions": "1.0.0-*",
|
||||
"Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-*",
|
||||
"Microsoft.Extensions.Localization.Abstractions": "1.0.0-*",
|
||||
"Microsoft.Extensions.OptionsModel": "1.0.0-*"
|
||||
},
|
||||
"frameworks": {
|
||||
"net451": {},
|
||||
"dotnet5.4": {
|
||||
"dependencies": {
|
||||
"Microsoft.CSharp": "4.0.1-beta-*",
|
||||
"System.Collections": "4.0.11-beta-*",
|
||||
"System.Collections.Concurrent": "4.0.11-beta-*",
|
||||
"System.Globalization": "4.0.11-beta-*",
|
||||
"System.Linq": "4.0.1-beta-*",
|
||||
"System.Resources.ReaderWriter": "4.0.0-beta-*",
|
||||
"System.Resources.ResourceManager": "4.0.1-beta-*",
|
||||
"System.Threading": "4.0.11-beta-*"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue