Why am I getting an error before configuring a dev

2019-02-08 08:50发布

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:

enter image description here

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)

4条回答
Deceive 欺骗
2楼-- · 2019-02-08 09:36

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楼-- · 2019-02-08 09:38

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.

查看更多
smile是对你的礼貌
4楼-- · 2019-02-08 09:49

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.

enter image description here

查看更多
放我归山
5楼-- · 2019-02-08 09:51

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... enter image description here
  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.

查看更多
登录 后发表回答