vb.net project template how can I leave the root namesapce empty
- by Wietze Veld
I have been tinkering with the VS 2010 template. So far I am able to create a vb.net class library project from my template.
However, one small thing is bugging me.
In my project template the default assembly name is the same as the default file name. I have left the root namespace empty.
But when I create a new project from the template, VS 2010 automatically fills the root namespace with the same name as my assembly name.
My template project (vbproj) for the assembly name and root namespace looks like this:
<AssemblyName>$safeprojectname$</AssemblyName>
<!-- RootNameSpace should always be empty. -->
<RootNamespace></RootNamespace>
But as said, when I leave this empty it is always overwritten with the assembly name.
Even if I create a custom parameter with an empty string as value to replace the root namespace, it is still overridden.
Any help is appreciated.