找不到System.Xaml? [英] Cannot find System.Xaml?

查看:52
本文介绍了找不到System.Xaml?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个VS2010项目,需要引用System.Xaml.我转到添加引用",搜索.NET引用,但它不存在.:?

I have a VS2010 project that needs a reference to System.Xaml. I go to the Add Reference, search the .NET references and it's not there. :?

我也仔细检查了GAC,没有运气.

I double checked the GAC too, and no such luck.

我根本无法弄清楚为什么它不在机器上.本计算机已安装.NET 3.5 SP1和.NET 4.0.

I just can't figure out for the life of me why it's not on the machine. This machine has .NET 3.5 SP1 and .NET 4.0 installed.

我宁愿对此问题做一个简单的解释,而不必求助于重新安装框架.T-T

I'd much rather there be a simple explanation for this problem and not have to resort to reinstalling the framework. T-T

有什么想法吗?非常感谢.

Any thoughts? Much appreciated.

推荐答案

您的项目可能针对的是.Net 3.5,该版本没有所需的DLL.

Your project is probably targeting .Net 3.5, which does not have the required DLL.

您可以在项目属性中设置框架版本.

You can set the Framework Version in Project Properties.

这篇关于找不到System.Xaml?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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