[Mono-list] Cannot find Assembly ASP
Mario Carrión
mario.carrion@gmail.com
Thu, 07 Apr 2005 10:37:37 -0500
On Thu, 2005-04-07 at 15:12 +0200, Gilles FAVIER wrote:
> Hi,
>
> I am trying to connect to an Oracle database, when i am running my script as an exe file, it compiles and then when i execute it works but when i try to it through a web page, i cannot compile the pages, i get the following error message when i run :
>
> mcs /t:library /out:WebTest.dll -r:System -r:System.Data -r:System.Collections -r:System.ComponentModel -r:System.Drawing -r:System.Web -r:System.Web.SessionState -r:System.Web.UI -r:System.Web.UI.WebControls -r:System.Web.UI.HtmlControls -r:System.Data.OracleClient AssemblyInfo.cs Default.aspx.cs Global.asax.cs
> error CS0006: Cannot find assembly `System.Collections'
> Log:
> error CS0006: Cannot find assembly `System.ComponentModel'
> Log:
> error CS0006: Cannot find assembly `System.Web.SessionState'
> Log:
> error CS0006: Cannot find assembly `System.Web.UI'
> Log:
> error CS0006: Cannot find assembly `System.Web.UI.WebControls'
> Log:
> error CS0006: Cannot find assembly `System.Web.UI.HtmlControls'
> Log:
> Compilation failed: 6 error(s), 0 warnings
>
Try adding the '.dll' to the '-r's, example:
mcs /t:library /out:WebTest.dll -r:System.dll -r:System.Data.dll
-r:System.Collections.dll -r:System.ComponentModel.dll ....
--
Cheers
----------
Mario Carrión
http://monouml.sourceforge.net