0
votes

my asp.net site uses resource files for a referenced project with the user controls in it.

so i have one website project, and one dll project with usercontrols + the resource files.

The website references the dll project.

So far so good.

When i publish, the dll with the usercontrols gets compiled in a dll (what else) but the resource files also get compiled (a separate dll for every language)

Is there a way to edit the resource strings in the dll once deployed?

1
In a word - no. Why would you want to edit the resource strings? Are you wanting to edit the strings in the code (ie runtime), or manually as a 'patch'? If the latter, consider not compiling them (ie set them as "Content" in the build action). - RPM1984
i would like to be able to edit the resource file (which only contains translations for texts) on production in case of a typo, so i don't have to release a whole new build. - Michel

1 Answers

1
votes

Pretty much the whole point is the resource files are fixed and in the dll. If you want to be able to edit them after deployment then simply deploy your scripts/css or whatever as text files.