I want to override a string from a System.ComponentModel.DataAnnotations
for an ASP.NET project. Do I need to make a satellite assembly, messing with custom build tasks, al.exe
etc.? Even if yes, I couldn't find how to convert .resx
to .resources
to feed it to al.exe
. And if no, where to put the .resx.
and how to name it?
UPD: To make it clear: I wanted to use a custom resource string instead of one from the default resource from the assembly. I didn't want to make changes in the every place that uses that string. After all, the resources exist just for overriding them.
While this is strange, especially for people familiar with open source localization technologies, one cannot build a satellite assembly for any system assembly or even a 3rd-party signed one:
Whether the same is possible automatically, but without a satellite assembly, is unknown, though I doubt that.