Validation of Xml Namespace in version VS2015

Mar 28, 2016 at 6:35 PM
I have been using the Config Section Designer since Visual Studio 2005.
I currently have "Xml Schema Namespace" defined as : "".
Upon upgrading to VS 2015 Config Section Designer this NOW generates the following error:

Error The ConfigurationSectionModel 'Xml Namespace' for CSD Model
'' must be alphanumeric, start with a letter, cannot have special characters or spaces, must be valid XML namespace. DVRConfigurationSection ...\ConfigurationSection.csd

The config section designer also does not like the following:

Is this a new BUG that was introduced?
Are you validating the "XML Schema Namespace" as a C# Namespace?
Shouldn't this allow for any URI?

If I change the value to : "" then it works without error.
Jul 20, 2016 at 7:23 PM
First, I apologize for not having much free time to contribute to this project for a while.

I know exactly what is causing this issue. At some point, I added validation because adding an invalid value would cause the CSD to be permanently damaged unless edited manually in a text editor. It looks like the wrong validation function is being called for this field. It's not a difficult fix, but I will need to re-build my development environment for this tool on my new machine. I'll check back in when I get set back up.

Due to lack of time to quickly resolve reported issues, I was hoping to add a feature to this tool that executes a transform after each build. The transform can be 100% customized by the user to alter the generated code to get around issues similar to this. It would essentially enable users to "fix" issues themselves until the plugin can be updated. In your case, your transform could look for all instances of "" and prepend the http:// part.