Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个包含两个项目的 Visual Studio 解决方案。一个是 Windows 窗体应用程序,另一个是控制台应用程序。当我构建解决方案时,只生成一个可执行文件。这两个项目具有不同的程序集名称。如何为每个项目生成不同的可执行文件?
如果您构建解决方案(F6
TheConsoleApplication/bin/debug TheWindowsApplication/bin/debug
或者
TheConsoleApplication/bin/release TheWindowsApplication/bin/release
(假设默认布局;显然调整名称以适应)