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)
|
private static void SetCurrentThreadCulture(RequestCulture requestCulture)
|
||||||
{
|
{
|
||||||
#if DNX451
|
#if NET451
|
||||||
Thread.CurrentThread.CurrentCulture = requestCulture.Culture;
|
Thread.CurrentThread.CurrentCulture = requestCulture.Culture;
|
||||||
Thread.CurrentThread.CurrentUICulture = requestCulture.UICulture;
|
Thread.CurrentThread.CurrentUICulture = requestCulture.UICulture;
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,8 @@
|
||||||
"Microsoft.Extensions.Localization.Abstractions": "1.0.0-*"
|
"Microsoft.Extensions.Localization.Abstractions": "1.0.0-*"
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": { },
|
"net451": {},
|
||||||
"dnxcore50": {
|
"dotnet5.4": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.CSharp": "4.0.1-beta-*",
|
"Microsoft.CSharp": "4.0.1-beta-*",
|
||||||
"System.Collections": "4.0.11-beta-*",
|
"System.Collections": "4.0.11-beta-*",
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,8 @@
|
||||||
"warningsAsErrors": true
|
"warningsAsErrors": true
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": { },
|
"net451": {},
|
||||||
"dnxcore50": {
|
"dotnet5.4": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.CSharp": "4.0.1-beta-*",
|
"Microsoft.CSharp": "4.0.1-beta-*",
|
||||||
"System.Collections": "4.0.11-beta-*",
|
"System.Collections": "4.0.11-beta-*",
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,8 @@
|
||||||
"warningsAsErrors": true
|
"warningsAsErrors": true
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": { },
|
"net451": {},
|
||||||
"dnxcore50": {
|
"dotnet5.4": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.CSharp": "4.0.1-beta-*",
|
"Microsoft.CSharp": "4.0.1-beta-*",
|
||||||
"System.Collections": "4.0.11-beta-*",
|
"System.Collections": "4.0.11-beta-*",
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,8 @@
|
||||||
"Microsoft.Extensions.OptionsModel": "1.0.0-*"
|
"Microsoft.Extensions.OptionsModel": "1.0.0-*"
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": { },
|
"net451": {},
|
||||||
"dnxcore50": {
|
"dotnet5.4": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.CSharp": "4.0.1-beta-*",
|
"Microsoft.CSharp": "4.0.1-beta-*",
|
||||||
"System.Collections": "4.0.11-beta-*",
|
"System.Collections": "4.0.11-beta-*",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue