Last post Jul 23, 2014 12:01 PM by degt
Jul 23, 2014 12:01 PM|degt|LINK
I have a C# project that contains scripts and views (.cshtml) in a plugin framework from another project. Every view (.cshtml) will have its localized version following the same nameing convention used in .NET projects.
All the items that are to be accessed as resources because they are marked as
Embedded Resource in build action. One of those files is "Index.cshtml".
The problem is I created another file right there called "Index.es.cshtml" (localized version) and set its action to Embedded Resource. But when I iterate through the resources of that assembly all are listed
except the new Index.es.cshtml, yes I recompiled the assembly.