Wednesday, June 15, 2011

Just a heads up that when self hosting the new WCF Web API. By default if you try to add the Web API references via Nuget you will get a failure (E_FAIL returned from a COM component).

This is due to the likely project types (Console, Windows Service, WPF) defaulting to the client profile rather than the full framework. If you change the project to the full framework the Nuget packages install correctly

Yet again bitten by the Client Profile

 |  | 
Wednesday, June 15, 2011 8:21:33 AM (GMT Daylight Time, UTC+01:00)  #    TrackbackTracked by:
http://www.syngu.com/development/1180145986/self-hosted-web-api-nuget-gotcha/ [Pingback]