Convert WCF Library Project to WCF Web Service (WCF Application) Project Type

How do I convert WCF Library Project to WCF Web Service (WCF Application) Project Type in Visual Studio?

Answers


I don't agree with Geert's answer. Changing that guid would end up having project convert mid way.

Also having your service code in host project is not considered as best practices. As host project should bother only about hosting, means what end point you want expose, What type of security you want... things like that. Not about service's internal implementation.

I would recommend having library/class project as it is and have separate project in same solution to host it. Host project can be anything you want Console, Web Service or Web/WCF Application project.


By changing the projecttypeguid in the project file (csproj file -> unload project and open file).

From :

<ProjectTypeGuids>{3D9AD99F-2412-4246-B90B-4EAA41C64699};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>

To :

<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>

Need Your Help

iPhone Currency input using NSDecimal instead of float

iphone cocoa-touch keyboard decimal nsdecimalnumber

iPhone/Objective-C/Cocoa newbie here. Based on a number of posts on stackoverflow, I have cobbled together an IBAction that I'm using in a basic iPhone calculator app that I'm building. The IBAction

MonoTouch - Upload/Save image (or access Gallery images)

xamarin.ios monodevelop ipad

I'm a musician and I'm writing a small app for my own use on the iPad: I want to store my scanned music sheets (saved as .TIF files) on the iPad, and create set-list, search by artist, song title, do