【发布时间】:2012-06-21 19:42:18
【问题描述】:
我已经完成了 .build 设置
<csc platform='x86' target='winexe' output='${validate.file}' debug='${debug}' warnaserror='true'>
但我明白了
[csc] error CS1607: Warning as Error: Assembly generation -- Referenced assembly 'System.Data.dll' targets a different processor
[csc] error CS1607: Warning as Error: Assembly generation -- Referenced assembly 'System.Data.OracleClient.dll' targets a different processor
[csc] error CS1607: Warning as Error: Assembly generation -- Referenced assembly 'System.EnterpriseServices.dll' targets a different processor
[csc] error CS1607: Warning as Error: Assembly generation -- Referenced assembly 'System.Transactions.dll' targets a different processor
[csc] error CS1607: Warning as Error: Assembly generation -- Referenced assembly 'System.Web.dll' targets a different processor
[csc] error CS1607: Warning as Error: Assembly generation -- Referenced assembly 'mscorlib.dll' targets a different processor
External Program Failed: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe (return code was 1)
当我使用 NAnt .92 时。如果我使用 NAnt .91 一切正常。如何更新我的 .build 以使用 .92?我在 Win7 64Bit 上构建。
在具有完全相同的 .build 文件的 NAnt .91 下,使用的外部程序是 C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe。注意框架,而不是 Framework64。它看起来像nant .92在选择plateform='x86'时使用错误的框架。
【问题讨论】:
-
这可能更适合作为 NAnt-devel 邮件列表上的错误报告:mail-archive.com/nant-developers%40lists.sourceforge.net
-
我向列表发送了一封电子邮件,不知道它是否会通过,因为我没有注册。我真的不想收到所有的 nant 电子邮件。
标签: nant