Project references to the various parts of the Azure SDK should live in the installation of the Azure SDK, but for some odd reason my code (an Azure Mobile Service) can no longer see Microsoft.WindowsAzure.Diagnostics:
I should be able to pick the Microsoft.WindowsAzure.Diagnostics.dll up from my Azure SDK 2.7 installation, but here's what I see in the SDK's 'ref' directory:
I.e. I just have
but I do not have Microsoft.WindowsAzure.Diagnostics.dll. Interestingly there is an NuGet package called Unofficial.Microsoft.WindowsAzure.Diagnostics, with over 30,000 downloads, which suggests that I am not the only one having this problem.
Where should I reference Microsoft.WindowsAzure.Diagnostics from; is it a DLL somewhere in an SDK or in a NuGet package; where is it?
For one or more resources, select Diagnostic settings under Settings on the Azure Monitor menu and then select the resource. For the activity log, select Activity log on the Azure Monitor menu and then select Diagnostic settings.
The Azure Diagnostics VM extension enables you to collect monitoring data, such as performance counters and event logs, from your Windows VM. You can granularly specify what data you want to collect and where you want the data to go, such as an Azure Storage account or an Azure Event Hub.
Azure diagnostics extension is an agent in Azure Monitor that collects monitoring data from the guest operating system and workloads of Azure virtual machines and other compute resources.
Windows diagnostics extension (WAD) Write to data to blobs in Azure Storage in addition to tables. Application Insights. Collect data from applications running in your VM to Application Insights to integrate with other application monitoring. See Send diagnostic data to Application Insights.
You can find it here: C:\Program Files\Microsoft SDKs\Azure\.NET SDK\v2.7\bin\plugins\Diagnostics
. With SDK version 2.5, diagnostics is now a plugin.
It's not in C:\Program Files\Microsoft SDKs\Azure\.NET SDK\v2.7\ref
, but is in
C:\Program Files\Microsoft SDKs\Azure\.NET SDK\v2.7\bin\plugins\Diagnostics\Microsoft.WindowsAzure.Diagnostics.dll
It was a simple matter of removing the stale reference and re-adding it through the Reference Manager:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With