Skip to content

Commit

Permalink
Merge pull request #55 from MarkoKacprzak/Fix#54
Browse files Browse the repository at this point in the history
Fix bug #54 Unhandled Exception: System.Xml.Schema.XmlSchemaException…
  • Loading branch information
mganss authored Apr 4, 2018
2 parents 738e333 + 88ddb09 commit 144d779
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions XmlSchemaClassGenerator/Generator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ public void Generate(IEnumerable<string> files)
}));

foreach (var s in schemas)
{
Set.Add(s);
{
Set.Add(s.TargetNamespace, s.SourceUri);
}

Set.Compile();
Expand Down

0 comments on commit 144d779

Please sign in to comment.