15,891,943 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
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).