C# project minimum references set -


i have class library project in c# references system assembly; compiles fine, cannot used on own class library.

the projects use library have greater number of referenced assemblies. in particular, seem include system.core , microsoft.csharp, among others. projects work fine right now, cant wonder if works because library's needed dlls subset of enclosing project, or because .net assemblies in gac , magically found when required transitively.

what minimum acceptable reference set assuming hello world program (i.e. no linq, no xml, no configuration, etc.)?

should library project reference system.core , microsoft.csharp explicitly? these sound pretty important.

=====

edit: class library project template in visual studio includes system.core , microsoft.csharp default, though removing them seems ok. why i'm wondering if being referenced implicitly.

what minimum acceptable reference set assuming hello world program

this one:

// helloworld.cs namespace helloworld {     class program     {         static void main()         {             system.console.writeline("hello, world!");         }     } } 

will depend mscorlib. compile way:

csc.exe helloworld.cs


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -