Click here to Skip to main content
15,891,943 members

Comments by Alun Jones (not MVP) (Top 3 by date)

Alun Jones (not MVP) 26-Sep-16 9:57am View    
It never required administrative privileges before.
It doesn't require admin privileges to deploy successfully to a Windows 8.1 phone.
Finally, of course, the error is coming during the deployment to the PHONE, so it won't likely matter what privileges I have on the PC.
Alun Jones (not MVP) 26-Sep-16 9:56am View    
I don't just believe you, I'm getting the same error myself.
Alun Jones (not MVP) 25-Sep-16 23:24pm View    
David, this isn't an app-caused permissions problem. I've updated to a new phone, a Lumia 950 with Windows 10 Mobile, and I'm getting this error every time I try to debug applications that worked perfectly well on my previous phone (HTC 8X running WP8.1).
This occurs across multiple WP8.0 applications I'm trying to deploy and debug.
Here's example build output from debugging the same build of the same application to a Windows 10 phone:
----
Hide   Copy Code
1>------ Deploy started: Project: MathApp, Configuration: Debug Any CPU ------
1>Deploying C:\Users\ralun\Source\Repos\MathApp\MathApp\Bin\Debug\MathApp_Debug_AnyCPU.xap...
1>Connecting to Device...
1>The application is already installed on the device. Checking if an incremental deployment is possible...
1>Doing incremental deployment...
1>Updating information related to modified files...
1>Deployment of application to device failed.
1>Error writing file '%FOLDERID_APPID_INSTALL%\{273648eb-88dd-426b-a56b-d74f35411484}\BigAlgebra.dll'. Error 0x80070005: Access is denied.
1>
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
And here's what happens when debugging on a Windows 8.1 phone:
----
Hide   Copy Code
1>------ Deploy started: Project: MathApp, Configuration: Debug Any CPU ------
1>Deploying C:\Users\ralun\Source\Repos\MathApp\MathApp\Bin\Debug\MathApp_Debug_AnyCPU.xap...
1>Connecting to Device...
1>The application is already installed on the device. Checking if an incremental deployment is possible...
1>Doing incremental deployment...
1>Updating information related to modified files...
1>Deployment of C:\Users\ralun\Source\Repos\MathApp\MathApp\Bin\Debug\MathApp_Debug_AnyCPU.xap succeeded.
========== Deploy: 1 succeeded, 0 failed, 0 skipped ==========
As you can see, the difference here is that it works on Windows 8.1 on an HTC 8x, and it fails on a Lumia 950 running Windows 10.

This is not a problem with application permissions.
Yes, it's a permissions problem, or a locking problem, but it appears to be caused by the OS, and it needs fixing in the OS - or the deployment code in Visual Studio (I'm using VS2013 for now, with all patches and updates applied).