Changing String Resources in C#.net -
i added strings string resource file in c#.net project (using ms visual c# express 2010). properties of resource file set follows
copy output directory: copy , build action: embedded resource
when compile application under bin/release creates folder resources , copies stringliterals.designer.cs , stringliterals.resx.
my requirement: need edit string resources application pro-grammatically. using resxresourcewriter able change resource file stringliterals.resx. please let me know if there way use changed string resources in main exe without recompiling.
i don't believe can change embedded resource file without recompiling. should consider using configurable xml file or writing registry. how application settings stored. if you're worried text being stored in readable format, might consider encrypting text before writing file , decrypting when need text.
Comments
Post a Comment