Visual Studio 2017 Deployment Error


3 posts
by MCPorche » Mon Mar 20, 2017 5:46 pm
Sign in to vote
0

Sign in to vote




I'm having an issue trying to deploy an app to my Raspberry PI 3.

I created the app in Visual Studio 2017, and it builds fine. I opened up the IOT dashboard and went into my Pi's Device Portal. I went to the debugging tab and clicked "Start" to start the Remote Debugger. It reports that it started.

I then go into my solution properties for my app and select my Pi as Machine Name and Uniersal (Unencrypted Protocol) for authentication type.

I make sure that Debug, Arm, and remote Machine are selected and click the go button next to remote machine.


It says that the Deploy Started, then returns error "DEP6720: Failed to deploy package 'Native Debugger.' DEP6951: Access is denied to the path on the device: "C:\Data\Users\DefaultAccounts\AppData\Local\DevelopmentFiles\VSRemoteTools\arm\msvsmon.exe'

If I click "yes" when it asks if I want to continue, it gives me the error "BootstrapForDebugging returned null instead of IPAddress & PortNumber of the remote msvsmon process."


Any ideas?


Thanks
Posts: 3
Joined: Wed Nov 09, 2016 5:20 pm
by beta-tester » Tue Mar 21, 2017 7:32 pm
i am pretty sure you will get more quicker an answer about that from microsoft community.
VS2017, Win IoT are mircosoft products. and you only have problems with that mircosoft part. so better to ask them.
[I only give negative feedback]
RPi Model B (rev1, 256MB) & B (rev2, 512MB) & B+, RPi2B (1GB), 64GB microSDXC1 class 10, HDMI 1920x1080, keyboard-mouse-combo (wireless), PiCamera, ethernet-cable, 5V/1.2A power supply, Wifi dongle (rt5370)
Posts: 857
Joined: Fri Jan 04, 2013 1:57 pm
Location: de_DE
by sanbrother » Fri Mar 24, 2017 3:26 pm
Method 1. Try restart the board.
Method 2. Or maybe kill msvsmon.exe in the Portal page

Method 2 works for me
Posts: 3
Joined: Fri Mar 24, 2017 3:16 pm