TFS生成服务器 - 中信建投:致命错误CS2008:未指定输入 [英] TFS Build server - CSC : fatal error CS2008: No inputs specified

查看:487
本文介绍了TFS生成服务器 - 中信建投:致命错误CS2008:未指定输入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们得到我们构建服务器上面的错误消息,当我们构建解决方案或错误指的是具体的项目。

We get the above error message on our build server, when we build the solution or the specific project that the error refers to.

我们可以建立一个没有使用Visual Studio的(构建服务器也)任何问题的解决方案,但它运行的MSBuild时失败,出现上述错误。

We can build the solution without any problem using visual studio (also on the build server), however it fails with the above error when running msbuild.

任何想法?

推荐答案

我找到了解决办法。

有一个在MSBuild的一个错误,这会导致其失败的时候有没有在项目源文件。例如Filename.cs。

There is a "bug" in msbuild, that results in it failing when there are not source files in the project. For example Filename.cs.

我们的项目只有XML和其他文件类型。

Our project only had xml and other file types.

刚刚添加了一个空的CS文件,它的工作。

Just added an empty cs file and it worked.

这篇关于TFS生成服务器 - 中信建投:致命错误CS2008:未指定输入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆