Gabriel Bursztyn Gabriel Bursztyn - 1 year ago 254
C# Question

Visual Studio Publish, The “PublishTelemetry” Task Could Not Be Loaded

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
Confirm that the declaration is correct, that the assembly and all its
dependencies are available

Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download