为什么在Visual Studio 2015中配置设备之前收到错误? [英] Why am I getting an error before configuring a device in Visual Studio 2015?

查看:785
本文介绍了为什么在Visual Studio 2015中配置设备之前收到错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想部署我的驱动程序进行测试。我已经提供了我的目标计算机进行测试(虽然这不重要,因为我甚至还没有在这一步)。在我的主机上打开Visual Studio,然后转到



驱动程序> 测试> / strong>



,并立即显示错误窗口:



解决方案

我已成功配置和配置新设备使用以下方法:


  1. 项目属性

  2. 调试

  3. 远程计算机名称,下拉列表并选择配置...

  4. 成功显示设备配置向导,并且能够提供目标计算机。

然后可以在驱动程序安装 - 部署中选择目标,但是我得到以下内容选择部署时出错。这可能与我的项目有关,请让我知道,如果你也看到这个。

 请选择一个有效的目标机器从项目属性页面部署

更新:上述错误可能简单当我点击部署时选择了错误的配置。


I want to deploy my driver for testing. I have provisioned my target computer for testing (although this shouldn't matter because I am not even at that step yet). On my host computer I open Visual Studio and go to

Driver > Test > Configure Devices

and immediately an error window saying:

Inappropriate request for export from part that belongs to another sharing boundary.

This looks like a bug in my Visual Studio (I have just recently updated to VS Update 1).

I am going to uninstall and reinstall since I have already tried repair. Any other ideas?

UPDATE: Uninstall and Reinstall didn't work. The bug is documented on Microsoft Connect: Fails to load Configure Devices (Closed)

解决方案

I was successfully able to configure and provision a new device using the following method:

  1. Project properties
  2. Debugging
  3. Remote Computer Name, drop down and select Configure...
  4. Successfully shows the device configuration wizard, and was able to provision the target computer.

Was then able to select the target in Driver Install - Deployment, however I get the following error when selecting "Deploy". This could be related to my project tho, please let me know if you also see this.

Please select a valid target machine for deployment from the project property page

UPDATE: the above error may have simply been that I had the wrong configuration selected when hitting Deploy.

这篇关于为什么在Visual Studio 2015中配置设备之前收到错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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