Chris Sells wrote:

>CollectionGen [1] is a Custom Tool Add-In to VS.NET to generate
>type-safe collections. CollectionGen is an add-on to generate code for
>type-safe collections until we have templates in C# (likely) and VB
>(unlikely). Once you've set it up and defined your collections in a
>collection definition file in your project, you'll have type-safe
>collection classes generated as part of your design-process.
>
This is really cool. Thanks for providing it. I've just written a NAnt
task to wrap it and I have a couple of questions.  Is it OK to
distribute source or binaries for CollectionGen with NAnt ? In the
current design all the work is done in a subclass of
BaseCodeGeneratorWithSite. It would be nice to factor out the actual
generation code so that it can be called on systems without VS.NET. I
can't compile a call to BaseCodeGeneratorWithSite.GenerateCode( .. )
without a reference to Microsoft.VSDesigner.dll. It would also bi nice
to have a command line tool that could be used independent of visual
studio - a bit like XSD.exe.
I'd be happy to do all the work on this. Are you accepting patches for
CollectionGen ?

Thanks again for providing a nifty tool.

Ian

btw the NAnt task is of the form

<typedcollection language="CSharp" >
        <fileset>
            <includes name = "collections.xml" />
        </fileset>
    </typedcollection>

>
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to