Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: Asp.net application and CompilerOptions


Message #1 by "Datatal AB - Gauffin, Jonas" <Jonas@d...> on Thu, 11 Apr 2002 11:53:43 +0200
Hello

I've created an ASP.NET application that uses MySQL
through ODBC.Net

I've added a reference to Microsoft.Data.Odbc by
rightclicking on "References" in the solution explorer.

Everything works fine if I add a CompilerOptions line in
my ASPX page, but not without it.
<%@ CompilerOptions=3D'/R:"C:\Program
Files\Microsoft.Net\Odbc.Net\Microsoft.Data.Odbc.dll"' %>

My question is: Why do I still have to add a
CompilerOptions line to my aspx-page. I though that adding
a reference in my project was enough?

//Jonas

  Return to Index