如何调试Windows UWP应用程序?

问题描述 投票:0回答:1

当我尝试从Windows 10中运行的Visual Studio 2017调试我的UWP项目时,它总是出错,它无法找到AppxManife:DEP0700: Registration of the app failed. [0x80073CF0] error 0x80070003: Opening file from location: AppxManifest.xml failed with error: The system cannot find the path specified

visual-studio parallels xamarin.uwp
1个回答
1
投票

解决此问题的步骤如下:

  1. 卸载UWP项目(右键单击项目,然后选择“卸载项目”)
  2. 在VS中编辑项目文件(右键单击卸载的项目,然后选择“编辑...”)
  3. 查找OutputPath的XML条目。例如,构建Debug | x86时OutputPath的条目应该类似于bin / x86 / Debug。请注意,该条目包含相对路径。
  4. 编辑其中一个VM驱动器上的绝对路径的路径。例如,要设置C:\ UWPBuilds \ x86 \ Debug目录的路径。
  5. 关闭项目文件
  6. 重新加载项目(右键单击卸载的项目,然后选择“重新加载项目”)。

答案主要基于此处的讨论:https://forum.parallels.com/threads/prlsf-permissions-issue-when-developing-an-uwp-app-in-visual-studio.342549/

© www.soinside.com 2019 - 2024. All rights reserved.