I am not able to publish to azure my web api, after updated Visual studio 2015 update 3. The error message says:
The “PublishTelemetry” task could not be loaded from the assembly C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.Tasks.dll. Confirm that the declaration is correct, that the assembly and all its dependencies are available
I have found the fix here. I edited with admin rights, the file
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.targets
and removed the tag PublishTelemetry
and its using tag. After edition, I restarted visual studio. Now I am able to deploy again.
Even after editing the admin rights it wasn't working so I just install the MSBuild.Microsoft.VisualStudio.Web.targets from NuGet.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With