Visual Studio 2012构建错误 [英] Visual studio 2012 build error

查看:127
本文介绍了Visual Studio 2012构建错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试在本地计算机上运行应用程序时出现此错误。

I get this error when trying to run the application on local machine.

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

推荐答案

下面的文字来自 http://paraswadehra.blogspot.nl/2012/12/error-dep0700-registration-of-app.html [ ^ ]并可能包含您问题的解决方案。

试试看它是否有效。



Below text is from http://paraswadehra.blogspot.nl/2012/12/error-dep0700-registration-of-app.html[^] and may contain the solution to your problem.
Give it a try a see if it works.

引用: Paras Wadehra [ ^ ]

错误:DEP0700:注册该应用程序失败了。发生内部错误。



因此,您已经开始了Windows 8应用程序开发之旅。所有事情都很顺利,直到有一天你在尝试运行/调试应用程序时遇到此错误。错误显示错误:DEP0700:应用程序注册失败。出现内部错误,错误0x80073D05。请参阅http://go.microsoft.com/fwlink/?LinkId=235160以获取有关诊断应用程序部署问题的帮助。(0x80073cf6)



这是一个非常神秘的错误,并没有给你任何关于问题实际是什么的信息。问题是Visual Studio无法删除本地包文件夹中的应用程序数据。



别担心,解决方案实际上非常简单。在Windows 8计算机上,转到C:\Users \< username> \ AppData \ Local \Packages \文件夹。在那里你会找到一个包含你的应用程序包名称的文件夹 - 你只需要删除该文件夹。问题是,当您的应用程序处于开发状态时,它可能会有一个随机GUID作为其包名称系列名称,因此该文件夹也会将该随机GUID作为其名称,这使得很难知道哪个文件夹属于您的应用程序。同样,这也很容易找到。在Visual Studio中右键单击您的项目,然后单击属性。您在程序包系列名称字段中看到的值是您应在文件夹中查找的名称。只需将其删除并再次构建您的解决方案,它将像魅力一样运行。



要记住的两件事:

- 关闭视觉删除文件夹之前的Studio和模拟器​​,以确保顺利删除。

- 您可能必须使用管理员帐户删除该文件夹。

Error: DEP0700: Registration of the app failed. An internal error occurred.

So you''ve started your Windows 8 app development journey. All things are going smooth until one day you hit this error when trying to run/debug your app. The error says "Error: DEP0700: Registration of the app failed. An internal error occurred with error 0x80073D05. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues. (0x80073cf6)"

This is a very cryptic error and does not give you any info about what the problem actually is. The problem is that Visual Studio is not able to delete the application data in your local packages folder.

Don''t worry, the solution is actually very simple. On your Windows 8 machine, go to C:\Users\<username>\AppData\Local\Packages\ folder. There you will find a folder that has your application''s Package Family Name in it - you just need to delete that folder. The issue is that while your app is in development, it might have a random GUID as its Package Family Name, so the folder will also have that random GUID as its name which makes it hard to know which folder belongs to your app. Again, that is easy to find as well. Right click your project in Visual Studio and click properties. The value you see in the "Package Family Name" field is the name you should look for in the folder. Simply delete it and build your solution again and it will run like a charm.

2 things to keep in mind:
- Close Visual Studio and the simulator before deleting the folder to ensure smooth deletion.
- You may have to use an administrator account to delete that folder.


软件包系列名称的文件夹不存在于软件包中,
that folder of package family name doesnot exist their in packages,


这篇关于Visual Studio 2012构建错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆