Include dll

FastRodas

Freshman
Joined
Apr 14, 2004
Messages
25
Hi all Xtremer's

i want to include a dll i made in my ASP.net application. I have found a way to do that but it is not very good. What i do is when i have a new dll i go to the server and edit the file machine.config that is in

C:\WINNT\Microsoft.NET\Framework\v1.1.4322\CONFIG\MACHINE.CONFIG

what i do is i add a line to the xml

<assemblies>
<add assembly="MY NAMESPACE, version=DLL VERSION, Cultural=neutral, PublicKeyTolken=NULL" />
</assemblies>

This method creats a big problem! in every other asp.net application i have to include the dll put in the machine.config to the bin folder of the new asp.net app.

So what other way to i have to include a dll on my ASP.net app?


thnx to all
 
If you add a reference from your project it should work. You need to either include the dll in the web app's bin directory or install the DLL to the GAC though.
 
ok...i could add a referece but there i have problem! i am using dreamweaver as a editor not vs.net.

how can i add the dll without vs.net?
 
oops!!!! how do you compile?, how you manage the CodeBehind? (just asking)
So far I can't think on another way of doing it, I thought you're using VS, so far keep doing it the way you've been doing it 8if it works for you), if I find something I'll let you know or maybe someone else here will come with a better idea
 
Back
Top