简体   繁体   中英

Make executable solution containing several projects

I have a solution named Linguistic in which there are 4 projects. Three are Kinect Libraries and one is the main project which is dependable on those 3 projects. the main project has WPF forms. I want to make an executable file for the complete project. I have gone through many links but none of them worked for me. I am using Visual Studio 2013.

You should have an executable project (console or whatever) then you should set such project as the default startup project and that should do it.

The exception to this would be an MVC / asp.net project which generates a different structure as it is meant to be deployed in a web server (typically IIS )

Looking at your latest edit:

Three are Kinect Libraries and one is the main project which is dependable on those 3 projects. the main project has WPF forms

If the main project is a WPF project, then this is what you need to do (for getting an .exe file that doesn't need to be installed):

  1. Switch compilation mode from Debug to Release (so that debug information is not shown to the end user)
  2. Compile the WPF project
  3. Right-click on the WPF project and select "Open Folder in File Explorer"
  4. Open bin\\release
  5. There you have the .exe file that you can open and use, supposing that you don't have any file dependencies that aren't attached to the file itself.

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