[英]Change project to Web Application in Visual Studio 2008
in a VS 2008 solution I just inherited there is a normal class library project that actually should be a web application project (because it is a web service indeed).在我刚刚继承的 VS 2008 解决方案中,有一个普通的类库项目,它实际上应该是一个 Web 应用程序项目(因为它确实是一个 Web 服务)。 What is the best way to convert it?转换它的最佳方法是什么?
创建一个新的 Web 服务(或 Web 应用程序)项目并向其中添加类库文件。
I also found out that this can be done manually by adding:我还发现这可以通过添加手动完成:
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
to the project file (*.proj) just under <ProjectGuid>...</ProjectGuid>
到<ProjectGuid>...</ProjectGuid>
下的项目文件 (*.proj)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.