简体   繁体   English

无法添加System.Web.Extensions程序集作为参考

[英]can not add System.Web.Extensions Assembly as reference

I need to use System.Web.Script.Serialization which is located at System.Web.Extensions assembly. 我需要使用System.Web.Script.Serialization它位于System.Web.Extensions程序组件。 but in my vs 13 environment reference>assembly>framework the System.Web.Extensions is not showing. 但是在我的vs 13环境中,参考>组装>框架未显示System.Web.Extensions。 what is my project missing? 我的项目缺少什么?

Do these step by step 逐步进行这些操作

  1. Right Click you project Select Properties 右键单击您的项目,然后选择“属性”
  2. Change your Target Framework to ".NET Framework 4" 将您的目标框架更改为“ .NET Framework 4”
  3. Do whatever you need to do to save the changes and close the preferences tab 做您需要做的所有操作以保存更改并关闭“首选项”选项卡
  4. Right click on the References item in your Solution Explorer 右键单击解决方案资源管理器中的“引用”项
  5. Choose Add Reference... 选择添加参考...
  6. In the .NET tab, scroll down to System.Web.Extensions and add it. 在.NET选项卡中,向下滚动到System.Web.Extensions并将其添加。

You can get from this location 您可以从此位置获得

C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Web.Extensions.dll

Reference 参考

https://stackoverflow.com/questions/4520569/where-can-i-find-the-assembly-system-web-extensions-dll

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM