log4net
log4net 在 2010 下的编译错误
新建了一个2010的项目,引用了log4net。 在编译的时候发现如下错误: The type or namespace name ‘log4net’ could not be found (are you missing a using directive or an assembly reference?) 切换 编译选项的 Target Framework 到 .NET Framework3.5 ,可以的。 开始猜测 是不是 log4net 不支持.NET framework 4.0. 先后察看了官方网站和一些资料,应该是是支持的。 后来发觉编译选项中 有 .net framework 4 和 .net framework 4 client profile。 切换至 .net framework 4 。 错误消失了。 [...]
