The compilation method is as follows:
1. Prompt for opening the C command of vs. net
2. Go to the directory
3. Enter the following command:
CSC/T: Library/out: F: \ md5.dll F: \ md5.cs (commonly used)
:
How can we compile the CS file into a DLL and automatically put it in the bin folder of the virtual directory?
Start -------Program------- Microsoft Visual Studio. NET 2005 ------- Visual Studio.. Net tool, click "Visual Studio. the net2005 command prompts ", you will enter Microsoft Visual Studio. NET 2005 Command Prompt window, then we use the doscommand (CD) to enter the directory where the CS file to be compiled into the DLL is located, and then enter the command:
CSC/out: bin \ index. dll/T: Library Index. CS
Press enter to generate a DLL file with the same name as the CS file in the bin directory.
However, if this CS file references another DLL file under the bin directory, such as comman. dll, enter the following command:
CSC/out: bin \ index. dll/R: bin \ comman. dll/T: Library Index. CS