应该这样编译:
csc /t:library /out:bin\CustomControls.dll /r:System.Web.dll /r:System.dll FirstControl.cs
或这样:
csc /target:library /out:bin\CustomControls.dll /reference:System.Web.dll /r:System.dll FirstControl.cs
[]里的内容表示可选项,[]本身不能输入。
csc /t:library /out:bin\CustomControls.dll /r:System.Web.dll /r:System.dll FirstControl.cs
或这样:
csc /target:library /out:bin\CustomControls.dll /reference:System.Web.dll /r:System.dll FirstControl.cs
[]里的内容表示可选项,[]本身不能输入。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货