> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DinkaYa > Sent: donderdag 21 juni 2007 16:12 > To: nant-users@lists.sourceforge.net > 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 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users