Click here to Skip to main content
15,892,161 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to compile inline code documentation into assemblies? Pin
Nigel Savidge15-Dec-03 7:39
Nigel Savidge15-Dec-03 7:39 
Generalreading from registry using Win API dll Pin
Member 51467212-Dec-03 0:33
Member 51467212-Dec-03 0:33 
GeneralRe: reading from registry using Win API dll Pin
Heath Stewart12-Dec-03 4:25
protectorHeath Stewart12-Dec-03 4:25 
GeneralCreate Server Event using code Pin
AEKirin12-Dec-03 0:12
professionalAEKirin12-Dec-03 0:12 
GeneralRe: Create Server Event using code Pin
Heath Stewart12-Dec-03 4:15
protectorHeath Stewart12-Dec-03 4:15 
Generalmy fatherland Pin
duaneye200311-Dec-03 23:23
duaneye200311-Dec-03 23:23 
GeneralStatic libraries and C# Pin
Severino11-Dec-03 22:20
Severino11-Dec-03 22:20 
GeneralRe: Static libraries and C# Pin
Heath Stewart12-Dec-03 4:05
protectorHeath Stewart12-Dec-03 4:05 
Isn't possible. .NET uses assemblies that contain dependency references, assembly attributes, modules (what actually contain the code), embedded resources, and a manifest that lists it all.

This does imply, however, that you could write a library and compile it as a module (only possible with the command-line compiler, csc.exe (C# compiler) using the /t:module parameter. You can then compile an assembly that contains your code plus this module. It's not quite the same thing, but the result is pretty much the same. Again, this is only available with the command-line compiler. VS.NET doesn't support this.

Doing things this way will result in an assembly with two different modules. There is an article at an old hang-out that describes writing assemblies with modules in different languages. The principal is the same even if you use the same language, though: http://www.devhood.com/tutorials/tutorial_details.aspx?tutorial_id=466[^].

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Static libraries and C# Pin
Eric Gunnerson (msft)12-Dec-03 13:31
Eric Gunnerson (msft)12-Dec-03 13:31 
Generalshow form from worker thread Pin
Alastair Stell11-Dec-03 19:34
Alastair Stell11-Dec-03 19:34 
GeneralRe: show form from worker thread Pin
Corinna John11-Dec-03 19:40
Corinna John11-Dec-03 19:40 
GeneralRe: show form from worker thread Pin
Alastair Stell11-Dec-03 19:46
Alastair Stell11-Dec-03 19:46 
GeneralRe: show form from worker thread Pin
Alastair Stell11-Dec-03 19:47
Alastair Stell11-Dec-03 19:47 
GeneralRe: show form from worker thread Pin
Corinna John11-Dec-03 21:35
Corinna John11-Dec-03 21:35 
QuestionHow to displaying User Options in a Windows Service Pin
john ingram11-Dec-03 11:56
john ingram11-Dec-03 11:56 
AnswerRe: How to displaying User Options in a Windows Service Pin
Heath Stewart11-Dec-03 12:01
protectorHeath Stewart11-Dec-03 12:01 
Questionhow do I add a Footer to a datagrid (windows forms) Pin
mdolby11-Dec-03 11:25
mdolby11-Dec-03 11:25 
AnswerRe: how do I add a Footer to a datagrid (windows forms) Pin
Heath Stewart11-Dec-03 11:35
protectorHeath Stewart11-Dec-03 11:35 
GeneralRe: how do I add a Footer to a datagrid (windows forms) Pin
john ingram12-Dec-03 2:23
john ingram12-Dec-03 2:23 
Generalassembly versioning Pin
Dave Bryant11-Dec-03 11:05
Dave Bryant11-Dec-03 11:05 
GeneralRe: assembly versioning Pin
Heath Stewart11-Dec-03 11:31
protectorHeath Stewart11-Dec-03 11:31 
GeneralListView problem Pin
datainjector11-Dec-03 10:44
datainjector11-Dec-03 10:44 
GeneralRe: ListView problem Pin
Heath Stewart11-Dec-03 11:39
protectorHeath Stewart11-Dec-03 11:39 
GeneralRe: ListView problem Pin
datainjector12-Dec-03 7:52
datainjector12-Dec-03 7:52 
GeneralRe: ListView problem Pin
Heath Stewart12-Dec-03 8:36
protectorHeath Stewart12-Dec-03 8:36 

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.