diff --git a/src/DtronixModel.props b/src/DtronixModel.props index 15df012..795aabe 100644 --- a/src/DtronixModel.props +++ b/src/DtronixModel.props @@ -1,6 +1,6 @@ - 3.0.2 + 3.0.3 $(ProjectDir)..\..\artifacts\ Dtronix Dtronix Database Modeler diff --git a/src/DtronixModeler/Xaml/ExplorerControl.xaml.cs b/src/DtronixModeler/Xaml/ExplorerControl.xaml.cs index a22ca0d..377a66d 100644 --- a/src/DtronixModeler/Xaml/ExplorerControl.xaml.cs +++ b/src/DtronixModeler/Xaml/ExplorerControl.xaml.cs @@ -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 {