> Can I ask one thing? Why bother modifying > AssemblyInfo.cs anyway? What I'd do is just > nuke that file from my builds. Instead, just > have some other file (say, a .txt) containing > the latest build number used, then, from the > buildfile, generate a .cs with just the version > attribute into a known location from the txt > file, and then include _that_ file as part of > my csc
This is the approach I took with AssemblyAttributeFile task. It would read the latest build from an XML file and dump out the equivalent to an AssemblyInfo file. It did more than just version. It did copyright, description, etc. You can find it in the archives. Justin _______________________________________________ Nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
