Error while publishing worker role in VS 2013: There was an error reflecting type 'Microsoft.Cct.AzureDiagnostics.ObjectModel.PublicConfig'
Asked Answered
E

3

7

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.

Ehrlich answered 7/10, 2016 at 14:20 Comment(0)
F
4

I found the solution here:

  1. In your Azure project, edit any diagnostics.wadcfgx files in a text editor, and set <IsEnabled>false</IsEnabled> (near the bottom)

  2. Right click project > Publish, untick Send diagnostics data to Application Insights, hit Next

I had upgraded from Azure SDK 2.3 to 2.9.

Forgotten answered 7/12, 2016 at 20:44 Comment(0)
L
2

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!

Loney answered 22/10, 2016 at 21:16 Comment(0)
P
1

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

Persecution answered 14/10, 2016 at 15:22 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.