s

Exception Could not load file or assembly Microsoft.WindowsAzure.Configuration edit button Edit

author
Murugan Andezuthu Dharmaratnam | calendar 19 January 2021 | 1348

asp .mvc exception Could not load file or assembly 'Microsoft.WindowsAzure.Configuration' writing code to upload file to blob stroage.

Exception Detail

Could not load file or assembly 'Microsoft.WindowsAzure.Configuration, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Solution

The solution Was to add a reference using NuGet package manager.

  1. Right click on references in the project
  2. Click on Manage NuGet packages
  3. On the browse tag search for Microsoft.WindowsAzure.Configuration
  4. Select Microsoft Azure Configuration Manager by Microsoft
  5. Select the latest version and click on install