无法加载DLL'Microsoft.Ex pression.WindowsXamlInterop.dll [英] Unable to load DLL 'Microsoft.Expression.WindowsXamlInterop.dll

查看:305
本文介绍了无法加载DLL'Microsoft.Ex pression.WindowsXamlInterop.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我跑的VisualStudio 2013旗舰版(含混合)在2个独立的机器(不同的供应商),并有同样的问题。

当我双击到MainPage.xaml中创建新的Windows应用商店的应用程序或手机应用程序时,设计人员无法打开。

我收到以下错误:

  

System.DllNotFoundException无法加载DLL   Microsoft.Ex pression.WindowsXamlInterop.dll:指定的模块   不能找到。 (从HRESULT异常:0x8007007E

这发生在VS更新2,3及4 RC。我试图修复VS和.NET Framework。我尝试安装4.5.2。我已删除的内容在ShadowCache目录,但仍没有雪茄。

这个问题让我疯了。这并没有VS更新2 ...我需要一些XAML开发之前发生的。

任何想法?

非常感谢

解决方案
  

无法加载DLL'Microsoft.Ex pression.WindowsXamlInterop.dll

该DLL属于在C:\ Program Files文件(x86)的\微软的Visual Studio 12.0 \混合目录,请确保它的存在。它是一种混合模式的组装,含天然code依赖于其他非托管的DLL,这是错误code顾名思义就是这个问题。它不能被加载,因为依赖DLL之一无法找到

首先是 d3d9.dll d3d11.dll ,DirectX的依赖关系分别DX9和DX11属于在你的C:\ WINDOWS \ SysWow64资料目录。他们又将有一堆依赖自己。当然,问题的根本原因,在DirectX运行库得到由游戏安装和诸如此类的东西弄乱太多。如果有必要,缩小它通过使装载机卡或使用Sysinternals的进程监视器,你会看到它搜索的DLL,而不是找到它。如果您需要帮助修复你的DX安装然后问在superuser.com

问题

I'm running VisualStudio 2013 Ultimate (with Blend) on 2 separate machines (different vendors) and have the same issue.

When I double click on to the MainPage.Xaml when creating new windows store app or phone app the designer does not open.

I receive the following error:

System.DllNotFoundException Unable to load DLL 'Microsoft.Expression.WindowsXamlInterop.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E

This occurs on VS update 2, 3 & 4 RC. I have tried repairing VS and the .net framework. I've tried installing 4.5.2. I have deleted the contents in the ShadowCache directory but still no cigar.

This issue is driving me crazy. This didn't happen prior to VS update 2...which I need for some XAML development.

Any ideas?

Many Thanks

解决方案

Unable to load DLL 'Microsoft.Expression.WindowsXamlInterop.dll'

That DLL belongs in the C:\Program Files (x86)\Microsoft Visual Studio 12.0\Blend directory, make sure it is there. It is a mixed-mode assembly, containing native code which depends on other unmanaged DLLs, which is what the error code suggests is the problem. It cannot be loaded because one of the dependent DLLs cannot be found.

First and foremost are d3d9.dll and d3d11.dll, DirectX dependencies for respectively DX9 and DX11 that belong in your c:\windows\syswow64 directory. They in turn have a bunch of dependencies themselves. Surely the underlying cause of the problem, the DirectX runtime gets messed with too much by game installers and whatnot. If necessary, narrow it down by enabling loader snaps or by using SysInternals' Process Monitor, you'll see it searching for the DLL and not finding it. If you need help repairing your DX install then ask questions at superuser.com

这篇关于无法加载DLL'Microsoft.Ex pression.WindowsXamlInterop.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆