Gert Driesen
Fri, 22 Aug 2008 00:52:10 -0700
Hey Shovavnik, The (n)make method is used for bootstrapping NAnt; meaning, building a minimal version NAnt -without relying on NAnt itself - that can be used to build the full version of NAnt. That full version is actually built using the NAnt.build file. That build file is used to build both non-release and release versions of NAnt. The VS solution is only supplied to easy browsing the NAnt sources. I never use it to actually build NAnt, but it should still work. You get the compile warning/error because the conditional compilation flags for .NET 2.0 have not been set. Set the NET_2_0 define and try again. Let me know if there's anything else you need. Gert From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of shovavnik Sent: donderdag 21 augustus 2008 23:44 To: nant-developers@lists.sourceforge.net Subject: [nant-dev] question about different methods to build nant source Hi all, Just starting out with the NAnt source to see how things work under the hood and maybe to contribute. I noticed that the readme gives the nmake command line, which works great (even on Vista as long as you open the command prompt as an administrator). But there is also a NAnt.build file in the source folder, which also works great. Also, in VS 2008, the build fails with these errors: Error 1 Warning as Error: 'System.Runtime.InteropServices.Marshal.GetTypeLibName(System.Runtime.Intero pServices.UCOMITypeLib)' is obsolete: 'Use System.Runtime.InteropServices.Marshal.GetTypeLibName(ITypeLib pTLB) instead. http://go.microsoft.com/fwlink/?linkid=14202 <http://go.microsoft.com/fwlink/?linkid=14202&ID=0000011> &ID=0000011.' C:\Projects\NAnt\src\NAnt.VSNet\WrapperReferenceBase.cs 360 20 NAnt.VSNet Error 2 Warning as Error: 'System.Runtime.InteropServices.UCOMITypeLib' is obsolete: 'Use System.Runtime.InteropServices.ComTypes.ITypeLib instead. http://go.microsoft.com/fwlink/?linkid=14202' C:\Projects\NAnt\src\NAnt.VSNet\WrapperReferenceBase.cs 360 44 NAnt.VSNet Error 3 Metadata file 'C:\Projects\NAnt\build.VS.NET\NAnt.MSNet\NAnt.MSNetTasks.dll' could not be found NAnt.Console Error 4 Metadata file 'C:\Projects\NAnt\build.VS.NET\NAnt.VSNet\NAnt.VSNetTasks.dll' could not be found NAnt.Console Warning 5 Found conflicts between different versions of the same dependent assembly. NAnt.Console So, in theory, there seem to be 3 different build methods to build the NAnt source. The question is, why are all 3 of these methods needed? Isn't this unnecessary duplication of functionality? Is the NAnt.build more of a self-compiling proof-of-concept? Regards, shovavnik
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers