由于在商店中部署我的UWP应用程序的Windows 10(beta &私人),我不能再部署到我的手机(ARM),平板电脑模拟器(x86)和我的本地机器(Surface Pro 3)进行测试。UWP部署错误部署后存储 - Windows 10
我已经重新启动我的两个手机和SP3,但我仍然得到了同样的错误:
Severity Code Description Project File Line Suppression State
Error Error : DEP0001 : Unexpected Error: Install failed.
Please contact your software vendor. (Exception from HRESULT: 0x80073CF9)
我GOOGLE了错误,并发现这篇文章:
https://msdn.microsoft.com/en-us/library/windows/desktop/hh973484(v=vs.85).aspx
根据这篇文章/页,我应该检查AppXDeployment-Server日志
ERROR_INSTALL_FAILED 0x80073CF9
Package install failed. Contact the software vendor.
Check the AppXDeployment-Server event log for more info.
我做过了,但没有找到有用的东西。我刚试图重新部署到我的手机,没有添加任何条目。此日志中的最后一项是从现在起的52分钟。我也检查了AppXDeployment日志,但没有任何东西!
它可能与Visual Studio生成新证书有关吗?我不确定是否诚实。
当我尝试将其部署到模拟器或本地计算机,我得到一个不同的错误:
Severity Code Description Project File Line Suppression State
Error 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)
我设法找到这篇文章后,以解决此问题:
Error: DEP0700: Registration of the app failed. An internal error occurred
现在我的本地机器&再次在我的模拟器上工作,但直到现在我从来没有这样做过。
我认为相关的事实,我尝试修复我的VS 2015年,它把事情搞乱,因为我发现我的目标版本&民版从10586变更为10240
我决定上述威力重新安装10586和26624的Windows软件开发工具包,但问题仍然存在。我仍然无法直接在我的设备上部署(ARM)。
任何帮助将不胜感激,我想做的最后一件事是不得不擦拭我的机器!
谢谢。
蒂埃里
UPDATE-1:
我刚刚创建了一个新的空白UWP这仍然有效,这将导致你相信这个问题是不是与机器上的文件,视觉工作室或我的手机。从它的外观来看,我的UWP项目中有些东西被搞砸了,但是什么?
我也注意到,我所有的10240模拟器都丢失了,不是我需要它们,但我想我会提到它。
更新2:
这里是输出日志的情况下,它可以帮助:
1>------ Build started: Project: MyApp, Configuration: Debug ARM ------
1> MyApp -> C:\Windows Universal\MyApp\MyApp\bin\ARM\Debug\MyApp.exe
1> Starting .NET Native compilation
1> Processing application code
1>C:\Windows Universal\MyApp\MyApp\Resources.System.Linq.Expressions.rd.
xml(35): warning : Method 'CreateLambda'
within 'System.Linq.Expressions.Expression' could not be found.
1>C:\Windows Universal\MyApp\MyApp\Resources.System.Linq.Expressions.rd.
xml(91): warning : Method 'ParameterIsAssignable'
within 'System.Linq.Expressions.Expression' could not be found.
1> Computing application closure and generating interop code
1> Generating serialization code
1> Compiling interop code
1> Cleaning up unreferenced code
1> Generating native code
1> Generating fixups for native code
2>------ Deploy started: Project: MyApp, Configuration: Debug ARM ------
2>Deploying to Phone Internal Storage...
2>Updating the layout...
2>Copying files: Total 11 mb to layout...
2>Checking whether required frameworks are installed...
2>Registering the application to run from layout...
2>Error : DEP0001 : Unexpected Error: Install failed. Please contact
your software vendor. (Exception from HRESULT: 0x80073CF9)
我比较既为新的应用解决方案和项目文件(工作)和我的实际应用程序,并没有看到任何关键。存在差异,但是当逐个删除它们时,结果没有什么不同。
我通过IDE现在做同样的,只是发现了Compile with the .NET Navite Tool Chain
在我的新的应用程序和打勾是不是在我的实际应用。我现在选择了它,但仍然没有运气。唯一的区别是,在抛出报告的错误之前,似乎需要花费更长的时间才能部署。
UPDATE-3:
注意“与.NET本地工具链编译”是因为一个项目,因为在发行模式,而另一次是在调试模式,但对无影响问题。
我试着重置证书,将其设置为临时证书,但再次没有改变!
项目属性中的选项没有差异。我找到了解决方案,浪费了我的时间!我会在第二秒发布它作为答案,但它可能是其中之一!
不敢相信被困在这30分钟!谢谢您的帮助! – AbsoluteSith
你好他们!似乎很头疼。您可以发送邮件给我们,如[email protected]?我很乐意让VS的某个人看看让这个体验变得更好。 –
@MattWhilden我不介意,但问题已经解决,因此我不知道我是否会有任何帮助?让我知道。 – Thierry