更新:2007 年 11 月
错误消息
无效的引用别名选项:“alias=”-- 缺少文件名。
如果您在使用 /reference 编译器选项的 alias 功能时没有指定有效的文件名,则会发生此错误。
下面的示例生成 CS1680。
// CS1680.cs
// compile with: /reference:alias=
// CS1680 expected
// To resolve, specify the name of a file with an assembly manifest
class MyClass {}