开发者

visual studio 2010 c# simple compile help

开发者 https://www.devze.com 2023-02-09 21:50 出处:网络
Hey I developed a small application and would like to compile it, however 开发者_JAVA百科it comes with loads of extra stuff I dont want. All I want is a stand alone .exe file but instead I am getting

Hey I developed a small application and would like to compile it, however 开发者_JAVA百科it comes with loads of extra stuff I dont want. All I want is a stand alone .exe file but instead I am getting pdb vshost.exe files etc. Is there anyway to get rid of these as I just want 1 .exe


Just copy/paste the exe file out. VS uses those files internally, and one is full of debugging symbols. Your going to want it if you plan on stepping into the code.


All these ''extra stuff'' is not required to run your ''small application''. You can verify that by copying the .exe file to a location where it will be standing alone indeed.

If it is not standing alone, as you say in the comment below: perhaps part of your code does compile to .dll, or you reference external dlls? Could you supply a list of filenames of files that are created?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号