wpf - `Could not load file or assembly 'Microsoft.Windows.Shell` , Prism - C# -
i'm trying run prism (mef) example project, error:
managed debugging assistant 'bindingfailure' has detected problem in 'prism4mefdemo.vshost.exe'.
additional information: assembly display name 'microsoft.windows.shell' failed load in 'load' binding context of appdomain id 1. cause of failure was: system.io.fileloadexception: not load file or assembly 'microsoft.windows.shell, version=3.5.41019.1, culture=neutral, publickeytoken=31bf3856ad364e35' or 1 of dependencies. located assembly's manifest definition not match assembly reference. (exception hresult: 0x80131040)
i've tried remove , manualy add reference microsoft.windows.shell
still nothing.
the version of dll 3.0.1.0
, , not 3.5.41019.1
in exception.
this line excecption:
protected override dependencyobject createshell() { return this.container.getexportedvalue<shellwindow>(); }
how can fix it? thanks.
finally solved issue installing multilingual app toolkit here , add reference "microsoft.windows.shell.dll" location "c:\program files (x86)\multilingual app toolkit" or copy dll private assembly folder , refer it.
when install microsoft.windows.shell.dll nuget, installing v3.0.1, actual expected version v3.5.41019.1. ll new version above path.
thanks
Comments
Post a Comment