Here are a few things that the current NAnt script does: 1. Pulls version from svn and autogens AssemblyInfos 2. Runs tests via nunit 3. Compiles + packages files into a zip file to be ready to be uploaded to sf.net 4. Runs NCover and NDepend 5. Supports passing of parameters to configure tests (eg database tests are passed NHibernate settings like string connection)
How to handle these in MSBuild: 1. TeamCity 5.1 or custom msbuild task 2. Use Resharper locally, and use TeamCity on the build server 3. Can be done in TC 4. TC v5 now supports NCover out of the box and NDepends can be set to run after a build in TC 5. I was thinking of setting up "Environment Variables" in TC. Cheers John On Dec 21, 1:17 am, Roelof Blom <[email protected]> wrote: > Hi, > > Isn't it time to retire NAnt and just simply build projects with MSBuild? > The benefits being: > > - having one build technology, > - sln/csproj (references and sources) are 'automatically' in sync with > what's on the disk, > - just open a sln and it compiles without running NAnt first(we create a > little exe that creates/updates AssemblyInfo on the PreBuildEvent). > > SharpDevelop, being a pretty big project, is entirely being build by MSBuild > so it should be possible for us also, especially now that the projects are > split up. > > On Mono there's xbuild <http://www.mono-project.com/Microsoft.Build>, and > from what I read > here<http://ankitjain.org/blog/2009/10/02/xbuild-and-mono-2-6p1/>it's > very much up to the task on Mono 2.6. > > I am currently investigating, but want to check if there's anything I am > grossly overlooking i.e. what NAnt does and MSBuild can't. For extending > MSBuild I am usinghttp://msbuildtasks.tigris.org/ > > -- Roelof. -- You received this message because you are subscribed to the Google Groups "Castle Project Development List" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en.
