Skip to main content

Posts

Showing posts from February, 2010

Changing build system file Npgsql.build and AssemblyInfo

Hi all! I just committed a change to our Npgsql.build file in order to easy package distribution generation as well as integration with CruiseControl. Yes, Npgsql is going to have a cruisecontrol server. More details later. The biggest change is that our AssemblyInfo.cs file can be generated automatically. This will be needed in order to generate assembly versions with a value cruise control server will assign to each build. So, now, in order to generate a build, you will need to specify the CCNetLabel property. You don't have to, but if you don't, Npgsql build will have a 0.0.0.0 version value. You just need to do: ./build.sh -D:CCNetLabel=2.0.9.0 ccnet And it will generate an AssemblyInfo.cs like this: using System; using System.Reflection; using System.Resources; // ------------------------------------------------------------------------------ // <autogenerated> // This code was generated by a tool. // Mono Runtime Version: 2.0.50727.1433 // // Changes