直接编辑项目文件(用记事本打开),添加一个section节点,如下<CompileInclude="LinqExtensionsDataProducerExt.cs"/><CompileInclude="LinqExtensionsDataProducerExt.SingleReturn.cs"> <DependentUpon>DataProducerExt.cs</DependentUpon></Compile>