C#程序集基础问题 请高手进来看看
请先耐心看这:
响应文件(它们按照约定采用 *.rsp 文件扩展名)包含您希望供给到 csc.exe 中的所有选项。在创建了该文件以后,您就可以将它的名称指定为 C# 编译器的唯一选项。为了便于说明,下面提供了一个将用于生成 MyCodeLibrary.dll 的响应文件(请注意,您可以使用 # 符号指定注释)。
# MyCodeLibraryArgs.rsp
#
# These are the options used
# to compile MyCodeLibrary.dll
# Output target and name.
/t:library
/out:MyCodeLibrary.dll
# Location of C# files.
/recurse:*.cs
# Give me an XML doc.
/doc:myDoc.xml
# Give me a strong name as well.
/keyfile:C:\MyKeyPair\myKeypair.snk
给定该文件以后,您现在就可以使用 @ 选项指定 MyCodeLibraryArgs.rsp 了:
csc @MyCodeLibraryArgs.rsp
我在Visual Studio 2005 命令提示 上编译它们 但为什么会出错呢
网址:http://www.sgxcn.com/doc/277.htm 中的“使用C#响应文件”
请帮忙解释一下 谢谢