damienbod / AspNetCoreLocalization

Localization.SqlLocalizer & ASP.NET Core MVC Localization Examples
http://damienbod.com/2015/10/21/asp-net-5-mvc-6-localization/
MIT License
251 stars 101 forks source link

Support .NETStandard 2.0 to support ASP.NET Core websites based on .NET 4.6.1 #49

Closed Tynamix closed 6 years ago

Tynamix commented 6 years ago

Is there any reason why the assembly Localization.SqlLocalizer is based on netcoreapp2.0? This leads to the fact that no ASP.NET Core projects based on the .NET 4.6.1 Framework can reference this package.

I changed the TargetFramework to .netstandard2.0 and changed the reference Microsoft.AspNetCore.All to Microsoft.AspNetCore.Localization. I runned the integration tests and it worked.

Are there any more reasons to use .netcoreapp2.0?

damienbod commented 6 years ago

@Tynamix Thank you very