Automatically add namespace based on path to embedded VB.NET resources
问题 I am used to embedding resources in C# and I like the way it automatically adds namespaces to the embedded resources. That allows me to do things like this: files\version1\config.xml files\version2\config.xml files\version2\config.xml Unfortunately, if you try the same in a VB.NET project you'll get compile errors, since it tries to put all embedded resources into the root namespace. To get around this I can manually edit the .vbproj file like so: <EmbeddedResource Include="files\version1