Skip to content

Commit

Permalink
Fixed issue with DDL file not being created from scratch on write.
Browse files Browse the repository at this point in the history
  • Loading branch information
DJGosnell committed Apr 6, 2022
1 parent 8d05cc5 commit fcd33fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/DtronixModel.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<VersionPrefix>3.0.2</VersionPrefix>
<VersionPrefix>3.0.3</VersionPrefix>
<PackageOutputPath>$(ProjectDir)..\..\artifacts\</PackageOutputPath>
<Company>Dtronix</Company>
<Product>Dtronix Database Modeler</Product>
Expand Down
2 changes: 1 addition & 1 deletion src/DtronixModeler/Xaml/ExplorerControl.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ public void Save(Database database, bool save_as)
{
var serializer = new XmlSerializer(typeof(Database));

using var stream = File.OpenWrite(file_name);
using var stream = File.Create(file_name);
using var writer = new StreamWriter(stream);
using var xmlWriter = XmlWriter.Create(writer, new XmlWriterSettings
{
Expand Down

0 comments on commit fcd33fb

Please sign in to comment.