views:

143

answers:

2

Deploying a Web Application Project from VS2010 RTM causes an error in MSBuild. It complains that the PipelinePreDeployCopyAllFilesToOneFolder target cannot be found.

Is there any way to further diagnose this?

Thank you.

A: 

Do you have Visual Studio 2010 installed on the machine where you are trying to build? If so then look for a file located at %Program Files(x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets it should have that target. If it doesn't then those files may have been corrupted and probably reparing your VS 2010 install should fix it.

I think the Web Deployment targets/tasks are shipped with VS itself and not the .NET framework, so you need VS installed (or you can manually configure the machine)/

Sayed Ibrahim Hashimi
reinstalling my computer. vs2010 installed to clean pc and still shows the same error.
Miloš Savara
A: 

@Sayed "it should have that target. If it doesn't then those files may have been corrupted and probably repairing your VS 2010 install should fix it."

"It" being what, exactly? If I'm looking for a reference to the path you mentioned, where should I be looking? I'd like to remedy this without re-installing VS2010

Neurothustra