我的项目 vs.net2003 .net1.1
使用 nant时 ,为了使用 FxCop,安装了.net2.0
现在的问题:
在vs.net中可以编译通过
使用 nant 报错(在build的时候):The SDK for the 'net-2.0' framework is not available or not configured.查了一些资料,都是说webForm项目的如何使1.1和2.0 共存请教 winfrom如何共存?
使用 nant时 ,为了使用 FxCop,安装了.net2.0
现在的问题:
在vs.net中可以编译通过
使用 nant 报错(在build的时候):The SDK for the 'net-2.0' framework is not available or not configured.查了一些资料,都是说webForm项目的如何使1.1和2.0 共存请教 winfrom如何共存?
<property name="nant.settings.currentframework" value="net-1.1" />
就可以了
参考:
http://www.cnblogs.com/hush/archive/2004/12/12/76054.html