Visual Studio 2015 错误“无法解析程序集或 Windows 元数据文件“Windows.winmd"" [英] Visual Studio 2015 Error "Cannot resolve Assembly or Windows Metadata file 'Windows.winmd'"

查看:70
本文介绍了Visual Studio 2015 错误“无法解析程序集或 Windows 元数据文件“Windows.winmd""的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个项目,可以在其他 PC 上构建它.但是我的主电脑不能.错误:<代码>1:无法解析程序集或 Windows 元数据文件‘Windows.winmd’"2:类型 Universe 无法解析程序集:Windows,Version=255.255.'255.255,Culture=neutral,PublicKeyToken=null,ContentType=WindowsRuntime."

I have a project, on another PCs can build it. But my main pc can't. Errors: 1: "Cannot resolve Assembly or Windows Metadata file 'Windows.winmd'" 2: "Type universe cannot resolve assembly: Windows, Version=255.255.'255.255, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime."

我尝试重新安装 WIN10 SDK 和 VS2015,但错误相同.这是一款通用商店应用.

I tried reinstall the WIN10 SDK and the VS2015, but the errors are same. It is an Universal Store App.

推荐答案

我可以解决问题.我卸载了所有 SDK,所有 VS,所有开发人员工具.重新安装 VS 后可以构建我的项目.

I could solve the problem. I uninstalled all SDK, all VS, all developer tool. After reinstall the VS can build my project.

这篇关于Visual Studio 2015 错误“无法解析程序集或 Windows 元数据文件“Windows.winmd""的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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