Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not load file or assembly 'Microsoft.AI.Agent.Intercept' or one of its dependencies

I had to copy all of my ASP>NET MVC5 project to a new project and after that when i try to run it i am getting this error

Could not load file or assembly 'Microsoft.AI.Agent.Intercept' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

I have done some research but could not find anything about it also i deleted the content of whole bin file, cleaned the project and done rebuild but it didnt work. I am new to MVC5 and dont know what to do. Any help would be appreciated.

like image 672
Tartar Avatar asked Feb 26 '16 09:02

Tartar


1 Answers

Did you manually removed Microsoft appInsights dlls from your project and tried to add it back?. You need to also install Microsoft ApplicationInsights Instrumenation Intercept Extension nuget package where that dll is contained.

like image 92
Guillermo Londono Avatar answered Sep 18 '22 14:09

Guillermo Londono