Saturday 15 September 2012

c# - "Could not load file or assembly 'PresentationUI.Aero2' or one of its dependencies." Why not? -



c# - "Could not load file or assembly 'PresentationUI.Aero2' or one of its dependencies." Why not? -

in wpf application, next exception on startup:

a first chance exception of type 'system.io.filenotfoundexception' occurred in mscorlib.dll additional information: not load file or assembly 'presentationui.aero2, version=4.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35' or 1 of dependencies.

edit: using fusion log, little more valuable info phone call stack:

log: displayname = presentationui.aero2, version=4.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35 (fully-specified) log: appbase = file:///[...]/bin/debug/ log: initial privatepath = null log: dynamic base of operations = null log: cache base of operations = null log: appname = engidesklauncher.vshost.exe calling assembly : presentationframework, version=4.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35. === log: bind starts in default load context. log: using application configuration file: [...]\bin\debug\engidesklauncher.vshost.exe.config log: using host configuration file: log: using machine configuration file c:\windows\microsoft.net\framework\v4.0.30319\config\machine.config. log: post-policy reference: presentationui.aero2, version=4.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35 log: gac lookup unsuccessful. log: attempting download of new url file:///[...]/bin/debug/presentationui.aero2.dll. log: attempting download of new url file:///file:///[...]/bin/debug/presentationui.aero2/presentationui.aero2.dll. log: attempting download of new url file:///file:///[...]/bin/debug/presentationui.aero2.exe. log: attempting download of new url file:///file:///[...]/bin/debug/presentationui.aero2/presentationui.aero2.exe. log: probing urls attempted , failed.

what find strange, calling assembly presentationframework, .net framework assembly, obviously. .net framework assembly wouldn't phone call assembly not .net framework assembly. anyway, can't find presentationui.aero2.dll anywhere , not google seems know it??

any ideas?

additional information:

.net framework 4.0 windows 8.1

i getting same error , realized stopping in ide because had first chance exceptions turned on, exception doesn't matter , can ignore or go on past it.

c# wpf dll

No comments:

Post a Comment