简体   繁体   中英

C# project : How to add an executable to the project?

I have a VS2008 C# project that use a 3rd party executable. What is the best way to add this executable to the project , such that it will be released when publishing the project? As a resource?

Thanks!

If you want to use it's public API, add it as a reference. If you don't, it doesn't really matter. You can just add it to you project by dragging it into the solution explorer and set it's properties in the properties window. There you can select to publish it with the rest of the assemblies.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM