Skip to content

Commit

Permalink
Removed LiteDB version from form title (didn't work in bundled .exe);…
Browse files Browse the repository at this point in the history
… fixed ILMerge path
  • Loading branch information
lbnascimento committed Jun 4, 2020
1 parent 3334370 commit efae4c0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LiteDB.Studio/Forms/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public MainForm(string filename)
};

// set assembly version on window title
this.Text += $" (v.{typeof(MainForm).Assembly.GetName().Version.ToString()}) - (LiteDB v.{typeof(LiteDatabase).Assembly.GetName().Version.ToString()})";
this.Text += $" (v{typeof(MainForm).Assembly.GetName().Version.ToString()})";
}

private async Task<LiteDatabase> AsyncConnect(ConnectionString connectionString)
Expand Down
2 changes: 1 addition & 1 deletion LiteDB.Studio/LiteDB.Studio.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@
<MergeAsm Include="$(OutputPath)LiteDB.dll" />
</ItemGroup>
<PropertyGroup>
<MergedAssembly>$(SolutionDir)LiteDB.Studio.exe</MergedAssembly>
<MergedAssembly>$(ProjectDir)LiteDB.Studio.exe</MergedAssembly>
</PropertyGroup>
<Message Text="ILMerge @(MergeAsm) -&gt; $(MergedAssembly)" Importance="high" />
<ILMerge InputAssemblies="@(MergeAsm)" OutputFile="$(MergedAssembly)" TargetKind="SameAsPrimaryAssembly" />
Expand Down
Binary file modified LiteDB.Studio/LiteDB.Studio.exe
Binary file not shown.

0 comments on commit efae4c0

Please sign in to comment.