Click here to Skip to main content
15,900,378 members
Home / Discussions / C#
   

C#

 
Generalresource files in VS .NET Pin
Senkwe Chanda27-Feb-02 22:42
Senkwe Chanda27-Feb-02 22:42 
GeneralRe: resource files in VS .NET Pin
James T. Johnson28-Feb-02 5:00
James T. Johnson28-Feb-02 5:00 
QuestionHow to open a new window?? Pin
27-Feb-02 19:16
suss27-Feb-02 19:16 
GeneralLock a column in datagrid Pin
paulb26-Feb-02 11:45
paulb26-Feb-02 11:45 
QuestionHow to make custom/own BASE classes Pin
Felix Nielsen25-Feb-02 7:00
Felix Nielsen25-Feb-02 7:00 
AnswerRe: How to make custom/own BASE classes Pin
James T. Johnson25-Feb-02 7:48
James T. Johnson25-Feb-02 7:48 
GeneralRe: How to make custom/own BASE classes Pin
Felix Nielsen26-Feb-02 2:56
Felix Nielsen26-Feb-02 2:56 
GeneralRe: How to make custom/own BASE classes Pin
James T. Johnson26-Feb-02 11:05
James T. Johnson26-Feb-02 11:05 
Felix Nielsen wrote:
But let's say I want to be able to add the "reference" from the GAC with VS. Even though I have added the DLL to GAC, the listbox don't have my DLL?

It seems odd, but VS.NET doesn't show assemblies that are in the GAC. Instead it shows assemblies from a few pre-defined locations. The best place to put such an assembly would be $windows_dir\Microsoft.NET\Framework\$dotnet_version\

Then VS.NET will see your assembly and add it to the list.

Now the question you need to ask yourself is "What about my assembly warrants making it available to everyone?" 9 times out of 10 there isn't really any reason to put something in the GAC. The GAC should be used for assemblies that other people/companies will want to use in their products where the size of the assembly is large enough to warrant not keeping a local version.

Felix Nielsen wrote:
If I copy my DLL to the webapp's BIN folder, and add the Reference it displays a full path(URL), and If I copy the webapplication to another URL - it would fail right?

Nope, VS.NET references everything relative to the project directory. So if you place an assembly in your bin directory the project file stores it as "bin\myAssembly.dll". If it can't find it there, it will begin a search to find it in other locations too. I don't recall what those locations are off the top of my head though.

HTH,

James

Sonork ID: 100.11138 - Hasaki
"My words but a whisper -- your deafness a SHOUT.
I may make you feel but I can't make you think." - Thick as a Brick, Jethro Tull 1972

GeneralRegistry Pin
BLaZiNiX25-Feb-02 6:34
BLaZiNiX25-Feb-02 6:34 
Generalquestions about C# Pin
Aaron T.25-Feb-02 4:40
Aaron T.25-Feb-02 4:40 
GeneralRe: questions about C# Pin
Anders Molin26-Feb-02 2:57
professionalAnders Molin26-Feb-02 2:57 
GeneralRe: questions about C# Pin
Aaron T.27-Feb-02 3:23
Aaron T.27-Feb-02 3:23 
GeneralPackage Application Pin
Gavin_Mannion25-Feb-02 4:11
Gavin_Mannion25-Feb-02 4:11 
GeneralRe: Package Application Pin
Cliff Dabrowski25-Feb-02 4:47
Cliff Dabrowski25-Feb-02 4:47 
GeneralRe: Package Application Pin
Gavin_Mannion25-Feb-02 22:00
Gavin_Mannion25-Feb-02 22:00 
GeneralRe: Package Application Pin
26-Feb-02 13:17
suss26-Feb-02 13:17 
GeneralRe: Package Application Pin
Gavin_Mannion26-Feb-02 21:56
Gavin_Mannion26-Feb-02 21:56 
GeneralInherit 2 classes in c# Pin
thongkk24-Feb-02 14:39
thongkk24-Feb-02 14:39 
GeneralRe: Inherit 2 classes in c# Pin
Tom Archer24-Feb-02 15:31
Tom Archer24-Feb-02 15:31 
QuestionHow to import C# dll dynamically Pin
///Ansch24-Feb-02 14:11
///Ansch24-Feb-02 14:11 
AnswerRe: How to import C# dll dynamically Pin
Peter Stephens25-Feb-02 8:04
Peter Stephens25-Feb-02 8:04 
GeneralRe: How to import C# dll dynamically Pin
James T. Johnson25-Feb-02 8:29
James T. Johnson25-Feb-02 8:29 
GeneralRe: How to import C# dll dynamically Pin
Peter Stephens25-Feb-02 10:16
Peter Stephens25-Feb-02 10:16 
AnswerRe: How to import C# dll dynamically Pin
James T. Johnson25-Feb-02 8:27
James T. Johnson25-Feb-02 8:27 
AnswerRe: How to import C# dll dynamically Pin
///Ansch25-Feb-02 13:23
///Ansch25-Feb-02 13:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.