diff --git a/NAPS2.App.Tests/NAPS2.App.Tests.csproj b/NAPS2.App.Tests/NAPS2.App.Tests.csproj
index a595446ffd..151db69544 100644
--- a/NAPS2.App.Tests/NAPS2.App.Tests.csproj
+++ b/NAPS2.App.Tests/NAPS2.App.Tests.csproj
@@ -20,10 +20,10 @@
-
+
-
-
+
+
\ No newline at end of file
diff --git a/NAPS2.Escl.Tests/NAPS2.Escl.Tests.csproj b/NAPS2.Escl.Tests/NAPS2.Escl.Tests.csproj
index 499912f970..802d9704d4 100644
--- a/NAPS2.Escl.Tests/NAPS2.Escl.Tests.csproj
+++ b/NAPS2.Escl.Tests/NAPS2.Escl.Tests.csproj
@@ -8,10 +8,10 @@
-
+
-
-
+
+
diff --git a/NAPS2.Escl.Usb/NAPS2.Escl.Usb.csproj b/NAPS2.Escl.Usb/NAPS2.Escl.Usb.csproj
index 2d8f469736..f880b16478 100644
--- a/NAPS2.Escl.Usb/NAPS2.Escl.Usb.csproj
+++ b/NAPS2.Escl.Usb/NAPS2.Escl.Usb.csproj
@@ -11,7 +11,7 @@
-
+
\ No newline at end of file
diff --git a/NAPS2.Escl/NAPS2.Escl.csproj b/NAPS2.Escl/NAPS2.Escl.csproj
index ad133f328c..ff0bc39164 100644
--- a/NAPS2.Escl/NAPS2.Escl.csproj
+++ b/NAPS2.Escl/NAPS2.Escl.csproj
@@ -18,7 +18,7 @@
-
+
diff --git a/NAPS2.Images.Gdi/NAPS2.Images.Gdi.csproj b/NAPS2.Images.Gdi/NAPS2.Images.Gdi.csproj
index 65a57d2070..3aa6799ee5 100644
--- a/NAPS2.Images.Gdi/NAPS2.Images.Gdi.csproj
+++ b/NAPS2.Images.Gdi/NAPS2.Images.Gdi.csproj
@@ -17,7 +17,7 @@
-
+
diff --git a/NAPS2.Images/NAPS2.Images.csproj b/NAPS2.Images/NAPS2.Images.csproj
index f679283d98..85e1c90715 100644
--- a/NAPS2.Images/NAPS2.Images.csproj
+++ b/NAPS2.Images/NAPS2.Images.csproj
@@ -18,7 +18,7 @@
-
+
diff --git a/NAPS2.Internals/NAPS2.Internals.csproj b/NAPS2.Internals/NAPS2.Internals.csproj
index 5dba017852..6fce7bc74b 100644
--- a/NAPS2.Internals/NAPS2.Internals.csproj
+++ b/NAPS2.Internals/NAPS2.Internals.csproj
@@ -15,7 +15,7 @@
-
+
diff --git a/NAPS2.Lib.Tests/Dependencies/DownloadControllerTests.cs b/NAPS2.Lib.Tests/Dependencies/DownloadControllerTests.cs
index 91912b71e7..2656be129c 100644
--- a/NAPS2.Lib.Tests/Dependencies/DownloadControllerTests.cs
+++ b/NAPS2.Lib.Tests/Dependencies/DownloadControllerTests.cs
@@ -36,7 +36,7 @@ public override void Dispose()
}
[Fact]
- public async void NoQueue()
+ public async Task NoQueue()
{
MockHttpMessageHandler handler = new();
DownloadController controller = new(ScanningContext, handler.ToHttpClient());
@@ -52,7 +52,7 @@ public async void NoQueue()
}
[Fact]
- public async void NoUrl()
+ public async Task NoUrl()
{
DownloadInfo info = new("", [], 0, "0000000000000000000000000000000000000000", DownloadFormat.Gzip);
@@ -67,7 +67,7 @@ public async void NoUrl()
}
[Fact]
- public async void InvalidChecksum()
+ public async Task InvalidChecksum()
{
_httpHandler.Expect(DummyValidUrl).Respond("application/gzip", _dogsGzipStream);
@@ -88,7 +88,7 @@ public async void InvalidChecksum()
}
[Fact]
- public async void InvalidMirrorsChecksum()
+ public async Task InvalidMirrorsChecksum()
{
_mockComponent.DownloadInfo.Returns(new DownloadInfo("temp.gz",
[new DownloadMirror(DummyInvalidUrl), new DownloadMirror(DummyValidUrl)], 0, StockDogJpegSHA1, DownloadFormat.Gzip));
@@ -109,7 +109,7 @@ public async void InvalidMirrorsChecksum()
}
[Fact]
- public async void Valid()
+ public async Task Valid()
{
_mockComponent.DownloadInfo.Returns(new DownloadInfo("temp.gz", [new DownloadMirror(DummyValidUrl)], 0, StockDogJpegSHA1, DownloadFormat.Gzip));
@@ -128,7 +128,7 @@ public async void Valid()
}
[Fact]
- public async void ValidUsingMirrorUrl()
+ public async Task ValidUsingMirrorUrl()
{
_mockComponent.DownloadInfo.Returns(new DownloadInfo("temp.gz",
[new DownloadMirror(DummyInvalidUrl), new DownloadMirror(DummyValidUrl)], 0, StockDogJpegSHA1, DownloadFormat.Gzip));
diff --git a/NAPS2.Lib.Tests/NAPS2.Lib.Tests.csproj b/NAPS2.Lib.Tests/NAPS2.Lib.Tests.csproj
index 9a145033f1..402d0d7d3e 100644
--- a/NAPS2.Lib.Tests/NAPS2.Lib.Tests.csproj
+++ b/NAPS2.Lib.Tests/NAPS2.Lib.Tests.csproj
@@ -17,11 +17,11 @@
-
+
-
-
+
+
diff --git a/NAPS2.Lib.WinForms/NAPS2.Lib.WinForms.csproj b/NAPS2.Lib.WinForms/NAPS2.Lib.WinForms.csproj
index 5fd084d762..f7bb793802 100644
--- a/NAPS2.Lib.WinForms/NAPS2.Lib.WinForms.csproj
+++ b/NAPS2.Lib.WinForms/NAPS2.Lib.WinForms.csproj
@@ -22,7 +22,7 @@
-
+
diff --git a/NAPS2.Lib/NAPS2.Lib.csproj b/NAPS2.Lib/NAPS2.Lib.csproj
index b0b6fb4b5e..aeca720937 100644
--- a/NAPS2.Lib/NAPS2.Lib.csproj
+++ b/NAPS2.Lib/NAPS2.Lib.csproj
@@ -35,12 +35,12 @@
-
+
-
+
-
-
+
+
diff --git a/NAPS2.Sdk.ScannerTests/NAPS2.Sdk.ScannerTests.csproj b/NAPS2.Sdk.ScannerTests/NAPS2.Sdk.ScannerTests.csproj
index ed8a88d551..867c973460 100644
--- a/NAPS2.Sdk.ScannerTests/NAPS2.Sdk.ScannerTests.csproj
+++ b/NAPS2.Sdk.ScannerTests/NAPS2.Sdk.ScannerTests.csproj
@@ -14,10 +14,10 @@
-
+
-
-
+
+
diff --git a/NAPS2.Sdk.Tests/NAPS2.Sdk.Tests.csproj b/NAPS2.Sdk.Tests/NAPS2.Sdk.Tests.csproj
index 7ad99533d1..adfd4ffbef 100644
--- a/NAPS2.Sdk.Tests/NAPS2.Sdk.Tests.csproj
+++ b/NAPS2.Sdk.Tests/NAPS2.Sdk.Tests.csproj
@@ -26,12 +26,12 @@
-
+
-
-
+
+
diff --git a/NAPS2.Sdk.Tests/Scan/ScanErrorHandling.cs b/NAPS2.Sdk.Tests/Scan/ScanErrorHandling.cs
index 20675ef736..dd6735c592 100644
--- a/NAPS2.Sdk.Tests/Scan/ScanErrorHandling.cs
+++ b/NAPS2.Sdk.Tests/Scan/ScanErrorHandling.cs
@@ -35,7 +35,7 @@ public async Task GetDeviceList_InvalidOptions()
}
[Fact]
- public async void Scan_CreateScanBridge()
+ public async Task Scan_CreateScanBridge()
{
var localPostProcessor = Substitute.For();
var bridgeFactory = Substitute.For();
@@ -78,7 +78,7 @@ public async Task GetDeviceList_BridgeGetDeviceList()
}
[Fact]
- public async void Scan_LocalPostProcess()
+ public async Task Scan_LocalPostProcess()
{
var localPostProcessor = Substitute.For();
var bridge = new MockScanBridge { MockOutput = [CreateScannedImage()] };
@@ -96,7 +96,7 @@ public async void Scan_LocalPostProcess()
}
[Fact]
- public async void Scan_BridgeScan()
+ public async Task Scan_BridgeScan()
{
var localPostProcessor = Substitute.For();
var bridge = new MockScanBridge { Error = new InvalidOperationException() };
diff --git a/NAPS2.Sdk/NAPS2.Sdk.csproj b/NAPS2.Sdk/NAPS2.Sdk.csproj
index 1027e136a4..01b6719df7 100644
--- a/NAPS2.Sdk/NAPS2.Sdk.csproj
+++ b/NAPS2.Sdk/NAPS2.Sdk.csproj
@@ -30,7 +30,7 @@
-
+
@@ -41,7 +41,7 @@
-
+
diff --git a/NAPS2.Tools/NAPS2.Tools.csproj b/NAPS2.Tools/NAPS2.Tools.csproj
index ace2f26ba8..b56a4c1500 100644
--- a/NAPS2.Tools/NAPS2.Tools.csproj
+++ b/NAPS2.Tools/NAPS2.Tools.csproj
@@ -13,11 +13,11 @@
-
+
-
-
-
+
+
+