I have my default resource file Resources.resx
for which visual studio nicely generates a designer.cs
class, but when I try to create Resources.de-DE.resx
, it does not generate.
I checked all the properties for both files are same.
It does generate for Resources1.resx
, but not for Resources.de-DE.resx
or Resources.en-US.resx
.
resx file? If so, go to project properties, then the "Resources" tab, and there should be a big link to click to regenerate it.
Open a . resx file in the XML (Text) editor. Press Ctrl+Alt+F or choose ReSharper | Windows | File Structure from the main menu . Alternatively, you can press Ctrl+Shift+A , start typing the command name in the popup, and then choose it there.
hello @TRS you may be confused about that there is a Designer.cs present For Resources.resx and there should be someDesigner.cs for Resources.de-DE.resx but this is not the case because designer file would be same for all the resource files. and also the property that is created in Designer.cs is also common that means you will use this property for every conversion so the difference that you can make is on the basis of ResourceCulture.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With