From 0b2d6acf3e1925854dc1b270465d10dcdc611100 Mon Sep 17 00:00:00 2001 From: cwelt Date: Sat, 10 Oct 2020 20:23:04 +0300 Subject: [PATCH] Last touch before deployment --- DesktopClient/DesktopClient.csproj | 41 +++++++++++++++++++ DesktopClient/MainForm.cs | 2 +- WebApplication/Views/Home/About.cshtml | 2 +- WebApplication/Views/Home/Contact.cshtml | 2 +- .../Views/Home/Documentation.cshtml | 4 +- 5 files changed, 46 insertions(+), 5 deletions(-) diff --git a/DesktopClient/DesktopClient.csproj b/DesktopClient/DesktopClient.csproj index 902b150..6898829 100644 --- a/DesktopClient/DesktopClient.csproj +++ b/DesktopClient/DesktopClient.csproj @@ -12,6 +12,22 @@ 512 true true + false + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 2 + 1.0.0.%2a + false + true + true AnyCPU @@ -32,6 +48,18 @@ prompt 4 + + 1D12B9AF880D217C3944F5C4C1EE1765795E9AF2 + + + DesktopClient_TemporaryKey.pfx + + + true + + + true + @@ -67,6 +95,7 @@ Resources.resx True + SettingsSingleFileGenerator Settings.Designer.cs @@ -98,5 +127,17 @@ CompositionService + + + False + Microsoft .NET Framework 4.7.2 %28x86 and x64%29 + true + + + False + .NET Framework 3.5 SP1 + false + + \ No newline at end of file diff --git a/DesktopClient/MainForm.cs b/DesktopClient/MainForm.cs index b962ff1..4c93c00 100644 --- a/DesktopClient/MainForm.cs +++ b/DesktopClient/MainForm.cs @@ -118,7 +118,7 @@ private void btnCompose_Click(object sender, EventArgs e) var composition = new CompositionContext(_chordsFilePath, _midiFilePath, melodyTrackIndex: MelodyTrackIndex.TrackNumber1); var newMelody = composition.Compose(musicalInstrument: _musicalInstrument); - + composition.MidiOutputFile.SaveFile(); composition.MidiOutputFile.PlayAsync(); var res = MessageBox.Show("Want to pause?", "Playing", MessageBoxButtons.YesNoCancel); if (res == DialogResult.Yes) diff --git a/WebApplication/Views/Home/About.cshtml b/WebApplication/Views/Home/About.cshtml index 60567a2..e589c05 100644 --- a/WebApplication/Views/Home/About.cshtml +++ b/WebApplication/Views/Home/About.cshtml @@ -12,7 +12,7 @@

- This application is my final project
for my B.Sc. in Computer Science diff --git a/WebApplication/Views/Home/Contact.cshtml b/WebApplication/Views/Home/Contact.cshtml index 6f5cfb4..5e906e3 100644 --- a/WebApplication/Views/Home/Contact.cshtml +++ b/WebApplication/Views/Home/Contact.cshtml @@ -23,7 +23,7 @@ diff --git a/WebApplication/Views/Home/Documentation.cshtml b/WebApplication/Views/Home/Documentation.cshtml index 8c8075c..e8e312d 100644 --- a/WebApplication/Views/Home/Documentation.cshtml +++ b/WebApplication/Views/Home/Documentation.cshtml @@ -27,7 +27,7 @@


- - +