Search Issue Tracker
Not Reproducible
Votes
0
Found in
5.2.2f1
Issue ID
736729
Regression
No
[UWP] Deployment canceled by user when build and running
Build and running UWP application from editor, usually ends up with "Deployment canceled by user." error, though nothing was done to cancel it.
Repro steps:
1. Create empty project;
2. Build and run from editor on WSA Universal 10 XAML/D3D, non development build. After a while getting this errot in the console:
Exception: Failed to build Visual Studio project using arguments 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\..\IDE\devenv.com "G:\\522f1-BNR-uni10-xaml\test.sln" /deploy "Master|x86"'.
Output:
Microsoft Visual Studio 2015 Version 14.0.23107.0.
Copyright (C) Microsoft Corp. All rights reserved.
The license for Visual Studio expires in 87 days.
1>------ Build started: Project: test, Configuration: Master x86 ------
1> UnityInstallationDir "D:\Unity 5.2.2f1\Editor".
1> UnityWSAPlayerDir "D:\Unity 5.2.2f1\Editor\Data\PlaybackEngines\metrosupport".
1> UnityProjectDir "E:\_5.2 test projects\test".
1> Copying unprocessed assemblies...
1> Running AssemblyConverter...
1> AssemblyConverter done.
1> test -> G:\522f1-BNR-uni10-xaml\test\bin\x86\Master\test.exe
1> Starting .NET Native compilation
1> Processing application code
1> Computing application closure and generating interop code
1> Compiling interop code
1> Generating serialization code
1> Cleaning up unreferenced code
1> Running native compilers
1> Generating fixups for native code
1> Compilation successful.
1>
2>------ Deploy started: Project: test, Configuration: Master x86 ------
2>Error : DEP4010 : Deployment canceled by user.
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
---
FIXED by "Windows Store Apps Tools 1.1.1" update in Visual Studio.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
Add comment