How to solve Windows Azure Diagnostic Runtime Error (Could not create WindowsAzure.Diagnostics, Version=xx, Culture=neutral, PublicKeyToken=xx

前端 未结 4 641
无人共我
无人共我 2020-12-16 17:32
privateLibManager libManager;
private LibManager Connect()
{
   this.libManager=new LibManager();//here we are getting an error
}

Error:

4条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-16 18:00

    Ok So even I had this exception being thrown continuously. However, my case was a little different.

    I wanted to get rid of this reference as it was no longer required in the project. So I removed it from the references. But while running the application, I started getting this exception at a Debug.WriteLine(...); statement which suggested that the reference was required.

    On further analysis, I found that the below section was present in the project's app.config file which was the cause of the exception.

    
          
            
              
            
          
        
    

    After removing the reference AND also removing the above section from config file, the issue got fixed.

    Hope this helps!

提交回复
热议问题