Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not load file or assembly 'Microsoft.Windows.Design.Extensibility'?

Strange. I am trying to deploy my application, normally there is not problems but recently i played with adding LINQ2SQL to the project and adding Entity Framework.. but removed them. Now when i try to deploy to my server, running it i am getting this error.. and i can't find a way to fix it ! I never used this assembly.. but i suspect Entity Framework or LINQ2SQL to have caused this.

Could not load file or assembly 'Microsoft.Windows.Design.Extensibility, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

Additional infos:

  1. I am using a Website project and not a web application project.
  2. I am using DevExpress but i added all their dll to the bin folder and that never caused any problems.

Any ideas ?

Thanks!

like image 688
Rushino Avatar asked Jun 03 '11 17:06

Rushino


2 Answers

I had this issue and solved it by removing the DevExpress.Xpf dlls from the bin folder after reading a comment on this DevExpress thread

like image 99
PMC Avatar answered Oct 09 '22 21:10

PMC


This DLL is part of Visual Studio. You should be able to add it through Add Reference > Assemblies

Hover over the name to see where the location is and pick the one corresponding to your version of Visual Studio.

enter image description here

like image 29
Simon_Weaver Avatar answered Oct 09 '22 22:10

Simon_Weaver