How to fix error The target "GatherAllFilesToPublish" does not exist in the project
June 24, 2013 by Anuraj
.Net ASP.Net Visual Studio
Today while publishing a web application I got a strange error like this from Visual Web Developer express.
The target “GatherAllFilesToPublish” does not exist in the project.
Web publishing was working without any problems, only reason was I have installed Windows Azure SDK. Then found the solution, thanks to Google. Here is the solution.
- Rename the Microsoft.WebApplication.targets to Microsoft.WebApplication.targets.old
- Install/Repair using the exe at http://go.microsoft.com/fwlink/?LinkId=253458
After installation you may need to restart Visual Studio / System. It worked for me without any restart.
Happy Programming
Copyright © 2024 Anuraj. Blog content licensed under the Creative Commons CC BY 2.5 | Unless otherwise stated or granted, code samples licensed under the MIT license. This is a personal blog. The opinions expressed here represent my own and not those of my employer. Powered by Jekyll. Hosted with ❤ by GitHub