Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<Version>0.3.0</Version>
<Version>0.3.1</Version>
<PackageTags>Word, Diff, Compare</PackageTags>
<Description>A .NET tool that compares two Word documents side by side using Microsoft Word's built-in document comparison feature.</Description>
<Nullable>enable</Nullable>
Expand Down
5 changes: 2 additions & 3 deletions src/MsWordDiff/Word.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,10 @@ static dynamic LaunchCompare(dynamic word, dynamic doc1, dynamic doc2)
RevisedAuthor: "",
IgnoreAllComparisonWarnings: true);

doc1.Close(SaveChanges: false);
doc2.Close(SaveChanges: false);

// Mark as saved so Word won't prompt to save on close
compare.Saved = true;
doc1.Saved = true;
doc2.Saved = true;

compare.AutoSaveOn = false;
compare.ShowSpellingErrors = false;
Expand Down