VS2010 / C#中的奇怪构建错误。建筑项目尚未完成

时间:2014-10-24 09:57:39

标签: c# visual-studio-2010 msbuild build-process

在我们的自动构建过程中,我们使用visual studio命令行(由于某些原因我们不能使用msbuild):

devenv.exe /build ....

它可以正常工作多年,但最近我们转移到其他构建机器。有时(罕见)构建因stgange错误而失败。更确切地说 - 对于某些项目来说,这不是错误。项目已启动,仅此而已:

....
62>C:\Windows\Microsoft.NET\FramModuleork\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "D:\Autobuild\10.0\dotNET_tc\My.Legacy\bin\x64\Release\My.Legacy.dll", "AMD64". This mismatch may cause runtMye failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
62> My.Srv.User -> D:\GFIN_Autobuild\gfin_10.0\dotNET_tc\My.Srv.User\bin\My.Srv.User.dll
63>------ Build started: Project: My.Srv.Admin, Configuration: Release Any CPU ------
64>------ Build started: Project: My.ExportProcessor, Configuration: Release Any CPU ------
65>------ Build started: Project: My.Srv.MSSQLConnector, Configuration: Release Any CPU ------
66>------ Build started: Project: My.Server.Ita, Configuration: Release Any CPU ------
67>------ Build started: Project: My.Server.Rca, Configuration: Release Any CPU ------
68>------ Build started: Project: My.Server.Module, Configuration: Release Any CPU ------
69>------ Build started: Project: My.Server.DB2, Configuration: Release x64 ------
70>------ Build started: Project: My.Server.Server, Configuration: Release Any CPU ------
71>------ Build started: Project: My.Server.Module.Specific, Configuration: Release Any CPU ------
72>------ Build started: Project: My.Patterns.Data, Configuration: Release x64 ------
73>------ Build started: Project: My.Server.DatabaseWeb, Configuration: Release Any CPU ------
74>------ Build started: Project: My.Srv.Client, Configuration: Release Any CPU ------
========== Build: 59 succeeded, 15 failed, 1 up-to-date, 0 skipped ==========

我们更改虚拟构建机器的主机,我们在构建机器上重新安装操作系统,但错误仍然出现。

有什么想法吗?

P.S。我们从Jenkins和TeamCity开始构建。两个错误都被复制了。

0 个答案:

没有答案