Someone please help me!!!

Someone please help me!!!

Post by Ken » Sat, 18 Jan 2003 00:53:25



I am totally and utterly confused! How do you deploy an application and tell
the runtime to find your .dll in a certain directory?

My exe will be running on one computer and the dlls will be on another with
in the same LAN. Why can't I just tell the clr that the dlls will be located
here(a mapped path)??

I have looked at stong naming, remoting, using assembly.loadfrom and read
information about configuration files. What is the best method and easiest
way to find these dlls without rewriting my aplication??

I can't believe Microsoft would have made this so hard to do? All I want to
do it tell my application where the dlls are. Does anyone have anything they
can share with me, that will help?

Thanks in Advance!

 
 
 

Someone please help me!!!

Post by Ken » Sat, 18 Jan 2003 01:39:11


I am totally and utterly confused! How do you deploy an application and tell
the runtime to find your .dll in a certain directory?

My exe will be running on one computer and the dlls will be on another with
in the same LAN. Why can't I just tell the clr that the dlls will be located
here(a mapped path)??

I have looked at stong naming, remoting, using assembly.loadfrom and read
information about configuration files. What is the best method and easiest
way to find these dlls without rewriting my aplication??

I can't believe Microsoft would have made this so hard to do? All I want to
do it tell my application where the dlls are. Does anyone have anything they
can share with me, that will help?

Thanks in Advance!

 
 
 

Someone please help me!!!

Post by Michael Giagnocav » Sat, 18 Jan 2003 02:06:14


First, give your assembly a strong name.  Then, use assembly hints in your
app.config file.  search for these things in the documentation and you
shouldn't have any trouble.
-mike


Quote:> I am totally and utterly confused! How do you deploy an application and
tell
> the runtime to find your .dll in a certain directory?

> My exe will be running on one computer and the dlls will be on another
with
> in the same LAN. Why can't I just tell the clr that the dlls will be
located
> here(a mapped path)??

> I have looked at stong naming, remoting, using assembly.loadfrom and read
> information about configuration files. What is the best method and easiest
> way to find these dlls without rewriting my aplication??

> I can't believe Microsoft would have made this so hard to do? All I want
to
> do it tell my application where the dlls are. Does anyone have anything
they
> can share with me, that will help?

> Thanks in Advance!

 
 
 

Someone please help me!!!

Post by Ken » Sat, 18 Jan 2003 06:54:06


Thanks for the tips!

Okay I tried the strong name thing, but there are two other assemblies that
my assemebly calls, and those assemblies do not have strong names. Therefore
my assemble would not build. I have been told those other assemblies will
not have strong names added to them.

Anymore suggestions?


> First, give your assembly a strong name.  Then, use assembly hints in your
> app.config file.  search for these things in the documentation and you
> shouldn't have any trouble.
> -mike



> > I am totally and utterly confused! How do you deploy an application and
> tell
> > the runtime to find your .dll in a certain directory?

> > My exe will be running on one computer and the dlls will be on another
> with
> > in the same LAN. Why can't I just tell the clr that the dlls will be
> located
> > here(a mapped path)??

> > I have looked at stong naming, remoting, using assembly.loadfrom and
read
> > information about configuration files. What is the best method and
easiest
> > way to find these dlls without rewriting my aplication??

> > I can't believe Microsoft would have made this so hard to do? All I want
> to
> > do it tell my application where the dlls are. Does anyone have anything
> they
> > can share with me, that will help?

> > Thanks in Advance!

 
 
 

Someone please help me!!!

Post by Dino Viehla » Wed, 16 Jul 2003 06:59:51


I would recommend you take a look at:

http://blogs.gotdotnet.com/suzcook

In particular I think the entry "Switching to the Load Context" would help
you
(http://blogs.gotdotnet.com/suzcook/PermaLink.aspx/8430971e-8df3-40e8-...
6b101743175).

To summarize: You can create a new app domain and set the application base
there.  You'll also find a lot more useful information about the loader in
general that may answer many of your questions.

(This post is provided as-is, no warranty, express or implied, yadda yadda
yadda).

 
 
 

1. Please, someone Help!!!

You can use OleDbConnection.OleDbGetSchemaTable(Guid, Object[]).

You need to find the guid PARAMETERS from oledb.h (if you have VC++ or
MDAC2.x SDK installed)

The documentation for this is very limited.. I am still playing with it in
darkness :-|

- Chu

2. OO Vs. Procedural

3. I am stuck can someone please help.

4. vbtab problem

5. Someone please help with my Remoting problem..

6. microsoft management console

7. Could someone please help me figure this out?

8. PLEASE HELP ME SOMEONE! Tearing my hair out!

9. can someone help please !!!!!!!!!!!!!!!!!!

10. Can someone please help ASF

11. vcce newsgroup -- someone PLEASE HELP me

12. Could someone please help me