Reputation: 71
I am getting error while publishing worker role from Visual Studio 2013 with update 5. When i select worker role project and click on publish, it is showing me below error on pop up window and i am not able to move ahead:
There was an error reflecting type 'Microsoft.Cct.AzureDiagnostics.ObjectModel.PublicConfig'.
Any help related this is appreciated. Please let me know if you need more information.
Upvotes: 7
Views: 1482
Reputation: 18942
I found the solution here:
In your Azure project, edit any diagnostics.wadcfgx
files in a text editor, and set <IsEnabled>false</IsEnabled>
(near the bottom)
Right click project > Publish, untick Send diagnostics data to Application Insights
, hit Next
I had upgraded from Azure SDK 2.3 to 2.9.
Upvotes: 4
Reputation: 34922
I had this exact issue after upgrading Azure Tools from 2.6 to 2.9 - I solved it by going into Programs and Features and uninstalling all items that started with "Microsoft Azure" and had a 2.6 version number in the name, leaving only the 2.9 behind (all with Visual Studio 2013 closed). Then I restarted Visual Studio 2013 and it magically started working properly!
Upvotes: 2
Reputation: 11
I.ve installed the Azure SDK 2.7 (the features for VS2013), restarted the VS2013 and it worked again, you can download the SDK items manually at https://www.microsoft.com/en-us/download/details.aspx?id=48178
Upvotes: 1