I have developed a relatively small windows form application using Visual Studio 2010.
When I build a release version of the application I find the executable in bin/release/ along with a bunch of dll files that are required to it's functionning.
My question is the following:
Is there a way for visual studio to compile the application such that the dll files are "packaged" (I think that is the term?) within the executable so that I could distribute the program as a single .exe file?
Thanks!
Create new setup and deployment project
Create new project in vs2010
File -> New -> Project a windows will appear select other project Types --> Setup and Deployment and select Installshield or visual studio installer -- your choice.
refer msdn about setup and deployment
it will create Distributable executable.
尝试ILMERGE它可能会用于合并本机dll ILMERGE
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.