It seems that the AssemblyInfoTask (asminfo) is very inflexible in that you are fixed to using the VB/C# code DOMs. I would like to use it with the new CppCodeProvider in .NET 2.0 for generating C++ code, and I'm sure there are other code generators out there that people would also like to use.
Has any work been done to add this sort of feature to AssemblyInfoTask? The current "Language" property is a simple enumeration. I'm thinking that in addition to that property, there should be a "CodeProviderType" property that contains the full type name so one can use any arbitrary code generator. E.g. one could set it to "Microsoft.VisualC.CppCodeProvider, CppCodeProvider, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". I think the answer is not to simply add "C++" to the CodeLanguage enumeration, because there are three different C++ code generators: MCppCodeProvider (for v1.1), CppCodeProvider (for v2.0), and CppCodeProvider7 (also comes with VC++ 8.0). And there are likely code DOMs for other languages too. If there is interest for this enhancement, I would just as soon make the changes myself and submit a changeset - I don't think it would be very hard to add a feature like this. Best regards, James Johnston ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users