What is the correct way to use internationalization in a Asp.net 5 MVC project ?
If I try to decorate my model classes with DisplayName
for example, Visual Studio gives me an error:
Severity Code Description Project File Line
Error CS0246 The type or namespace name 'DisplayName' could not be found (are you missing a using directive or an assembly reference?) MyProject.DNX Core 5.0 C:\Users\paulo\Documents\Visual Studio 2015\Projects\MyProject\src\MyProject\Models\Post.cs 20
I can´t even create a resource file in this type of project.