shared assemblies

T

Tony Johansson

Hello!

I just want to check with you if .NET assemblies consist of only shared
assemblies ?
It must be shared assemblies because you never copies these assemblies to
the folder where your application is located.

//Tony
 
P

Pavel Minaev

I just want to check with you if .NET assemblies consist of only shared
assemblies ?
It must be shared assemblies because you never copies these assemblies to
the folder where your application is located.

Actually, you can copy referenced assemblies to the folder with your
application, and they will be loaded. You do not have to deploy them
to GAC (if that's what you mean by "shared"), and, in fact, more often
than not you shouldn't do that. It's also what VS does by default if
you reference a third-party assembly (the one which doesn't come
with .NET Framework), or when you reference another project in your
solution.
 
D

Duggi

Hello!

I just want to check with you if .NET assemblies consist of only shared
assemblies ?
It must be shared assemblies because you never copies these assemblies to
the folder where your application is located.

//Tony

".Net assemblies"... you mean Base Class Library? If so, as they are
part of .Net runtime, they are shared.

-Cnu
 
I

Ignacio Machin ( .NET/ C# MVP )

Hello!

I just want to check with you if .NET assemblies consist of only shared
assemblies ?
It must be shared assemblies because you never copies these assemblies to
the folder where your application is located.

//Tony

I do not quite understand your question.
you can have assemblies in several locations. not just in your bin
folder. The framework goes to several location trynig to find your
assemblies before thowning an error.
one of the location it search is the starting folder of the app. so
you can be sure that if you put it there it will be loaded.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top