From: Dina N. <di...@gm...> - 2007-06-24 06:56:35
|
I don't have framework 2.0 installed and I'm running the build in the following way: C:\Dev\Customers\Eri\Installation\Source>C:\devtools\nant-0.85\bin\n ant.exe -buildfile:Eri.Build.xml -logfile:build.log -t:net-1.1 Also, if this is the case, how come it compiles in VS .NET 2003? On 6/22/07, Gert Driesen <ger...@te...> wrote: > > > -----Original Message----- > > From: nan...@li... > [mailto:nan...@li...] On Behalf Of DinkaYa > > Sent: donderdag 21 juni 2007 16:12 > > To: nan...@li... > > Subject: [NAnt-users] Project build fails while succeeds in VS > > > > > > Trying to build a number of solutions using NAnt, getting this error: > > [solution] Starting solution build. > > [solution] Building 'PS_AddInLib' [Release] ... > > [solution] Building 'PS_AuditClient' [Release] ... > > [solution] Building 'PS_Eric_ClientAttachment' [Release] ... > > [regasm] RegAsm error: Could not load type > W6CBFObjModLib.W6CBFTa sk from assembly W6CBFObjModLib, Version=7.5.0.2312 > , > Culture=neutral, > > PublicKeyT oken=null because the format is invalid. > > > > BUILD FAILED - 0 non-fatal error(s), 1 warning(s) > > > > External Program Failed: > > C:\DOCUME~1\DINA~1.NEI\LOCALS~1\Temp\tmp12D.tmp\regasm.exe (return code > was 100) > > > > Total time: 40.1 seconds. > > > > Building this project (PS_Eric_ClientAttachment) works perfectly fine > when > doing it from Visual Studio... > > Could it be that you're targeting a lower version of the CLR than that > W6CBFObjModLib assembly is targeting ? > > Gert > > |