FastRodas Posted April 14, 2004 Posted April 14, 2004 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 Quote
Administrators PlausiblyDamp Posted April 14, 2004 Administrators Posted April 14, 2004 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. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
iebidan Posted April 14, 2004 Posted April 14, 2004 yep, just add the reference to the project, you don't need to edit the machine.config file Quote Fat kids are harder to kidnap
FastRodas Posted April 14, 2004 Author Posted April 14, 2004 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? Quote
iebidan Posted April 14, 2004 Posted April 14, 2004 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 Quote Fat kids are harder to kidnap
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.