“GatherAllFilesToPublish” Error in Upgraded VS2013 Projects
I started getting this error after I upgraded my Azure SDK
So the first thing I tried was adding
This stopped the error, but caused all my source files to be copied when I did a publish.
I finally found this, instead of '10.0' I used '12.0' and it worked. My projects publish correctly again.
So the first thing I tried was adding
<Target Name="GatherAllFilesToPublish">to my .csproj file.
</Target>
This stopped the error, but caused all my source files to be copied when I did a publish.
I finally found this, instead of '10.0' I used '12.0' and it worked. My projects publish correctly again.
<PropertyGroup>Hope this helps someone.
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">12.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
Comments