我有我的.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)
当我使用恶性0.92。如果我使用NAnt .91,一切正常。如何更新我的.build以使用.92?我建立在Win7 64Bit上。
在NAnt .91下使用完全相同的.build文件,使用的外部程序是C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe
。请注意框架,而不是Framework64。看起来NAnt .92在选择plateform='x86'
时使用了错误的框架。
这可能更适合作为NAnt-devel邮件列表上的错误报告:http://www.mail-archive.com/nant-developers%40lists.sourceforge.net/ – skolima
我向该列表发送了一封电子邮件,不知道它是否会通过,因为我没有注册。我真的不想得到所有的电子邮件。 – Justin808