不能因错误运行Windows Azure项目:无法找到fileDFUI.exe请验证您的安装是否正确 [英] Cannot run Windows Azure project due to Error: Unable to find fileDFUI.exe please verify your install is correct

查看:177
本文介绍了不能因错误运行Windows Azure项目:无法找到fileDFUI.exe请验证您的安装是否正确的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到以下错误,每当我添加现有的Asp.Net Web应用程序与现有网络的作用的项目。

I am getting the following error, whenever I add an existing Asp.Net web application as existing web role project.

微软的Visual Studio
无法找到fileDFUI.exe请验证您的安装是否正确。

Microsoft Visual Studio Unable to find fileDFUI.exe please verify your install is correct.

确定

我通过使用WPI 2011年11月SDK。
步骤重现:

I am using Nov 2011 SDK via WPI. Steps to recreate:


  1. 创建一个空的Azure项目(没有任何作用)。

  2. 添加现有Asp.Net MVC3项目到解决方案。

  3. 右键单击角色,指向在溶液中添加现有Web角色工程刚才添加的项目。

  4. 重新生成并运行,以查看错误。

请帮忙。

推荐答案

幸得卡森娃从微软谁回答了这个一个在MSDN论坛。

问题的原因是Visual Studio的尝试从AppData的临时目录,即加载DFUI.exe C:\\Users\\\\AppData\\Local\\assembly\\dl3\\GPO8L9XL.JW4\\X9X8K6MA.13N\\139aad8f\\00a876bf_fa99cc01\\DFUI.exe

The cause of the issue is that visual studio tries to load DFUI.exe from AppData temp directory, i.e. C:\Users\\AppData\Local\assembly\dl3\GPO8L9XL.JW4\X9X8K6MA.13N\139aad8f\00a876bf_fa99cc01\DFUI.exe

DFUI.exe不AppData目录存在,因此视觉工作室报告错误。在SDK 1.5,Visual Studio中读取注册表项以找到正确的位置。然而,它看起来像注册表查找在SDK 1.6中删除。

DFUI.exe doesn't exist in AppData directory so visual studio reports the error. In SDK 1.5, visual studio reads a registry key to find the correct location. However it looks like that the registry lookup is removed in SDK 1.6.

目前的解决方法之一是将所有文件复制在C:\\ Program Files文件\\ Windows Azure的仿真器\\模拟器的AppData的临时目录。注意:临时目录路径可能是您的机器上的不同。您可以通过使用进程监视器的路径。
<一href=\"http://technet.microsoft.com/en-us/sysinternals/bb896645\">http://technet.microsoft.com/en-us/sysinternals/bb896645
请运行过程监控,并重现该问题在Visual Studio中。搜索DFUI.exe在日志中,你会发现的路径。

Currently one of the workarounds is to copy ALL the files under C:\Program Files\Windows Azure Emulator\emulator to the AppData temp directory. Note the temp directory path may be different on your machine. You can find the path by using Process Monitor. http://technet.microsoft.com/en-us/sysinternals/bb896645 Please run process monitor and reproduce the issue in visual studio. Search DFUI.exe in the log and you will find the path.

谢谢,

卡森

这篇关于不能因错误运行Windows Azure项目:无法找到fileDFUI.exe请验证您的安装是否正确的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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