Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Question About Assembly References

$
0
0
C# is a compiled language, while the old asp was typically written in VB Script which is an interpreted language, so you didn't have to worry about all that compiling issues :)

Having a 'using System.Globalization' doesn't say much, that namespace can exist in any number of assemblies, but if its ie. the CultureInfo class you're using, its a class that exists in mscorlib, which is an so important assembly that you actually have to explicitly say you don't want to reference it, otherwise its automatically used during compilation.

/nostdlib prevents the import of mscorlib.dll, which defines the entire System namespace. If you do not specify /nostdlib, mscorlib.dll will be imported into your program...

https://msdn.microsoft.com/en-us/library/fa13yay7.aspx

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>