VBC編譯問題
我用c:\winnt\microsoft.net\framework\v1.0.3705\vbc.exe /t:library /out:bin\test.dll /libpath:C:\WINNT\Microsoft.NET\Framework\v1.0.3705 /r:system.dll /r:system.data.dll /r:system.web.dll /r:system.drawing.dll /r:system.xml.dll /Imports:System.Data /Imports:System /recurse:test2\*.vb Global.asax.vb a.aspx.vb c.aspx.vb AssemblyInfo.vb
對一個Asp.Net WebApplication Project 進行編譯,在編譯的過程中,一點錯誤也沒有,但是當我在ie中用http://servername/test/a.aspx 訪問時aspx時,出現下面的錯誤:
Server Error in '/Test' Application.
--------------------------------------------------------------------------
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'Test.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="Test.Global" %>
Source File: c:\inetpub\wwwroot\Test\global.asax Line: 1
--------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.0.3705.288; ASP.NET Version:1.0.3705.288
請問一下,有沒有哪位碰到過這種問題?
我在這裡先謝謝個位了!!