Visual studio项目需要部署才能启动

Visual studio the project needs to be deployed before it can be started

当开始在模拟器或设备上 Windows Phone(即使是空白应用程序)上测试应用程序时,会弹出此错误 "The project needs to be deployed before it can be started"。 "verify the project is selected to be deployed in the solution configuration manager, or depoly it explicitly by clicking one of the deploy commands in the Build menu" 模拟器将启动 & 运行 成功,仍然无法在模拟器上部署应用程序。

2>错误:找不到指定的模块。 (HRESULT 异常:0x8007007E)

可能是因为您的 BuildDeploy 配置未启用。启用这些配置。执行以下步骤:

第 1 步:通过单击活动的解决方案配置打开配置管理器。默认为 <Debug>:

第 2 步:通过选中 Any CPU 的复选框启用 BuildDeploy 配置。

在此之后,您可以尝试 运行 您的应用程序。它应该可以正常工作。

希望对您有所帮助!