Head.SmackOnTable();

Contains Nuts.

MS Build – “Microsoft.WebApplication.targets” was not found.

with 2 comments

This is a stupid error, an oversight by Microsoft. As far as I can tell, you can ONLY install the Web Application pack for vs2005 if you have VS installed – you cant install it on a build server, which is nice and “fun”.

A solution is to just create the directory structure it asks for -

C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\WebApplications\

And copy over the files from your own copy. I don’t know why Microsoft did it this way, but its criminally retarded.

Edit – You can now download the file from here.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • DotNetKicks
  • DZone

Written by Monty

July 22nd, 2008 at 10:13 am

Posted in .NET

Tagged with , , , , ,

2 Responses to 'MS Build – “Microsoft.WebApplication.targets” was not found.'

Subscribe to comments with RSS or TrackBack to 'MS Build – “Microsoft.WebApplication.targets” was not found.'.

  1. [...] What the hell happened there? Well in the infinate wisdom of Microsoft (which I have blogged about before), they did not decide to include the Microsoft.WebApplications.targets file anywhere to be found on [...]

  2. Astonishingly, this is still a problem in VS2010. Just experienced it trying to build an MVC2 project on a 2k8 server.

    zomg

    16 May 10 at 5:16 am

Leave a Reply