Add support for <namespace>tag in HLSL markup


Shazzam uses a <namespace> tag to override the default namespace in the generated *.CS file. This project seems to always use the location in the project for the namespace. I'd really like the ability to override the defaults. For example the current default may be something like Test.Imaging.Effects, but I'd like to change it to Test.Imaging to keep the number of namespaces under control.


NickDarnell wrote Mar 5, 2010 at 6:18 AM

In visual studio, you can set the "Custom Tool Namespace" property on the file. That will override the default one I pick based on the file location.

sbussinger wrote Mar 8, 2010 at 12:23 AM

Thanks! I'd never paid any attention to that setting before. Good to know it's there and it seemed to work fine. It would be nice to go ahead and support the <namespace> tag if only to keep this project and Shazzam in sync, but it's certainly a very low priority given the "Custom Tool Namespace" property.

wrote Feb 14, 2013 at 12:15 AM