troubleshooting Question

Where to put the dll

Avatar of QPR
QPRFlag for New Zealand asked on
Web Development.NET ProgrammingASP.NET
11 Comments1 Solution485 ViewsLast Modified:
I have created a DLL in visual studio 2010 (c# and v3.5)
An app that we have includes an integrated scripting environment that you can use to run functions within the program.
It is simple VB and you can reference a DLL by simply typing
references my.dll
imports my.dll

However I cannot get it to "find" my DLL at runtime.
I have put the DLL in the GAC using gacutil but still nothing.

After throwing it into a few random areas of the app's server folders I got it to see the DLL when checking syntax but at runtime it still says it cannot find my DLL.

Is there a way to know where this app is looking, what path it is checking? I can't ask the vendor because (although they offer the environment) they do not provide support for custom code.

My recent DLL experience has either been in the GAC or in the bin folder of an app.
So a generic question, if putting a DLL outside of the gac, do you still have to reg the dll these days?

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 11 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros