Custom Tool For VS.Net: How to generate the filename?

time to read 1 min | 58 words

The NHibernate Query Generator generate files using the Custom Tool interfaces to VS.Net, but I can't figure out how to control the generate filename. Ideally, I would like to have the files named something like:

Customer.hbm.g.cs

This way I can skip all the checks on them, any ideas?