+1 vote
1 view
in Azure by (32.3k points)

I have recently installed the new Azure development tools for Visual Studio 2010 service pack 1. Every time that I try to publish an existing website (using file system deployment) I get the following error:

The target "GatherAllFilesToPublish" does not exist in the project.

Can anyone tell me what I am missing?

Thanks!

1 Answer

+2 votes
by (16.8k points)
edited by

Right-click on your project and then select "Edit" (project name).csproj. (e.g. Edit in notepad)

Are you interested in learning Azure from basics! Here's the right video for you on Azure provided by Intellipaat:

Find this 

<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />

Then, add the following, in the above line.

<PropertyGroup> 

 <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">13.0</VisualStudioVersion>

 <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>

</PropertyGroup>

That's it, save and reload your project.

Hope it helps!

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...