开发者

Different project types in Visual Studio 2010

Excuse me for the silly question but I just started with Visual Studio. I have two different VS 2010 projects. For the first one when I select "Publish Site" I get this window

Different project types in Visual Studio 2010

But in the second project I get this window.

Different project types in Visual Studio 2010

Is there any w开发者_C百科ay to convert a Web Application into a Web Site?

Is there any difference in the two project? Is one project a web site and the second a web application? How to distinguish among the two types?


You are correct - the first one is a Web Site Project and the second is a Web Application Project. The easiest way to check is to look for the .csproj file - this isn't needed by the Web Site Project as it simply includes all files in a specific folder.

The property pages also look significantly different for the two.


You can convert a website to a web application. Here is a nice walk-through on MSDN.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜