System.Web.Extensions Assembly cannot be resolved

前端 未结 1 1994
我在风中等你
我在风中等你 2020-12-10 11:00

I am trying to run a .NET 4.0 Console application that references a sister library project (Bar.dll) which itself references System.Web.Extensions in VS2010 B2. I am current

相关标签:
1条回答
  • 2020-12-10 11:12
    currently targeted framework ".NETFramework,Version=v4.0,Profile=Client".
                                                             ^^^^^^^^^^^^^^
    

    You're targeting the Client Profile, which doesn't include the Web assemblies. Go into Project > Properties > Application and change Target Framework to ".NET Framework 4".

    0 讨论(0)
提交回复
热议问题