Sunday, July 12, 2009

C# add refrence in notepad?

we all know if u want to add a refrence in most ide you just got add refrence and select what ever you want quicktime libary etc what ever .dll





how do you code that in to notepad say if you wanted to use a manged .dll but add it to the code so it see's it as a refrence so then all you would have to do in notepad was





whateverdll.getwhatever name = new whateverdll.getwahter();





then you could just do string x = name.getfileinfo(); if it was a plublic string i can do it in visual studio and sharp develop but i want to know how to in notepad

C# add refrence in notepad?
You will have to add a /reference argument when you call the C# compiler.


Using /reference:


http://msdn2.microsoft.com/en-us/library...





All Compiler Options:


http://msdn2.microsoft.com/en-us/library...


No comments:

Post a Comment