Visual Studio Publish, The "PublishTelemetry" Task Could Not Be Loaded

This is a quick post about an issue I recently had in Visual Studio. I couldn't find any mention of this after Googling so just in case someone has the same issue, here goes: When I tried to do a publish in Visual Studio (after downgrading enterprise to professional) I got this error: 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 After looking in Visual Studio output window I could see the issue was occurring in: C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.targets In the section I found the 'PublishTelemetry' entry and deleted it. Further down in the file I also found the matching which had the same name 'PublishTelemetry' and deleted it. Visual Studio worked again

submit to reddit

Jon D Jones

Software Architect, Programmer and Technologist Jon Jones is founder and CEO of London-based tech firm Digital Prompt. He has been working in the field for nearly a decade, specializing in new technologies and technical solution research in the web business. A passionate blogger by heart , speaker & consultant from England.. always on the hunt for the next challenge

Back to top