Skip to content

How to make exe program?

mervan

Asked Oct 23, 2005, 2:08 PM EDT2 answers
Share
LinkedInX
hi!
i want to ask you a question that:
how can i mak an executable program from my classes that i made using c#
so my program can work on another pc without need to have a visula studio.net on that
pc.
so if any one know i will be thankfull if he reply me.

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    wrong question you don't want to make a exe you just want to make an exe that doesn't use a system refference to the mscorlib.dll to turn off this use the /nostdlib switch on compilation or in visual studio click on the project section of the main menu, click properties, click on advanced (under config properties) and make "Do not use MSCORLIB" true

    now you need to manualy connect to the mscorlib.dll after this your problem should be solved
    0