Visual studio 2015 VS2015缺少未安装的框架(通用应用程序)

Visual studio 2015 VS2015缺少未安装的框架(通用应用程序),visual-studio-2015,win-universal-app,windows-10,Visual Studio 2015,Win Universal App,Windows 10,Windows 10,Visual Studio 2015(社区) 我刚刚创建了一个全新的通用应用程序,但当我运行该应用程序时,它将挂起安装框架元素 1>------ Build started: Project: App1, Configuration: Debug x86 ------ 1> App1 -> D:\Development\TV Show Manager\main\App1\bin\x86\Debug\App1.exe 2>------ Deplo

Windows 10,Visual Studio 2015(社区)

我刚刚创建了一个全新的通用应用程序,但当我运行该应用程序时,它将挂起安装框架元素

1>------ Build started: Project: App1, Configuration: Debug x86 ------ 
1>  App1 -> D:\Development\TV Show Manager\main\App1\bin\x86\Debug\App1.exe 
2>------ Deploy started: Project: App1, Configuration: Debug x86 ------  
2>Updating the layout...  2>Copying files: Total <1 mb to layout... 
2>Checking whether required frameworks are installed...  
2>Framework: Microsoft.NET.CoreRuntime.1.0/x86, app package version 1.0.23117.0 is not currently installed.  
2>Framework: Microsoft.VCLibs.140.00.Debug/x86, app package version 14.0.23019.0 is not currently installed.  
2>Installing missing frameworks...
1>----构建已启动:项目:App1,配置:Debug x86----
1> App1->D:\Development\TV Show Manager\main\App1\bin\x86\Debug\App1.exe
2> ----部署已启动:项目:App1,配置:Debug x86----
2> 正在更新布局。。。2> 正在复制文件:正在检查是否安装了所需的框架。。。
2> 框架:Microsoft.NET.CoreRuntime.1.0/x86,当前未安装应用程序包版本1.0.23117.0。
2> 框架:Microsoft.VCLibs.140.00.Debug/x86,当前未安装应用程序包版本14.0.23019.0。
2> 正在安装缺少的框架。。。
有人知道如何解决这个问题吗


PS:重新启动visual studio/重建无法解决问题

似乎是“Windows Mobile 10.0.10240模拟器”的问题卸载和重新安装似乎可以解决此问题。您可以部署到设备上吗?

我遇到了类似的问题,并通过Powershell以管理员身份安装了丢失的appx,从而修复了该问题。我需要的示例:

Add-AppxPackage "C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.NET.CoreRuntime\1.1\AppX\x86\Microsoft.NET.CoreRuntime.1.1.appx"
Add-AppxPackage "C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs\14.0\Appx\Debug\x86\Microsoft.VCLibs.x86.Debug.14.00.appx"
ExtensionSDK文件夹中有很多appx。只要安装你需要的,它就会工作


在您的情况下,将第一个字符串中的1.1替换为1.0。

已经尝试过了,但没有成功并放弃。我会等一等,直到它更主流一点,这样微软就可以解决问题,然后再试一次