Why am I getting an error before configuring a device in Visual Studio 2015?

為{幸葍}努か 提交于 2019-12-18 14:15:13

问题


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)


回答1:


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.




回答2:


I just applied Update 1 to VS2015 Pro and am now getting the exact same error. It happens regardless of whether I make a new project or use my old 2015 Project. Looks like it's a bug in the update.




回答3:


Not really a fix, but I went back to Visual Studio 2013, as it does not have this bug, and driver dev is working great.




回答4:


I had the message:

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

I was using the wrong architecture in the configuration properties for the project. My target test box is x64 and I had my configuration set to win32. Changing this to x64 fixed the issue for me.



来源:https://stackoverflow.com/questions/34027555/why-am-i-getting-an-error-before-configuring-a-device-in-visual-studio-2015

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!