Azure SDK v2.7 diagnostics issue is preventing publish/package

前端 未结 2 2291
一向
一向 2021-02-20 18:01

I\'ve recently upgraded an Azure cloud service with a web role and worker role to v2.7 of the SDK.

Debugging locally works great.

When I try to publish from wi

相关标签:
2条回答
  • 2021-02-20 18:18

    I don't remember the exact error we got but recently we had to add a storage account for diagnostics where previously we didn't. In your ServiceConfiguration you need a line like

      <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="...."/>
    
    0 讨论(0)
  • 2021-02-20 18:19

    I just had this same issue, but I was not missing the settings in Batavia's solution. I didn't see any other posts with the solution I found, so here you go:

    The issue was that there was a file called "diagnostics.wadcfgx" referenced in the csproj of the offending project that was not present in the folder. Removing this item from the proj file resolved the issue.

    0 讨论(0)
提交回复
热议问题