7

我发现一些帖子提到了这个错误,但没有一个有帮助。我创建了一个新的 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。任何帮助,将不胜感激!

4

5 回答 5

6

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

编辑

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

于 2012-12-19T16:48:48.940 回答
1

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

起作用的是使用“以管理员身份运行”启动 Visual Studio 2012

于 2013-09-26T22:22:28.827 回答
0

似乎,这个问题必须做一些事情来安装应用程序到本地机器和模拟器

于 2013-01-17T12:26:44.653 回答
0

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

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

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

希望这可以帮助。

于 2014-02-18T08:57:31.587 回答
-1

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

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

于 2015-03-02T15:51:00.727 回答