API restriction: The assembly <WindowsBase.DLL> has already loaded from a different location. - Peter's Software House

API restriction: The assembly <WindowsBase.DLL> has already loaded from a different location.

I have been getting an error similar to the ones found here and here.

The difference is mine was for the WindowsBase.dll.  I tried removing the reference, restarting VS.NET, redoing the reference, restarting my machine, nothing wanted to work.  I was getting totally p!$$#d off!

So I created a new WPF app, attached all the files from my old app and …..   It worked.  

Hope this helps someone else.

Published Wednesday, June 11, 2008 12:32 PM by Pieter
Filed under: ,

Comments

# re: API restriction: The assembly <WindowsBase.DLL> has already loaded from a different location.

I had the same problem after trying out the PEX Extension to Visual Studio with an App using WPF ! After uninstalling the problem went away. Go figure :-)

Peter

Tuesday, February 17, 2009 4:47 PM by Peter Dietz

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above: