Michael, You should definitely not be getting references to both the .NET 1.0 and 1.1 corlib, can you post a verbose log to the list (NAnt.exe -verbose .....) ?
Gert PS. You no longer need to use prefix the system assembly references with ${nant.settings.currentframework.frameworkassemblydirectory} in NAnt 0.84, this is now done automatically ... >-----Original Message----- >From: Michael Dang [mailto:[EMAIL PROTECTED] >Sent: Thursday, January 8, 2004 10:42 PM >To: [EMAIL PROTECTED] >Subject: [Nant-users] CSC Task & mscorlib with 0.84 issue?? > >Hi, > >I have .Net framework 1.0 & 1.1 installed. >Using Nant 0.84 and modified the nant.exe.config to use the net-1.1 >as the default framework. > >I have a simple assembly that has a few references. When I look at >the manifest it seems Nant is compiling as a reference the >mscorlib.dll for both .net 1.0 & 1.1. > >I understand there should be one referene in there for tne 1.1, but >how do we get rid of the 1.0 version? I did set Nant to use net-1.1. > >A bug or am i missing something? > >Here is the manifest: > >.assembly extern mscorlib >{ > .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) > // .z\V.4.. > .ver 1:0:5000:0 >} >.assembly extern nunit.framework >{ > .publickeytoken = (96 D0 9A 1E B7 F4 4A 77 ) > // ......Jw > .ver 2:1:4:0 >} >.assembly extern log4net >{ > .publickeytoken = (B3 27 31 D1 1C E5 89 05 ) > // .'1..... > .ver 1:2:0:30714 >} >.assembly extern System.Data >{ > .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) > // .z\V.4.. > .ver 1:0:5000:0 >} >.assembly extern System.Xml >{ > .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) > // .z\V.4.. > .ver 1:0:5000:0 >} >.assembly extern mscorlib as mscorlib_5 >{ > .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) > // .z\V.4.. > .ver 1:0:3300:0 >} >.assembly extern System >{ > .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) > // .z\V.4.. > .ver 1:0:5000:0 >} >.assembly Ecommerce.Americas.Common >{ > .custom instance void >[mscorlib]System.Reflection.AssemblyDelaySignAttribute::.ctor(bool) = >( 01 00 00 00 00 ) > .custom instance void >[mscorlib]System.Reflection.AssemblyTitleAttribute::.ctor(string) = ( >01 00 19 45 63 6F 6D 6D 65 72 63 65 2E 41 6D 65 // ...Ecommerce.Ame > > 72 69 63 61 73 2E 43 6F 6D 6D 6F 6E 00 00 ) > // ricas.Common.. > > .hash algorithm 0x00008004 > .ver 1:1:1:0 >} >.module Ecommerce.Americas.Common.dll >// MVID: {661F02A2-4470-4E1A-9A42-191173A6FD9C} >.imagebase 0x00400000 >.subsystem 0x00000003 >.file alignment 4096 >.corflags 0x00000001 >// Image base: 0x07170000 > > > >This is my csc tag: > >I used nostdlib="true" and added an include reference to the 1.1 >mscorlib.dll but didn't help either. > ><csc target="library" output="Ecommerce.Americas.Common.dll" > debug="false" optimize="true" noconfig="false" nostdlib="false"> > <sources> > <includes name=".\Common\**\*.cs"/> > </sources> > <references> > > <includes >name="${nant.settings.currentframework.frameworkassemblydirectory}\System.dll"/> > <includes >name="${nant.settings.currentframework.frameworkassemblydirectory}\System.Data.dll"/> > <includes >name="${nant.settings.currentframework.frameworkassemblydirectory}\System.XML.dll"/> > ><!-- ThirdParty libs --> > <includes >name="C:\ReleasedAssemblies\ThirdParty\log4net\log4net.dll"/> > <includes >name="C:\ReleasedAssemblies\ThirdParty\Nunit2\nunit.framework.dll"/> > > </references> ></csc> > > >Regards, >Mike > >===== >Michael Dang > >__________________________________ >Do you Yahoo!? >Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes >http://hotjobs.sweepstakes.yahoo.com/signingbonus > > >------------------------------------------------------- >This SF.net email is sponsored by: Perforce Software. >Perforce is the Fast Software Configuration Management System offering >advanced branching capabilities and atomic changes on 50+ platforms. >Free Eval! http://www.perforce.com/perforce/loadprog.html >_______________________________________________ >Nant-users mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/nant-users > > > -------------------------------------- Telenet Webmail opent je wereld ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users