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
But in the second project I get this window.
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.
精彩评论