Hack Forums
[.NET] Invoke the Command-Line Compiler - Simple Way To Compile Net - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] Invoke the Command-Line Compiler - Simple Way To Compile Net (/showthread.php?tid=1176387)



Invoke the Command-Line Compiler - Simple Way To Compile Net - no1me - Apr 1, 2011

i see post that some one ask about bat to exe and i begin to check

what i find is this method very simple (the smart guys will know what they can do with this)

vbc.exe /imports:Microsoft.VisualBasic,System Source.vb.

http://msdn.microsoft.com/en-us/library/380cz5k4(v=vs.80).aspx

Enjoy


* - Ph03.nix - Apr 2, 2011

I found this out while playing around with runpes on 64bit 😁
It's very useful to compile code from stubs
I didn't know how to exactly handle the imports

Thanks for posting 👍
Keep it up!


* - no1me - Dec 7, 2011

i dont know why ppl dont use it ! just one line of code . maybe i make vid that show how powerful this can be .


* - wertyl11 - Dec 7, 2011

Ah this is nice.

Tested it and it worked perfectly :)

Thank you for this <333


* - T3chN9n3 - Dec 7, 2011

If you used this you would need VB installed though.


* - pr0t0typ3 - Dec 7, 2011

(Dec 7, 2011 11:43 AM)no1me Wrote:  i dont know why ppl dont use it ! just one line of code . maybe i make vid that show how powerful this can be .
The codedom compiler is doing the same thing, while handling errors and managing all possible set options.




* - no1me - Dec 7, 2011

yhe but just one line make allmost the same
read
http://msdn.microsoft.com/en-us/magazine/ff714560.aspx


* - .CRz - Dec 7, 2011

(Dec 7, 2011 01:41 PM)no1me Wrote:  yhe but just one line make allmost the same
read
http://msdn.microsoft.com/en-us/magazine/ff714560.aspx

yeah, you talk right, allmost the same

nice search mate 👍


* - Invoke - Dec 8, 2011

Saw my name in the title, came to the thread...
sadface

Nothing about me.


* - versx - Dec 8, 2011

(Dec 8, 2011 01:33 AM)Invoke Wrote:  Saw my name in the title, came to the thread...
sadface

Nothing about me.
Lmaoo!

Thanks for pointing this out OP, although I already knew about it I found something on the MSDN page that I've needed for a while, so thanks for posting. 😉