命令行下编译c#程序
我的程序是由很多*.cs文件编译而成的一个windows控制台程序,怎样在命令行下编译它?
我用了下面的命令,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc /r:libmySQL-4.0.dll libmySQL.dll MySQLDriverCS.dll SnmpComp.dll /t:exe /out:IPMngr.exe *.cs
系统报
C:\zxf\MyIPMngr\IPMngr>C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc /r:libmy
SQL-4.0.dll libmySQL.dll MySQLDriverCS.dll SnmpComp.dll /t:exe /out:IPMngr.exe
*.cs
Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.
error CS2020: Only the first set of input files can build a target other than
'module'
error CS2015: 'c:\zxf\MyIPMngr\IPMngr\libmySQL.dll' is a binary file instead of
a source code file
error CS1504: Source file 'c:\zxf\MyIPMngr\IPMngr\libmySQL.dll' could not be
opened ('未指定的错误 ')
error CS2015: 'c:\zxf\MyIPMngr\IPMngr\MySQLDriverCS.dll' is a binary file
instead of a source code file
error CS1504: Source file 'c:\zxf\MyIPMngr\IPMngr\MySQLDriverCS.dll' could not
be opened ('未指定的错误 ')
error CS2015: 'c:\zxf\MyIPMngr\IPMngr\SnmpComp.dll' is a binary file instead of
a source code file
error CS1504: Source file 'c:\zxf\MyIPMngr\IPMngr\SnmpComp.dll' could not be
opened ('未指定的错误 ')
系统好象说第一个*.cs可编译成*.exe别的不行,请问怎样在命令行下编译由多个cs文件组成的程序.