From 05a4bd126ac6f650dfe89544c1184e7f05367850 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damian=20B=C3=BCchel?= Date: Fri, 6 May 2022 16:33:06 +0200 Subject: [PATCH] Updated solution dependencies and browser engine (version 101.0.15). --- .../SafeExamBrowser.Browser.UnitTests.csproj | 36 +++++++++---------- SafeExamBrowser.Browser.UnitTests/app.config | 4 +-- .../packages.config | 10 +++--- .../Handlers/DownloadHandler.cs | 5 +++ .../SafeExamBrowser.Browser.csproj | 33 ++++++++--------- .../Wrapper/CefSharpBrowserControl.cs | 6 ++++ .../Wrapper/CefSharpPopupControl.cs | 6 ++++ .../Wrapper/Events/CanDownloadEventHandler.cs | 14 ++++++++ .../Wrapper/Handlers/DownloadHandlerSwitch.cs | 21 +++++++++++ .../Wrapper/ICefSharpControl.cs | 2 ++ SafeExamBrowser.Browser/packages.config | 10 +++--- .../SafeExamBrowser.Client.UnitTests.csproj | 12 +++---- .../packages.config | 4 +-- ...ExamBrowser.Communication.UnitTests.csproj | 12 +++---- .../packages.config | 4 +-- ...ExamBrowser.Configuration.UnitTests.csproj | 12 +++---- .../packages.config | 4 +-- .../SafeExamBrowser.Core.UnitTests.csproj | 12 +++---- .../packages.config | 4 +-- .../SafeExamBrowser.I18n.UnitTests.csproj | 12 +++---- .../packages.config | 4 +-- .../SafeExamBrowser.Lockdown.UnitTests.csproj | 12 +++---- .../packages.config | 4 +-- .../SafeExamBrowser.Logging.UnitTests.csproj | 12 +++---- .../packages.config | 4 +-- .../SafeExamBrowser.Proctoring.csproj | 16 ++++----- SafeExamBrowser.Proctoring/packages.config | 2 +- .../SafeExamBrowser.Runtime.UnitTests.csproj | 12 +++---- SafeExamBrowser.Runtime.UnitTests/app.config | 4 +++ .../packages.config | 4 +-- SafeExamBrowser.Runtime/App.config | 4 +++ .../SafeExamBrowser.Service.UnitTests.csproj | 12 +++---- .../packages.config | 4 +-- ...feExamBrowser.UserInterface.Desktop.csproj | 1 + .../app.config | 11 ++++++ 35 files changed, 202 insertions(+), 127 deletions(-) create mode 100644 SafeExamBrowser.Browser/Wrapper/Events/CanDownloadEventHandler.cs create mode 100644 SafeExamBrowser.UserInterface.Desktop/app.config diff --git a/SafeExamBrowser.Browser.UnitTests/SafeExamBrowser.Browser.UnitTests.csproj b/SafeExamBrowser.Browser.UnitTests/SafeExamBrowser.Browser.UnitTests.csproj index 187b3ddc..c25f61b2 100644 --- a/SafeExamBrowser.Browser.UnitTests/SafeExamBrowser.Browser.UnitTests.csproj +++ b/SafeExamBrowser.Browser.UnitTests/SafeExamBrowser.Browser.UnitTests.csproj @@ -1,9 +1,9 @@  - - - - + + + + Debug @@ -64,17 +64,17 @@ ..\packages\Castle.Core.4.4.1\lib\net45\Castle.Core.dll - - ..\packages\CefSharp.Common.100.0.230\lib\net452\CefSharp.dll + + ..\packages\CefSharp.Common.101.0.150\lib\net452\CefSharp.dll - - ..\packages\CefSharp.Common.100.0.230\lib\net452\CefSharp.Core.dll + + ..\packages\CefSharp.Common.101.0.150\lib\net452\CefSharp.Core.dll - ..\packages\MSTest.TestFramework.2.2.9\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll + ..\packages\MSTest.TestFramework.2.2.10\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll - ..\packages\MSTest.TestFramework.2.2.9\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll + ..\packages\MSTest.TestFramework.2.2.10\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll ..\packages\Moq.4.17.2\lib\net45\Moq.dll @@ -149,13 +149,13 @@ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - - - + + + + + + - - + + \ No newline at end of file diff --git a/SafeExamBrowser.Browser.UnitTests/app.config b/SafeExamBrowser.Browser.UnitTests/app.config index 2c835db7..65a68e61 100644 --- a/SafeExamBrowser.Browser.UnitTests/app.config +++ b/SafeExamBrowser.Browser.UnitTests/app.config @@ -16,11 +16,11 @@ - + - + diff --git a/SafeExamBrowser.Browser.UnitTests/packages.config b/SafeExamBrowser.Browser.UnitTests/packages.config index 94574a18..45bc7ebf 100644 --- a/SafeExamBrowser.Browser.UnitTests/packages.config +++ b/SafeExamBrowser.Browser.UnitTests/packages.config @@ -1,12 +1,12 @@  - - - + + + - - + + \ No newline at end of file diff --git a/SafeExamBrowser.Browser/Handlers/DownloadHandler.cs b/SafeExamBrowser.Browser/Handlers/DownloadHandler.cs index 22f265e1..55ffff5c 100644 --- a/SafeExamBrowser.Browser/Handlers/DownloadHandler.cs +++ b/SafeExamBrowser.Browser/Handlers/DownloadHandler.cs @@ -44,6 +44,11 @@ namespace SafeExamBrowser.Browser.Handlers this.windowSettings = windowSettings; } + public bool CanDownload(IWebBrowser chromiumWebBrowser, IBrowser browser, string url, string requestMethod) + { + return true; + } + public void OnBeforeDownload(IWebBrowser webBrowser, IBrowser browser, DownloadItem downloadItem, IBeforeDownloadCallback callback) { var uri = new Uri(downloadItem.Url); diff --git a/SafeExamBrowser.Browser/SafeExamBrowser.Browser.csproj b/SafeExamBrowser.Browser/SafeExamBrowser.Browser.csproj index 691429bf..f6ccf5ef 100644 --- a/SafeExamBrowser.Browser/SafeExamBrowser.Browser.csproj +++ b/SafeExamBrowser.Browser/SafeExamBrowser.Browser.csproj @@ -1,8 +1,8 @@  - - - + + + Debug @@ -53,20 +53,20 @@ prompt - - ..\packages\CefSharp.Common.100.0.230\lib\net452\CefSharp.dll + + ..\packages\CefSharp.Common.101.0.150\lib\net452\CefSharp.dll - - ..\packages\CefSharp.Common.100.0.230\lib\net452\CefSharp.Core.dll + + ..\packages\CefSharp.Common.101.0.150\lib\net452\CefSharp.Core.dll - - ..\packages\CefSharp.WinForms.100.0.230\lib\net462\CefSharp.WinForms.dll + + ..\packages\CefSharp.WinForms.101.0.150\lib\net462\CefSharp.WinForms.dll ..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll - - ..\packages\Syroot.Windows.IO.KnownFolders.1.2.4\lib\netstandard2.0\Syroot.KnownFolders.dll + + ..\packages\Syroot.Windows.IO.KnownFolders.1.3.0\lib\netstandard2.0\Syroot.KnownFolders.dll @@ -114,6 +114,7 @@ + @@ -193,10 +194,10 @@ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - + + + + - + \ No newline at end of file diff --git a/SafeExamBrowser.Browser/Wrapper/CefSharpBrowserControl.cs b/SafeExamBrowser.Browser/Wrapper/CefSharpBrowserControl.cs index 6f7deec7..6f733340 100644 --- a/SafeExamBrowser.Browser/Wrapper/CefSharpBrowserControl.cs +++ b/SafeExamBrowser.Browser/Wrapper/CefSharpBrowserControl.cs @@ -20,6 +20,7 @@ namespace SafeExamBrowser.Browser.Wrapper public event AuthCredentialsEventHandler AuthCredentialsRequired; public event BeforeBrowseEventHandler BeforeBrowse; public event BeforeDownloadEventHandler BeforeDownload; + public event CanDownloadEventHandler CanDownload; public event DownloadUpdatedEventHandler DownloadUpdated; public event FaviconUrlChangedEventHandler FaviconUrlChanged; public event FileDialogRequestedEventHandler FileDialogRequested; @@ -65,6 +66,11 @@ namespace SafeExamBrowser.Browser.Wrapper BeforeDownload?.Invoke(webBrowser, browser, downloadItem, callback); } + public void OnCanDownload(IWebBrowser webBrowser, IBrowser browser, string url, string requestMethod, GenericEventArgs args) + { + CanDownload?.Invoke(webBrowser, browser, url, requestMethod, args); + } + public void OnDownloadUpdated(IWebBrowser webBrowser, IBrowser browser, DownloadItem downloadItem, IDownloadItemCallback callback) { DownloadUpdated?.Invoke(webBrowser, browser, downloadItem, callback); diff --git a/SafeExamBrowser.Browser/Wrapper/CefSharpPopupControl.cs b/SafeExamBrowser.Browser/Wrapper/CefSharpPopupControl.cs index 50227ce2..31a29ba9 100644 --- a/SafeExamBrowser.Browser/Wrapper/CefSharpPopupControl.cs +++ b/SafeExamBrowser.Browser/Wrapper/CefSharpPopupControl.cs @@ -18,6 +18,7 @@ namespace SafeExamBrowser.Browser.Wrapper public event AuthCredentialsEventHandler AuthCredentialsRequired; public event BeforeBrowseEventHandler BeforeBrowse; public event BeforeDownloadEventHandler BeforeDownload; + public event CanDownloadEventHandler CanDownload; public event DownloadUpdatedEventHandler DownloadUpdated; public event FaviconUrlChangedEventHandler FaviconUrlChanged; public event FileDialogRequestedEventHandler FileDialogRequested; @@ -60,6 +61,11 @@ namespace SafeExamBrowser.Browser.Wrapper BeforeDownload?.Invoke(webBrowser, browser, downloadItem, callback); } + public void OnCanDownload(IWebBrowser webBrowser, IBrowser browser, string url, string requestMethod, GenericEventArgs args) + { + CanDownload?.Invoke(webBrowser, browser, url, requestMethod, args); + } + public void OnDownloadUpdated(IWebBrowser webBrowser, IBrowser browser, DownloadItem downloadItem, IDownloadItemCallback callback) { DownloadUpdated?.Invoke(webBrowser, browser, downloadItem, callback); diff --git a/SafeExamBrowser.Browser/Wrapper/Events/CanDownloadEventHandler.cs b/SafeExamBrowser.Browser/Wrapper/Events/CanDownloadEventHandler.cs new file mode 100644 index 00000000..fec92be3 --- /dev/null +++ b/SafeExamBrowser.Browser/Wrapper/Events/CanDownloadEventHandler.cs @@ -0,0 +1,14 @@ +/* + * Copyright (c) 2022 ETH Zürich, Educational Development and Technology (LET) + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +using CefSharp; + +namespace SafeExamBrowser.Browser.Wrapper.Events +{ + internal delegate void CanDownloadEventHandler(IWebBrowser webBrowser, IBrowser browser, string url, string requestMethod, GenericEventArgs args); +} diff --git a/SafeExamBrowser.Browser/Wrapper/Handlers/DownloadHandlerSwitch.cs b/SafeExamBrowser.Browser/Wrapper/Handlers/DownloadHandlerSwitch.cs index 43f29c44..a6cbe105 100644 --- a/SafeExamBrowser.Browser/Wrapper/Handlers/DownloadHandlerSwitch.cs +++ b/SafeExamBrowser.Browser/Wrapper/Handlers/DownloadHandlerSwitch.cs @@ -9,11 +9,32 @@ using CefSharp; using CefSharp.WinForms; using CefSharp.WinForms.Host; +using SafeExamBrowser.Browser.Wrapper.Events; namespace SafeExamBrowser.Browser.Wrapper.Handlers { internal class DownloadHandlerSwitch : IDownloadHandler { + public bool CanDownload(IWebBrowser webBrowser, IBrowser browser, string url, string requestMethod) + { + var args = new GenericEventArgs { Value = false }; + + if (browser.IsPopup) + { + var control = ChromiumHostControl.FromBrowser(browser) as CefSharpPopupControl; + + control?.OnCanDownload(webBrowser, browser, url, requestMethod, args); + } + else + { + var control = ChromiumWebBrowser.FromBrowser(browser) as CefSharpBrowserControl; + + control?.OnCanDownload(webBrowser, browser, url, requestMethod, args); + } + + return args.Value; + } + public void OnBeforeDownload(IWebBrowser webBrowser, IBrowser browser, DownloadItem downloadItem, IBeforeDownloadCallback callback) { if (browser.IsPopup) diff --git a/SafeExamBrowser.Browser/Wrapper/ICefSharpControl.cs b/SafeExamBrowser.Browser/Wrapper/ICefSharpControl.cs index dc14a499..c1859c55 100644 --- a/SafeExamBrowser.Browser/Wrapper/ICefSharpControl.cs +++ b/SafeExamBrowser.Browser/Wrapper/ICefSharpControl.cs @@ -21,6 +21,7 @@ namespace SafeExamBrowser.Browser.Wrapper event AuthCredentialsEventHandler AuthCredentialsRequired; event BeforeBrowseEventHandler BeforeBrowse; event BeforeDownloadEventHandler BeforeDownload; + event CanDownloadEventHandler CanDownload; event DownloadUpdatedEventHandler DownloadUpdated; event FaviconUrlChangedEventHandler FaviconUrlChanged; event FileDialogRequestedEventHandler FileDialogRequested; @@ -36,6 +37,7 @@ namespace SafeExamBrowser.Browser.Wrapper void Load(string address); void OnBeforeBrowse(IWebBrowser webBrowser, IBrowser browser, IFrame frame, IRequest request, bool userGesture, bool isRedirect, GenericEventArgs args); void OnBeforeDownload(IWebBrowser webBrowser, IBrowser browser, DownloadItem downloadItem, IBeforeDownloadCallback callback); + void OnCanDownload(IWebBrowser webBrowser, IBrowser browser, string url, string requestMethod, GenericEventArgs args); void OnDownloadUpdated(IWebBrowser webBrowser, IBrowser browser, DownloadItem downloadItem, IDownloadItemCallback callback); void OnFaviconUrlChange(IWebBrowser webBrowser, IBrowser browser, IList urls); void OnFileDialog(IWebBrowser webBrowser, IBrowser browser, CefFileDialogMode mode, CefFileDialogFlags flags, string title, string defaultFilePath, List acceptFilters, int selectedAcceptFilter, IFileDialogCallback callback); diff --git a/SafeExamBrowser.Browser/packages.config b/SafeExamBrowser.Browser/packages.config index 2524edc6..6c0a05cd 100644 --- a/SafeExamBrowser.Browser/packages.config +++ b/SafeExamBrowser.Browser/packages.config @@ -1,10 +1,10 @@  - - - - + + + + - + \ No newline at end of file diff --git a/SafeExamBrowser.Client.UnitTests/SafeExamBrowser.Client.UnitTests.csproj b/SafeExamBrowser.Client.UnitTests/SafeExamBrowser.Client.UnitTests.csproj index 080cc6c3..aa7526de 100644 --- a/SafeExamBrowser.Client.UnitTests/SafeExamBrowser.Client.UnitTests.csproj +++ b/SafeExamBrowser.Client.UnitTests/SafeExamBrowser.Client.UnitTests.csproj @@ -1,6 +1,6 @@  - + Debug AnyCPU @@ -61,10 +61,10 @@ ..\packages\Castle.Core.4.4.1\lib\net45\Castle.Core.dll - ..\packages\MSTest.TestFramework.2.2.9\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll + ..\packages\MSTest.TestFramework.2.2.10\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll - ..\packages\MSTest.TestFramework.2.2.9\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll + ..\packages\MSTest.TestFramework.2.2.10\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll ..\packages\Moq.4.17.2\lib\net45\Moq.dll @@ -194,8 +194,8 @@ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - + + - + \ No newline at end of file diff --git a/SafeExamBrowser.Client.UnitTests/packages.config b/SafeExamBrowser.Client.UnitTests/packages.config index bee16bf3..41de8032 100644 --- a/SafeExamBrowser.Client.UnitTests/packages.config +++ b/SafeExamBrowser.Client.UnitTests/packages.config @@ -2,8 +2,8 @@ - - + + diff --git a/SafeExamBrowser.Communication.UnitTests/SafeExamBrowser.Communication.UnitTests.csproj b/SafeExamBrowser.Communication.UnitTests/SafeExamBrowser.Communication.UnitTests.csproj index 2f77adf2..a83758fb 100644 --- a/SafeExamBrowser.Communication.UnitTests/SafeExamBrowser.Communication.UnitTests.csproj +++ b/SafeExamBrowser.Communication.UnitTests/SafeExamBrowser.Communication.UnitTests.csproj @@ -1,6 +1,6 @@  - + Debug @@ -63,10 +63,10 @@ ..\packages\Castle.Core.4.4.1\lib\net45\Castle.Core.dll - ..\packages\MSTest.TestFramework.2.2.9\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll + ..\packages\MSTest.TestFramework.2.2.10\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll - ..\packages\MSTest.TestFramework.2.2.9\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll + ..\packages\MSTest.TestFramework.2.2.10\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll ..\packages\Moq.4.17.2\lib\net45\Moq.dll @@ -127,8 +127,8 @@ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - + + - + \ No newline at end of file diff --git a/SafeExamBrowser.Communication.UnitTests/packages.config b/SafeExamBrowser.Communication.UnitTests/packages.config index e4bb5e3c..9f0645e3 100644 --- a/SafeExamBrowser.Communication.UnitTests/packages.config +++ b/SafeExamBrowser.Communication.UnitTests/packages.config @@ -2,8 +2,8 @@ - - + + diff --git a/SafeExamBrowser.Configuration.UnitTests/SafeExamBrowser.Configuration.UnitTests.csproj b/SafeExamBrowser.Configuration.UnitTests/SafeExamBrowser.Configuration.UnitTests.csproj index 25303960..eb6a8580 100644 --- a/SafeExamBrowser.Configuration.UnitTests/SafeExamBrowser.Configuration.UnitTests.csproj +++ b/SafeExamBrowser.Configuration.UnitTests/SafeExamBrowser.Configuration.UnitTests.csproj @@ -1,6 +1,6 @@  - + Debug @@ -63,10 +63,10 @@ ..\packages\Castle.Core.4.4.1\lib\net45\Castle.Core.dll - ..\packages\MSTest.TestFramework.2.2.9\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll + ..\packages\MSTest.TestFramework.2.2.10\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll - ..\packages\MSTest.TestFramework.2.2.9\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll + ..\packages\MSTest.TestFramework.2.2.10\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll ..\packages\Moq.4.17.2\lib\net45\Moq.dll @@ -143,8 +143,8 @@ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - + + - + \ No newline at end of file diff --git a/SafeExamBrowser.Configuration.UnitTests/packages.config b/SafeExamBrowser.Configuration.UnitTests/packages.config index e4bb5e3c..9f0645e3 100644 --- a/SafeExamBrowser.Configuration.UnitTests/packages.config +++ b/SafeExamBrowser.Configuration.UnitTests/packages.config @@ -2,8 +2,8 @@ - - + + diff --git a/SafeExamBrowser.Core.UnitTests/SafeExamBrowser.Core.UnitTests.csproj b/SafeExamBrowser.Core.UnitTests/SafeExamBrowser.Core.UnitTests.csproj index f55bb8e4..c23a5dce 100644 --- a/SafeExamBrowser.Core.UnitTests/SafeExamBrowser.Core.UnitTests.csproj +++ b/SafeExamBrowser.Core.UnitTests/SafeExamBrowser.Core.UnitTests.csproj @@ -1,6 +1,6 @@  - + Debug AnyCPU @@ -61,10 +61,10 @@ ..\packages\Castle.Core.4.4.1\lib\net45\Castle.Core.dll - ..\packages\MSTest.TestFramework.2.2.9\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll + ..\packages\MSTest.TestFramework.2.2.10\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll - ..\packages\MSTest.TestFramework.2.2.9\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll + ..\packages\MSTest.TestFramework.2.2.10\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll ..\packages\Moq.4.17.2\lib\net45\Moq.dll @@ -133,8 +133,8 @@ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - + + - + \ No newline at end of file diff --git a/SafeExamBrowser.Core.UnitTests/packages.config b/SafeExamBrowser.Core.UnitTests/packages.config index e4bb5e3c..9f0645e3 100644 --- a/SafeExamBrowser.Core.UnitTests/packages.config +++ b/SafeExamBrowser.Core.UnitTests/packages.config @@ -2,8 +2,8 @@ - - + + diff --git a/SafeExamBrowser.I18n.UnitTests/SafeExamBrowser.I18n.UnitTests.csproj b/SafeExamBrowser.I18n.UnitTests/SafeExamBrowser.I18n.UnitTests.csproj index 0e8529da..232aafd9 100644 --- a/SafeExamBrowser.I18n.UnitTests/SafeExamBrowser.I18n.UnitTests.csproj +++ b/SafeExamBrowser.I18n.UnitTests/SafeExamBrowser.I18n.UnitTests.csproj @@ -1,6 +1,6 @@  - + Debug @@ -63,10 +63,10 @@ ..\packages\Castle.Core.4.4.1\lib\net45\Castle.Core.dll - ..\packages\MSTest.TestFramework.2.2.9\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll + ..\packages\MSTest.TestFramework.2.2.10\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll - ..\packages\MSTest.TestFramework.2.2.9\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll + ..\packages\MSTest.TestFramework.2.2.10\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll ..\packages\Moq.4.17.2\lib\net45\Moq.dll @@ -129,8 +129,8 @@ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - + + - + \ No newline at end of file diff --git a/SafeExamBrowser.I18n.UnitTests/packages.config b/SafeExamBrowser.I18n.UnitTests/packages.config index e4bb5e3c..9f0645e3 100644 --- a/SafeExamBrowser.I18n.UnitTests/packages.config +++ b/SafeExamBrowser.I18n.UnitTests/packages.config @@ -2,8 +2,8 @@ - - + + diff --git a/SafeExamBrowser.Lockdown.UnitTests/SafeExamBrowser.Lockdown.UnitTests.csproj b/SafeExamBrowser.Lockdown.UnitTests/SafeExamBrowser.Lockdown.UnitTests.csproj index 759f14cb..a79310b0 100644 --- a/SafeExamBrowser.Lockdown.UnitTests/SafeExamBrowser.Lockdown.UnitTests.csproj +++ b/SafeExamBrowser.Lockdown.UnitTests/SafeExamBrowser.Lockdown.UnitTests.csproj @@ -1,6 +1,6 @@  - + Debug @@ -62,10 +62,10 @@ ..\packages\Castle.Core.4.4.1\lib\net45\Castle.Core.dll - ..\packages\MSTest.TestFramework.2.2.9\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll + ..\packages\MSTest.TestFramework.2.2.10\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll - ..\packages\MSTest.TestFramework.2.2.9\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll + ..\packages\MSTest.TestFramework.2.2.10\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll ..\packages\Moq.4.17.2\lib\net45\Moq.dll @@ -111,8 +111,8 @@ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - + + - + \ No newline at end of file diff --git a/SafeExamBrowser.Lockdown.UnitTests/packages.config b/SafeExamBrowser.Lockdown.UnitTests/packages.config index 8a4bde5a..0f51f73a 100644 --- a/SafeExamBrowser.Lockdown.UnitTests/packages.config +++ b/SafeExamBrowser.Lockdown.UnitTests/packages.config @@ -2,8 +2,8 @@ - - + + \ No newline at end of file diff --git a/SafeExamBrowser.Logging.UnitTests/SafeExamBrowser.Logging.UnitTests.csproj b/SafeExamBrowser.Logging.UnitTests/SafeExamBrowser.Logging.UnitTests.csproj index 73c63801..b6c08052 100644 --- a/SafeExamBrowser.Logging.UnitTests/SafeExamBrowser.Logging.UnitTests.csproj +++ b/SafeExamBrowser.Logging.UnitTests/SafeExamBrowser.Logging.UnitTests.csproj @@ -1,6 +1,6 @@  - + Debug @@ -63,10 +63,10 @@ ..\packages\Castle.Core.4.4.1\lib\net45\Castle.Core.dll - ..\packages\MSTest.TestFramework.2.2.9\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll + ..\packages\MSTest.TestFramework.2.2.10\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll - ..\packages\MSTest.TestFramework.2.2.9\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll + ..\packages\MSTest.TestFramework.2.2.10\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll ..\packages\Moq.4.17.2\lib\net45\Moq.dll @@ -119,8 +119,8 @@ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - + + - + \ No newline at end of file diff --git a/SafeExamBrowser.Logging.UnitTests/packages.config b/SafeExamBrowser.Logging.UnitTests/packages.config index e4bb5e3c..9f0645e3 100644 --- a/SafeExamBrowser.Logging.UnitTests/packages.config +++ b/SafeExamBrowser.Logging.UnitTests/packages.config @@ -2,8 +2,8 @@ - - + + diff --git a/SafeExamBrowser.Proctoring/SafeExamBrowser.Proctoring.csproj b/SafeExamBrowser.Proctoring/SafeExamBrowser.Proctoring.csproj index a2de840c..d85aa55f 100644 --- a/SafeExamBrowser.Proctoring/SafeExamBrowser.Proctoring.csproj +++ b/SafeExamBrowser.Proctoring/SafeExamBrowser.Proctoring.csproj @@ -52,14 +52,14 @@ MinimumRecommendedRules.ruleset - - ..\packages\Microsoft.Web.WebView2.1.0.1185.39\lib\net45\Microsoft.Web.WebView2.Core.dll + + ..\packages\Microsoft.Web.WebView2.1.0.1210.30\lib\net45\Microsoft.Web.WebView2.Core.dll - - ..\packages\Microsoft.Web.WebView2.1.0.1185.39\lib\net45\Microsoft.Web.WebView2.WinForms.dll + + ..\packages\Microsoft.Web.WebView2.1.0.1210.30\lib\net45\Microsoft.Web.WebView2.WinForms.dll - - ..\packages\Microsoft.Web.WebView2.1.0.1185.39\lib\net45\Microsoft.Web.WebView2.Wpf.dll + + ..\packages\Microsoft.Web.WebView2.1.0.1210.30\lib\net45\Microsoft.Web.WebView2.Wpf.dll ..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll @@ -124,11 +124,11 @@ - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - + \ No newline at end of file diff --git a/SafeExamBrowser.Proctoring/packages.config b/SafeExamBrowser.Proctoring/packages.config index 97963a29..f3a885b7 100644 --- a/SafeExamBrowser.Proctoring/packages.config +++ b/SafeExamBrowser.Proctoring/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/SafeExamBrowser.Runtime.UnitTests/SafeExamBrowser.Runtime.UnitTests.csproj b/SafeExamBrowser.Runtime.UnitTests/SafeExamBrowser.Runtime.UnitTests.csproj index 05b2e454..b77652bb 100644 --- a/SafeExamBrowser.Runtime.UnitTests/SafeExamBrowser.Runtime.UnitTests.csproj +++ b/SafeExamBrowser.Runtime.UnitTests/SafeExamBrowser.Runtime.UnitTests.csproj @@ -1,6 +1,6 @@  - + Debug AnyCPU @@ -61,10 +61,10 @@ ..\packages\Castle.Core.4.4.1\lib\net45\Castle.Core.dll - ..\packages\MSTest.TestFramework.2.2.9\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll + ..\packages\MSTest.TestFramework.2.2.10\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll - ..\packages\MSTest.TestFramework.2.2.9\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll + ..\packages\MSTest.TestFramework.2.2.10\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll ..\packages\Moq.4.17.2\lib\net45\Moq.dll @@ -177,8 +177,8 @@ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - + + - + \ No newline at end of file diff --git a/SafeExamBrowser.Runtime.UnitTests/app.config b/SafeExamBrowser.Runtime.UnitTests/app.config index 988c5967..4996b11b 100644 --- a/SafeExamBrowser.Runtime.UnitTests/app.config +++ b/SafeExamBrowser.Runtime.UnitTests/app.config @@ -18,6 +18,10 @@ + + + + diff --git a/SafeExamBrowser.Runtime.UnitTests/packages.config b/SafeExamBrowser.Runtime.UnitTests/packages.config index e4bb5e3c..9f0645e3 100644 --- a/SafeExamBrowser.Runtime.UnitTests/packages.config +++ b/SafeExamBrowser.Runtime.UnitTests/packages.config @@ -2,8 +2,8 @@ - - + + diff --git a/SafeExamBrowser.Runtime/App.config b/SafeExamBrowser.Runtime/App.config index dd9ea7b9..9bc6346d 100644 --- a/SafeExamBrowser.Runtime/App.config +++ b/SafeExamBrowser.Runtime/App.config @@ -9,6 +9,10 @@ + + + + diff --git a/SafeExamBrowser.Service.UnitTests/SafeExamBrowser.Service.UnitTests.csproj b/SafeExamBrowser.Service.UnitTests/SafeExamBrowser.Service.UnitTests.csproj index 78979be5..1f2febb1 100644 --- a/SafeExamBrowser.Service.UnitTests/SafeExamBrowser.Service.UnitTests.csproj +++ b/SafeExamBrowser.Service.UnitTests/SafeExamBrowser.Service.UnitTests.csproj @@ -1,6 +1,6 @@  - + Debug @@ -62,10 +62,10 @@ ..\packages\Castle.Core.4.4.1\lib\net45\Castle.Core.dll - ..\packages\MSTest.TestFramework.2.2.9\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll + ..\packages\MSTest.TestFramework.2.2.10\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll - ..\packages\MSTest.TestFramework.2.2.9\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll + ..\packages\MSTest.TestFramework.2.2.10\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll ..\packages\Moq.4.17.2\lib\net45\Moq.dll @@ -136,8 +136,8 @@ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - + + - + \ No newline at end of file diff --git a/SafeExamBrowser.Service.UnitTests/packages.config b/SafeExamBrowser.Service.UnitTests/packages.config index 8a4bde5a..0f51f73a 100644 --- a/SafeExamBrowser.Service.UnitTests/packages.config +++ b/SafeExamBrowser.Service.UnitTests/packages.config @@ -2,8 +2,8 @@ - - + + \ No newline at end of file diff --git a/SafeExamBrowser.UserInterface.Desktop/SafeExamBrowser.UserInterface.Desktop.csproj b/SafeExamBrowser.UserInterface.Desktop/SafeExamBrowser.UserInterface.Desktop.csproj index e9d9e5ce..64aca712 100644 --- a/SafeExamBrowser.UserInterface.Desktop/SafeExamBrowser.UserInterface.Desktop.csproj +++ b/SafeExamBrowser.UserInterface.Desktop/SafeExamBrowser.UserInterface.Desktop.csproj @@ -500,6 +500,7 @@ Code + Designer diff --git a/SafeExamBrowser.UserInterface.Desktop/app.config b/SafeExamBrowser.UserInterface.Desktop/app.config new file mode 100644 index 00000000..908251c0 --- /dev/null +++ b/SafeExamBrowser.UserInterface.Desktop/app.config @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file