Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows 10 UAP deploy code 705 and DEP0700 / DEP6100 / DEP6200

I'm trying to make a new version of my apps to target w10 with Visual Studio 2015 community on a surface pro (v1). I installer w10 with the update and Visual studio 2015 community final version.

I create a new project (or download a sample, same result), i try to debug. Tells me it needs to be deployed first. Ok, i try to deploy on device (or simulator, same result) and i get the error: CopyWin32Resources failed with exit code 705

Windows has the developper mode active.

If i try to test a "Release" on "Local Machine", i get : Error : DEP0700 : Registration of the app failed. Windows ne peut pas déployer sur le chemin d'accès Release au type de système de fichiers exFAT. (0x80073cfd) (which means "Windows can not to the Release path of the file system type exFat").

If i create a Windows Phone 8.1 Hub app and run it on the Windows 10 512mb emulator, i get the following errors: Error : DEP6100 : The following unexpected error occurred during bootstrapping stage 'Connecting to the device '8BDF218D-FDBB-4A97-90F9-3AA33B559A92'.': Error : DEP6200 : Bootstrapping 'Mobile Emulator 10.0.10240.0 WVGA 4 inch 512MB' failed. Device cannot be found.
There isn't any problem with the 8.1 512mb emulator.

I can run the Windows 10 emulator with the command line: "C:\Program Files (x86)\Microsoft XDE\10.0.10240.0\XDE.exe" /name "Mobile Emulator 10.0.10240.0 WVGA 4 inch 512MB.conta" /displayName "Mobile Emulator 10.0.10240.0 WVGA 4 inch 512MB" /vhd "C:\Program Files (x86)\Windows Kits\10\Emulation\Mobile\10.0.10240.0\Flash.vhd" /video "480x854" /memsize 512 /diagonalSize 4 /language 409 /bootlanguage 409 /creatediffdisk "C:\Users\conta\AppData\Local\Microsoft\XDE\10.0.10240.0\dd.480x854.512.vhd" /snapshot /fastShutdown where "conta" is my windows username. Even with the emulator started (and visible in Hyper-v), i'm back to the "CopyWin32Resources faile with exit 705" error with a Windows 10 app and the DEP6100 and DEP6200 with a Windows 8 app on the Windows 10 emulator.

Does anyone would have an idea of why please ? Thank you.

like image 818
Netah Avatar asked Jan 07 '23 09:01

Netah


2 Answers

Ok, on the surface pro, i have a sdcard. I use to put all my datas (and source code) on it and it seems to be the source of my problems.

If i create a Windows 10 project in my c:\ drive, folder by default, i can deploy and debug my Windows 10 apps.

This is only a partial solution (local machine) because i still have the problems to debug in Windows 10 mobile emulators. There is solution (not working for me) from Nicolas Delabarre here: https://social.msdn.microsoft.com/Forums/fr-FR/ea4e016c-2ea6-4b2c-b507-dcc91b31c904/probleme-lancement-application?forum=winstoreappsfr In regedit, add the key: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SirepClient] "DisableProtocol3"=dword:00000001 then restart Visual Studio

like image 184
Netah Avatar answered Mar 15 '23 02:03

Netah


I have a Surface Pro 4 and I use the SD card to keep all my documents including my code. I had the same issue where I could not debug the code and tried the solution proposed by Netah, I added the registry key but it did not solve my problem.

The solution that worked for me was to change the output path (right click project, select Properties -> Build tab -> Output path) to a folder in the C: drive and it worked perfectly well.

OutputPath

like image 45
EPR Avatar answered Mar 15 '23 02:03

EPR