0
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: : /var/www/GPS/Bin/App_Web_7userbmq.dll (Location of the symbol related to previous warning)

Source Error:

Line 63:             }
Line 64:         }
Line 65:         
Line 66:         [System.Obsolete()]
Line 67:         protected override int AutoHandlers {

Source File: /tmp/www-data-temp-aspnet-0/981a2ec7/App_Web_4ccb964b_0.cs  Lines: 65, 66, 170, 172, 214, 232, 299


Show Detailed Compiler Output:


Show Complete Compilation Source:

Version information: Mono Runtime Version: 2.10.8.1 (Debian 2.10.8.1-1ubuntu2.2); ASP.NET Version: 2.0.50727.1433

我用WINXP和IIS开发网站,WINXP和ISS都没有问题。
但我的服务器是 Ubuntu 12.04 LTS 64 位和 Mono 2.10.8.1

我创建了一个带有 .NET 3.5 设置的 ASP.NET 网站,
我所有的 C# 文件都将编译为 .DLL 文件,并且该网站使用DirectMethod调用 .DLL 内部函数。
不幸的是,我得到了这个错误。而且我的代码没有发现任何问题。
那单声道支持这种还是DirectMethod

p/s: 那些.DLL 文件是从WINXP 计算机编译的,我需要在Ubuntu Server 上编译哪个C# 文件吗?

在此处输入图像描述

这是我的App_Web_7userbmq.dll文件,编译后所有 C# .cs 文件将变成 1 个 .dll 文件。而asp.net网站会使用DirectMethod调用dll函数

如何解决这个问题呢?

4

0 回答 0