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

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
var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-35662136-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + ''; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();