【问题标题】:Windows 8 Blank App + DEP0700 errorWindows 8 空白应用程序 + DEP0700 错误
【发布时间】:2012-12-06 23:27:03
【问题描述】:

我发现一些帖子提到了这个错误,但没有任何帮助。我创建了一个新的 C# Windows Store 项目,当我尝试在模拟器上构建和运行它时,我在 Visual Studio 中收到以下错误:

Error   1   Error : DEP0700 : Registration of the app failed. error 0x80072EE4: The Visual Elements extension failed while processing the Notification element. (0x80073cf6)    TestDeploy

以下是运行另一篇文章中提到的 Power Shell 命令的详细信息:

12/18/2012 3:03:59 PM   404 Error   error 0x80073CF6: AppX Deployment operation failed. The specific error text for this failure is: error 0x80072EE4: The Visual Elements extension failed while processing the Notification element.  
12/18/2012 3:03:59 PM   401 Error   Deployment Register operation on Package cc8bb3bb-d444-4dbe-ae12-64684b12b727_1.0.0.0_neutral__2awvr17ztw74c from:  (C:\Users\myself\documents\visual studio 2012\Projects\TestDeploy\TestDeploy\bin\Debug\AppX\AppxManifest.xml)  failed with error 0x80073CF6. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.   
12/18/2012 3:03:59 PM   605 Information The last successful state reached was PackagesInUseClosed.  
12/18/2012 3:03:59 PM   300 Error   error 0x80073CF6: Cannot register the cc8bb3bb-d444-4dbe-ae12-64684b12b727_1.0.0.0_neutral__2awvr17ztw74c package due to the following error: Package could not be registered.
.   
12/18/2012 3:03:59 PM   316 Error   error 0x80072EE4: Cannot register the cc8bb3bb-d444-4dbe-ae12-64684b12b727_1.0.0.0_neutral__2awvr17ztw74c package because the following error was encountered during the registration of the windows.visualElements extension: <Error message string not found>.    
12/18/2012 3:03:59 PM   306 Error   error 0x80072EE4: While installing the cc8bb3bb-d444-4dbe-ae12-64684b12b727_1.0.0.0_neutral__2awvr17ztw74c package, the system failed to register the windows.visualElements extension due to the following error: <Error message string not found>.    
12/18/2012 3:03:59 PM   5092    Error   error 0x80072EE4: The Visual Elements extension failed while processing the Notification element.   
12/18/2012 3:03:57 PM   10002   Information Creating Resiliency File C:\ProgramData\Microsoft\Windows\AppRepository\4850558d-7f7f-4109-9376-3b78bf5acc86_S-1-5-21-1715567821-179605362-839522115-27106_1.rslc for Register Operation on Package cc8bb3bb-d444-4dbe-ae12-64684b12b727_1.0.0.0_neutral__2awvr17ztw74c.    
12/18/2012 3:03:57 PM   603 Information Started deployment Register operation on a package with main parameter: file:///C:/Users/myself/documents/visual%20studio%202012/Projects/TestDeploy/TestDeploy/bin/Debug/AppX/AppxManifest.xml. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.   
12/18/2012 3:03:57 PM   301 Information The calling process is C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe   

有什么想法吗?我已经完全控制了项目中的每个人,多次重新启动,尝试重新安装 Visual Studio,并以管理员身份运行 Visual Studio。任何帮助将不胜感激!

【问题讨论】:

  • 您是否获得了最新的 SDK 并安装了任何待处理的 Windows 更新?
  • 如何部署到本地机器,而不是模拟器。我在制作自己的项目时看到由于模拟器而出现奇怪的错误
  • 据我所知,一切都是最新的。当我部署到我的本地机器时发生同样的错误:(
  • 答案在消息http://go.microsoft.com/fwlink/?LinkId=235160 中,它告诉您查看事件日志。你没有做的事。

标签: c# visual-studio windows-8 windows-store-apps windows-store


【解决方案1】:

根据我发现的另一个谷歌搜索的建议,我通过杀死并重新启动 explorer.exe 来“工作”。对我来说真的没有意义,或者似乎工作可靠,但至少有时它确实有效......o.O

编辑

一个更有效的解决方案是重新安装 Visual Studio 2012 和安装 Visual Studio Update 1。

【讨论】:

  • 我的 VS 2013 Preview 也遇到了这个问题,我需要重新安装 vs2012 还是 vs2013?我试过重装vs2013,还是不行!
【解决方案2】:

我遇到了同样的错误,在我的情况下,循环 explorer.exe 和卸载/重新安装 Studio 2012 Ultimate with Update 3 都不起作用。

用“以管理员身份运行”启动 Visual Studio 2012

【讨论】:

    【解决方案3】:

    似乎,问题必须在将应用程序安装到本地机器和模拟器方面做一些事情

    【讨论】:

      【解决方案4】:

      我的情况是我复制了一个 WP 8.1 项目并将一些代码合并到复制的项目中。 完成合并后,将其部署到模拟器时收到“无法注册包”消息。

      但是我原来的 WP 8.1 项目在模拟器上成功运行了。

      根本原因是我删除了一些应用程序徽标 png 图像。 VS2013 不会告诉你图像丢失但显示“无法注册包”。

      希望这会有所帮助。

      【讨论】:

        【解决方案5】:

        这发生在我卸载使用 VS 安装的自定义应用程序并尝试通过 VS 或直接使用 Add-AppDevPackage.ps1 脚本重新安装新版本后

        虽然这不是您想听到的,但重新启动为我解决了这个问题。如上所述,我尝试杀死资源管理器进程并重新启动它,但这对我不起作用。

        【讨论】:

          猜你喜欢
          • 1970-01-01
          • 1970-01-01
          • 2023-03-26
          • 1970-01-01
          • 2016-07-29
          • 2014-08-25
          • 1970-01-01
          • 2015-04-20
          • 1970-01-01
          相关资源
          最近更新 更多