Adding / Replacing resources after building C# application -


i have c# application has exe files , scripts stored embedded resources in .resx file.

i'm trying find way replace embedded resources without full rebuild. way have swap out scripts or executables when versioned instead of doing full rebuild.

so far i've found several tools can add , replace resources (satellite resources?) executable, haven't been able access resources in c# application.

so far i've found way access embedded resources, ones attach after build don't show up.

        // retrieves contents of embedded .resx files         system.reflection.assembly thisexe;         thisexe = system.reflection.assembly.getentryassembly();          // list files in .resx of known name.         resourceset rs = <my resource>.resourcemanager.getresourceset(system.globalization.cultureinfo.currentuiculture, true, true);         dictionary<string, object> resources = rs.cast<dictionaryentry>().todictionary(r => (string)r.key, r => r.value);          foreach (string key in resources.keys)             console.writeline(key); 


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -