TFS Build server - CSC : fatal error CS2008: No inputs specified

后端 未结 4 1957
臣服心动
臣服心动 2021-01-31 14:38

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

We can build the solution without any pr

4条回答
  •  一个人的身影
    2021-01-31 15:11

    I also got this error message when "building" a project which didn't have any *.cs files...but we do that fairly often for SharePoint projects which are just XML. the VS project is just to organize some of the XML documents. Long story short the problem was that there was AssemblyInfo.cs file. After adding some assembly info to the project properties, voila! It worked. So I guess, yes, you need a .cs file to actually compile anything, but the AssemblyInfo.cs is enough.

提交回复
热议问题