Skip to content

Commit 1693d5b

Browse files
author
andreas.hoffmann
committed
Show user input if there are issues with the namespaces.
1 parent 7471594 commit 1693d5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

XmlSchemaClassGenerator/CodeUtilities.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ public static KeyValuePair<NamespaceKey, string> ParseNamespace(string nsArg, st
351351
var parts = nsArg.Split(new[] { '=' }, 2);
352352
if (parts.Length != 2)
353353
{
354-
throw new ArgumentException("XML and C# namespaces should be separated by '='.");
354+
throw new ArgumentException("XML and C# namespaces should be separated by '='. You entered: " + nsArg);
355355
}
356356

357357
var xmlNs = parts[0];

0 commit comments

Comments
 (0)