This project is minimum localization sample. It is usable to reproduce Blazor server localization issue in Visual Studio 16.4 + .NET Core 3.1 SDK.
Localization works with Visual Studio 16.3.10 + .NET Core 3.0 SDK.
But that does not work in upgrading Visual Studio 16.4 + .NET Core 3.1 SDK.
This project was created in the following way.
- Create new blazor server project in Visual Studio 2019.
- Add some code in Startup.cs
- Add some code in _Host.cshtml
- Add some code in Index.razor
- Add a file of SharedResource.cs
- Add a file of SharedResource.en.resx
To move SharedResource.cs from the Resources folder to the root.