Gius
Gius

Reputation: 41

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

Publish Web Site dialog

But in the second project I get this window.

Publish Web dialog

Is there any way 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?

Upvotes: 1

Views: 911

Answers (2)

Sprintstar
Sprintstar

Reputation: 8169

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

Upvotes: 0

Richard
Richard

Reputation: 30628

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.

Upvotes: 2

Related Questions