Compiling at Run
hello everyone,
i know how to compile code from a string in a other C# app. though now i want to add a manifest to that new compiled program so it asks for admin privileged. though somehow i simply cant find how to do this.
i managed how to add resources (.resx) though i just cant get it to work to also add the app.manifest file.
does anyone know a solution or a site with similar code?
i tryed to simply add it as embedded resource,
i tryed the compiler option /win32manifest: though it says that the compiler doesnt know that command... that is the command that VS2008 is useing to add them. is there maby somehthing else VS2008 does with them first??
please help me out :)
Fjux
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Roei BarRank #1,271 · 1.4K reputationPosted Sep 7, 2009, 1:05 PM EDT
then call the .NET mt tool like this
hope this helps
nick van Alst13 reputationPosted Sep 8, 2009, 1:23 AM EDT