diff --git a/AcManager.Controls/Video/WindowsMediaPlayer.cs b/AcManager.Controls/Video/WindowsMediaPlayer.cs index b6620039b..41f306556 100644 --- a/AcManager.Controls/Video/WindowsMediaPlayer.cs +++ b/AcManager.Controls/Video/WindowsMediaPlayer.cs @@ -39,11 +39,11 @@ private void UpdateErrorMessage(string filename) { string url; var extension = Path.GetExtension(filename)?.Replace(@".", "").ToLowerInvariant(); switch (extension) { - case ".ogv": + case "ogv": url = @"https://xiph.org/dshow/"; break; - case ".webm": + case "webm": url = @"https://tools.google.com/dlpage/webmmf/"; break; diff --git a/AcManager.Tools.Tests/AcManager.Tools.Tests.csproj b/AcManager.Tools.Tests/AcManager.Tools.Tests.csproj index 1d7e7de65..74a23b408 100644 --- a/AcManager.Tools.Tests/AcManager.Tools.Tests.csproj +++ b/AcManager.Tools.Tests/AcManager.Tools.Tests.csproj @@ -60,7 +60,7 @@ ..\Output\x86\Debug\AcTools.AcdEncryption.dll - ..\Output\x86\Debug\Newtonsoft.Json.dll + ..\Libraries\Newtonsoft.Json\Newtonsoft.Json.dll ..\packages\NUnit.3.7.1\lib\net45\nunit.framework.dll diff --git a/AcTools.ExtraKn5Utils/AcTools.ExtraKn5Utils.csproj b/AcTools.ExtraKn5Utils/AcTools.ExtraKn5Utils.csproj index 0afb69672..67b1a6e59 100644 --- a/AcTools.ExtraKn5Utils/AcTools.ExtraKn5Utils.csproj +++ b/AcTools.ExtraKn5Utils/AcTools.ExtraKn5Utils.csproj @@ -61,7 +61,7 @@ ..\packages\JetBrains.Annotations.10.4.0\lib\net\JetBrains.Annotations.dll - ..\Output\x86\Debug\Newtonsoft.Json.dll + ..\Libraries\Newtonsoft.Json\Newtonsoft.Json.dll ..\Libraries\SlimDX-$(ActualPlatform)\SlimDX.dll