Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Probleme with the assemblies

Status
Not open for further replies.

beral

Programmer
Jan 7, 2004
12
SE
Hello every body,

I would like to Register an Assembly in a WebForm to Use a Custom Control.
I created a classe named CustomerAdminMgr wich derive from the UserControl class.I compile it into a dll (using csc /target:library /out:Custom.dll CustomerAdminMgr.cs).
It means that I have created the assembly right?
Now i add the reference to this assembly and in my aspx page add this in the begining of my page:<%@ Register TagPrefix=&quot;Cust&quot; Namespace=&quot;myNameSpace&quot; Assembly= &quot;Custom&quot; %>
and I try to use it like this <cust:customeradminmgr runat=&quot;server&quot;></cust:customeradminmgr>
but I have an error which say that the assembly is missing.
has anybody any idea of what's wrong??
Thank in advance
 
Yes it is.
The Custom.dll is in the bon directory.
Do i have to make something else to register that assembly?
I really don't know what's wrong.

Help please!!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top