T
tshad
I have a DLL in the bin folder of my Web Application.
When I try to build it, it says it can't find it.
Here is the beginning of my Class:
*******************************************************
Imports System
Imports System.Data
Imports System.Data.SqlClient
Namespace MyFunctions
' DbObject is the class from which all classes in the Data Services Tier
' inherit. The core functionality of establishing a connection with the
' database and executing simple stored procedures is also provided by
' this base class.
' ---
Public Class DbObject
***********************************************************
This works fine in my other asp.net pages where I don't use use VS to create
it and use:
<%@ Import Namespace="MyFunctions" %>
in my .aspx page.
In my VS Project I just added it to my using section:
using System;
using System.IO;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using integration.RemoteUser;
using integration.PayStatement;
using integration.ReportTable;
using integration.Employee;
using integration.CheckHistory;
using MyFunctions;
Looks the same as the others. What else do I need to do for it to recognize
it?
The error I get is:
The type or namespace name 'MyFunctions' could not be found (are you missing
a using directive or an assembly reference?)
Thanks,
Tom
When I try to build it, it says it can't find it.
Here is the beginning of my Class:
*******************************************************
Imports System
Imports System.Data
Imports System.Data.SqlClient
Namespace MyFunctions
' DbObject is the class from which all classes in the Data Services Tier
' inherit. The core functionality of establishing a connection with the
' database and executing simple stored procedures is also provided by
' this base class.
' ---
Public Class DbObject
***********************************************************
This works fine in my other asp.net pages where I don't use use VS to create
it and use:
<%@ Import Namespace="MyFunctions" %>
in my .aspx page.
In my VS Project I just added it to my using section:
using System;
using System.IO;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using integration.RemoteUser;
using integration.PayStatement;
using integration.ReportTable;
using integration.Employee;
using integration.CheckHistory;
using MyFunctions;
Looks the same as the others. What else do I need to do for it to recognize
it?
The error I get is:
The type or namespace name 'MyFunctions' could not be found (are you missing
a using directive or an assembly reference?)
Thanks,
Tom