这是在新的Windows 8.1安装上新安装的Visual Studio 2015 RC。
当我尝试编译任何东西,甚至是最简单的C程序时,我得到以下构建错误:
1>------ Build started: Project: Project1, Configuration: Debug Win32 ------
1>Object of type 'System.ComponentModel.Composition.ExportFactory`1[System.IO.StreamReader]' cannot be converted to type 'System.ComponentModel.Composition.ExportFactory`1[System.IO.TextWriter]'.
1>Error: Object of type 'System.ComponentModel.Composition.ExportFactory`1[System.IO.StreamReader]' cannot be converted to type 'System.ComponentModel.Composition.ExportFactory`1[System.IO.TextWriter]'.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
任何想法在这里有什么问题?
编辑:示例代码:
int main(int argc, char** argv) {
return 0;
}