Switching to generations TFMs

This commit is contained in:
Pranav K 2015-10-22 01:08:12 -07:00
parent 90116ddd78
commit c6bf98c9b7
5 changed files with 98 additions and 98 deletions

View File

@ -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

View File

@ -1,28 +1,28 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"description": "Middleware for automatically applying culture information to HTTP requests.", "description": "Middleware for automatically applying culture information to HTTP requests.",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/aspnet/localization" "url": "https://github.com/aspnet/localization"
}, },
"compilationOptions": { "compilationOptions": {
"warningsAsErrors": true "warningsAsErrors": true
}, },
"dependencies": { "dependencies": {
"Microsoft.AspNet.Http.Extensions": "1.0.0-*", "Microsoft.AspNet.Http.Extensions": "1.0.0-*",
"Microsoft.Extensions.Globalization.CultureInfoCache": "1.0.0-*", "Microsoft.Extensions.Globalization.CultureInfoCache": "1.0.0-*",
"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-*",
"System.Globalization": "4.0.11-beta-*", "System.Globalization": "4.0.11-beta-*",
"System.Linq": "4.0.1-beta-*", "System.Linq": "4.0.1-beta-*",
"System.Threading": "4.0.11-beta-*" "System.Threading": "4.0.11-beta-*"
} }
}
} }
} }
}

View File

@ -1,22 +1,22 @@
{ {
"version": "1.0.0-*", "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.", "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": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/aspnet/localization" "url": "https://github.com/aspnet/localization"
}, },
"compilationOptions": { "compilationOptions": {
"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-*",
"System.Collections.Concurrent": "4.0.11-beta-*", "System.Collections.Concurrent": "4.0.11-beta-*",
"System.Globalization": "4.0.11-beta-*" "System.Globalization": "4.0.11-beta-*"
} }
}
} }
} }
}

View File

@ -1,23 +1,23 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"description": "Abstractions of application localization services.", "description": "Abstractions of application localization services.",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/aspnet/localization" "url": "https://github.com/aspnet/localization"
}, },
"compilationOptions": { "compilationOptions": {
"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-*",
"System.Globalization": "4.0.11-beta-*", "System.Globalization": "4.0.11-beta-*",
"System.Reflection": "4.0.11-beta-*", "System.Reflection": "4.0.11-beta-*",
"System.Runtime": "4.0.21-beta-*" "System.Runtime": "4.0.21-beta-*"
} }
}
} }
} }
}

View File

@ -1,32 +1,32 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"description": "Application localization services.", "description": "Application localization services.",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/aspnet/localization" "url": "https://github.com/aspnet/localization"
}, },
"compilationOptions": { "compilationOptions": {
"warningsAsErrors": true "warningsAsErrors": true
}, },
"dependencies": { "dependencies": {
"Microsoft.Dnx.Runtime.Abstractions": "1.0.0-*", "Microsoft.Dnx.Runtime.Abstractions": "1.0.0-*",
"Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-*", "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-*",
"Microsoft.Extensions.Localization.Abstractions": "1.0.0-*", "Microsoft.Extensions.Localization.Abstractions": "1.0.0-*",
"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-*",
"System.Collections.Concurrent": "4.0.11-beta-*", "System.Collections.Concurrent": "4.0.11-beta-*",
"System.Globalization": "4.0.11-beta-*", "System.Globalization": "4.0.11-beta-*",
"System.Linq": "4.0.1-beta-*", "System.Linq": "4.0.1-beta-*",
"System.Resources.ReaderWriter": "4.0.0-beta-*", "System.Resources.ReaderWriter": "4.0.0-beta-*",
"System.Resources.ResourceManager": "4.0.1-beta-*", "System.Resources.ResourceManager": "4.0.1-beta-*",
"System.Threading": "4.0.11-beta-*" "System.Threading": "4.0.11-beta-*"
} }
}
} }
} }
}