Error DEP0700 0x80073cf3 during Windows 10 UWP application deployment with Visual Studio

三世轮回 提交于 2019-12-05 21:29:05

I had to manually add this to my project to get the CoreRuntime appx to deploy as a dependency when debugging. I assume you can do something similar with the native runtime

<ItemGroup>
  <SDKReference Include="Microsoft.NET.CoreRuntime, Version=1.0">
    <Name>Microsoft .NET Core Runtime Package for Windows</Name>
  </SDKReference>
</ItemGroup>

For me, changing the Guids in the Package.appmanifest file helped:

<Identity Name="04135591-f637-4b60-ac7d-aa2fda03651d" ... />
<mp:PhoneIdentity PhoneProductId="04135591-f637-4b60-ac7d-aa2fda03651d" ... />

Replace with a new Guid.

My problem is solved by modify vs 2017 installation, adding ".NET Core cross-platform development". Along with the installation, ".NET Core 2.0 development tools" is installed. I guess it is required by vs deployment.

The error I got before, DEP0700: Registration of the app failed. [0x80073CF3] Windows cannot install package d6ff9b9c-06f8-4ead-a5cb-9389bd79cb13_2.3.0.0_x86__5xzajrpst8fmr because this package depends on a framework that could not be found. Provide the framework "Microsoft.NET.CoreRuntime.2.1" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x86 processor architecture and minimum version 10.0.16299.0, along with this package to install. The frameworks with name "Microsoft.NET.CoreRuntime.2.1" currently installed are: {Microsoft.NET.CoreRuntime.2.1_2.1.26124.5_x86__8wekyb3d8bbwe}

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!