在 Visual Studio 2008 中将控制台应用程序转换为 Windows 应用程序?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/292521/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Converting Console Application to Windows Application in Visual Studio 2008?
提问by Vinko Vrsalovic
I found this solutionwhich works, but I find it hard to believe there isn't a one-click solution to this problem.
我发现这个解决方案有效,但我发现很难相信没有针对此问题的一键式解决方案。
Do you know a better way?
你知道更好的方法吗?
采纳答案by OJ.
No, there isn't a "better" way. This is really the only way :) (unless you create your own project converter).
不,没有“更好”的方法。这确实是唯一的方法:)(除非您创建自己的项目转换器)。
回答by Filip Fr?cz
This is the only way. You could, I guess, edit the project files by hand to add references, but I would stick with the IDE.
这是唯一的方法。我猜您可以手动编辑项目文件以添加引用,但我会坚持使用 IDE。