From 90b200050731ec9736c64e10827ec58d33fbb69e Mon Sep 17 00:00:00 2001 From: UniqProject <3046095+UniqProject@users.noreply.github.com> Date: Mon, 27 Feb 2023 03:01:52 +0100 Subject: [PATCH] Target dotnet 6.0 --- SampleCopy/MainForm.cs | 39 +++++++++++------------- SampleCopy/SampleCopy.csproj | 2 +- SampleCopy/SampleCopy.csproj.DotSettings | 2 ++ 3 files changed, 21 insertions(+), 22 deletions(-) create mode 100644 SampleCopy/SampleCopy.csproj.DotSettings diff --git a/SampleCopy/MainForm.cs b/SampleCopy/MainForm.cs index a26d54a5c..05402db5d 100644 --- a/SampleCopy/MainForm.cs +++ b/SampleCopy/MainForm.cs @@ -356,13 +356,12 @@ private void InitBDROMWork(object sender, DoWorkEventArgs e) protected bool BDROM_PlaylistFileScanError(TSPlaylistFile playlistFile, Exception ex) { - var result = MessageBox.Show($""" - An error occurred while scanning the playlist file {playlistFile.Name}. - - The disc may be copy-protected or damaged. - - Do you want to continue scanning the playlist files? - """, + var result = MessageBox.Show( + $"An error occurred while scanning the playlist file {playlistFile.Name}.\r\n" + + $"\r\n" + + $"The disc may be copy-protected or damaged.\r\n" + + $"\r\n" + + $"Do you want to continue scanning the playlist files?", @"BDInfo Scan Error", MessageBoxButtons.YesNo); return result == DialogResult.Yes; @@ -371,13 +370,12 @@ Do you want to continue scanning the playlist files? protected bool BDROM_StreamFileScanError(TSStreamFile streamFile, Exception ex) { - var result = MessageBox.Show($""" - An error occurred while scanning the stream file {streamFile.Name}. - - The disc may be copy-protected or damaged. - - Do you want to continue scanning the stream files? - """, + var result = MessageBox.Show( + $"An error occurred while scanning the stream file {streamFile.Name}.\r\n" + + $"\r\n" + + $"The disc may be copy-protected or damaged.\r\n" + + $"\r\n" + + $"Do you want to continue scanning the stream files?", @"BDInfo Scan Error", MessageBoxButtons.YesNo); return result == DialogResult.Yes; @@ -386,13 +384,12 @@ Do you want to continue scanning the stream files? protected bool BDROM_StreamClipFileScanError(TSStreamClipFile streamClipFile, Exception ex) { - var result = MessageBox.Show($""" - An error occurred while scanning the stream clip file {streamClipFile.Name}. - - The disc may be copy-protected or damaged. - - Do you want to continue scanning the stream clip files? - """, + var result = MessageBox.Show( + $"An error occurred while scanning the stream clip file {streamClipFile.Name}.\r\n" + + $"\r\n" + + $"The disc may be copy-protected or damaged.\r\n" + + $"\r\n" + + $"Do you want to continue scanning the stream clip files?", @"BDInfo Scan Error", MessageBoxButtons.YesNo); return result == DialogResult.Yes; diff --git a/SampleCopy/SampleCopy.csproj b/SampleCopy/SampleCopy.csproj index d48122547..0c002d995 100644 --- a/SampleCopy/SampleCopy.csproj +++ b/SampleCopy/SampleCopy.csproj @@ -2,7 +2,7 @@ WinExe - net7.0-windows + net6.0-windows true app.manifest Debug;Release;Beta diff --git a/SampleCopy/SampleCopy.csproj.DotSettings b/SampleCopy/SampleCopy.csproj.DotSettings new file mode 100644 index 000000000..acd232ee2 --- /dev/null +++ b/SampleCopy/SampleCopy.csproj.DotSettings @@ -0,0 +1,2 @@ + + Preview \ No newline at end of file