views:

201

answers:

3

Hi, 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). What is the best way to convert it?

+5  A: 

Create a new Web Service (or Web Application) project and add the class library files to it.

Robert S.
A: 

You don't really need to do this.

There's plenty of info out there on using class library projects for web applications - see here for one example.

David Kemp
+1  A: 

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>

Grzenio