**Error 1 The type 'System.Web.Compilation.WCFBuildProvider' is ambiguous: it could come from assemb...

本文详细介绍了在将项目从Visual Studio 2008升级到Visual Studio 2010后遇到的关于System.Web.Extensions的类型歧义错误。通过右击网站项目选择属性页面然后移除System.Web.Extensions,成功解决了此问题。
**Error 1 The type 'System.Web.Compilation.WCFBuildProvider' is ambiguous: it could come from assembly 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.dll' or from assembly 'C:\Windows\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll'. Please specify the assembly explicitly in the type name. App_WebReferences/**


 Today we upgrade our project from vs2008 to vs2010.

 then i get the error.

when i search it by google i don't get the answer.

 

so i try to slove it by myself. i get it.

 Right click the web site project and choice "Property pages" then remove system.web.extensions.

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值