Click here to Skip to main content
15,914,500 members
Home / Discussions / C#
   

C#

 
GeneralGet domain name the machne has been logged into Pin
michalJ25-Jun-04 10:07
michalJ25-Jun-04 10:07 
GeneralRe: Get domain name the machne has been logged into Pin
Heath Stewart25-Jun-04 10:23
protectorHeath Stewart25-Jun-04 10:23 
GeneralC++ to C# - Dragging nightmare Pin
TylerBrinks25-Jun-04 8:07
TylerBrinks25-Jun-04 8:07 
GeneralRe: C++ to C# - Dragging nightmare Pin
Heath Stewart25-Jun-04 8:43
protectorHeath Stewart25-Jun-04 8:43 
GeneralRe: C++ to C# - Dragging nightmare Pin
TylerBrinks25-Jun-04 9:17
TylerBrinks25-Jun-04 9:17 
GeneralRe: C++ to C# - Dragging nightmare Pin
Heath Stewart25-Jun-04 9:50
protectorHeath Stewart25-Jun-04 9:50 
GeneralDll Merge Pin
Visionsoft25-Jun-04 8:05
Visionsoft25-Jun-04 8:05 
GeneralRe: Dll Merge Pin
Heath Stewart25-Jun-04 8:38
protectorHeath Stewart25-Jun-04 8:38 
Yes, but call them what they are: assemblies. An assembly contains a manifest at the very least. It can also contained 0 or more embedded resources, assembly attributes, and modules. Those modules are what contains your IL (intermediate language) that the compiler generates.

Unfortunately, VS.NET won't help. You can only compile to modules using the command-line compilers. For the C# compiler, this uses the /t:module switch. When you compile the last project, you use an assembly switch (everything else but /t:module, like /t:library for a class library) and then use /addmodule:<path> to add the other modules. This will create an assembly with multiple modules.

By why are you worried about sending out multiple DLLs? You should install them into the GAC anyway, which takes care of versioning problems. By distributing the Types, this also gives you more flexible control over independently versioning assemblies. You can redirect assembly bindings using a publisher policy - a specify type of assembly that gets installed into the GAC.

So, if class library A depends on B, but you had to change B and don't need to change A, then you must tell assembly A to look at the new version of B. This is assembly version redirection. When you start having larger projects (I managed a product with over 60 possible assemblies, depending on the edition someone buys), this is a must since you don't always need to recompile everything (especially a problem when you're doing touchless-deployment over the Internet like we are).

Just something to consider.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Dll Merge Pin
leppie25-Jun-04 9:37
leppie25-Jun-04 9:37 
GeneralRe: Dll Merge Pin
Heath Stewart25-Jun-04 10:19
protectorHeath Stewart25-Jun-04 10:19 
Questionie control and ASP.NET not behaving? Pin
LongRange.Shooter25-Jun-04 5:10
LongRange.Shooter25-Jun-04 5:10 
AnswerRe: ie control and ASP.NET not behaving? Pin
Heath Stewart25-Jun-04 6:20
protectorHeath Stewart25-Jun-04 6:20 
GeneralExtended Ascii Encoding Pin
zainu25-Jun-04 2:46
zainu25-Jun-04 2:46 
GeneralRe: Extended Ascii Encoding Pin
Heath Stewart25-Jun-04 5:42
protectorHeath Stewart25-Jun-04 5:42 
GeneralRe: Extended Ascii Encoding Pin
zainu25-Jun-04 19:50
zainu25-Jun-04 19:50 
GeneralRe: Extended Ascii Encoding Pin
Heath Stewart26-Jun-04 14:02
protectorHeath Stewart26-Jun-04 14:02 
GeneralRe: Extended Ascii Encoding Pin
yosr20-Jan-13 1:33
yosr20-Jan-13 1:33 
GeneralRe: Extended Ascii Encoding Pin
Hovik Melkomian7-Jul-04 22:56
Hovik Melkomian7-Jul-04 22:56 
GeneralRe: Extended Ascii Encoding Pin
Heath Stewart8-Jul-04 3:45
protectorHeath Stewart8-Jul-04 3:45 
Generaltext encoding Pin
amatyasik25-Jun-04 2:01
amatyasik25-Jun-04 2:01 
GeneralRe: text encoding Pin
zainu25-Jun-04 2:53
zainu25-Jun-04 2:53 
GeneralRe: text encoding Pin
amatyasik25-Jun-04 2:56
amatyasik25-Jun-04 2:56 
Generalc# query biulder Pin
Member 114126625-Jun-04 1:46
Member 114126625-Jun-04 1:46 
GeneralRe: c# query biulder Pin
Heath Stewart25-Jun-04 5:11
protectorHeath Stewart25-Jun-04 5:11 
GeneralRe: c# query biulder Pin
partyganger25-Jun-04 14:16
partyganger25-Jun-04 14:16 

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.