使用此处的说明在Ubuntu上安装Mono 2.4: http://www.nabble.com/forum/PrintPost.jtp?post=22841086
当我运行xsp并尝试运行http模块(http://192.168.1.6:8080/album.ashx)时,我收到以下错误:
Compilation Error Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error. Compiler Error Message: /tmp/fredf-temp-aspnet-0/e8a60863/194d0e44.cs(479,18) : error CS1644: Feature `generics' is not available in Mono mcs1 compiler. Consider using the `gmcs' compiler instead /tmp/fredf-temp-aspnet-0/e8a60863/194d0e44.cs(479,50) : error CS1644: Feature `generics' is not available in Mono mcs1 compiler. Consider using the `gmcs' compiler instead
如何解决此错误?
答案 0 :(得分:6)
你应该运行一个'xsp2',它将使用2.0编译器而不是1.0编译器。