我有以下几行:
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private global::AjaxControlToolkit.ToolkitScriptManager @__BuildControlToolkitScriptManager1() {
global::AjaxControlToolkit.ToolkitScriptManager @__ctrl;
我收到了这个错误:
The type 'System.Web.UI.ScriptManager' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
我在可视化网络开发者中选择了Add Reference>.Net>system.web.extension version 4.0
,但仍然会收到相同的错误。
我该怎么办?