diff --git a/Directory.Build.props b/Directory.Build.props
index e1baf319d..68822ccce 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -5,7 +5,7 @@
SIL International
SIL International
libpalaso
- Copyright © 2010-2023 SIL International
+ Copyright © 2010-2024 SIL International
NU1605;CS8002
prompt
4
diff --git a/SIL.WritingSystems.Tests/Properties/AssemblyInfo.cs b/SIL.WritingSystems.Tests/Properties/AssemblyInfo.cs
index c93b73e75..5d04e122f 100644
--- a/SIL.WritingSystems.Tests/Properties/AssemblyInfo.cs
+++ b/SIL.WritingSystems.Tests/Properties/AssemblyInfo.cs
@@ -1,5 +1,3 @@
-using System.Reflection;
-using System.Runtime.InteropServices;
using SIL.TestUtilities;
[assembly: OfflineSldr]
\ No newline at end of file
diff --git a/SIL.WritingSystems.Tests/WritingSystemOrphanFinderTests.cs b/SIL.WritingSystems.Tests/WritingSystemOrphanFinderTests.cs
index 8ed28fb1c..ddd3f38c8 100644
--- a/SIL.WritingSystems.Tests/WritingSystemOrphanFinderTests.cs
+++ b/SIL.WritingSystems.Tests/WritingSystemOrphanFinderTests.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
@@ -21,15 +21,12 @@ public TestEnvironment(string id1, string id2)
{
WritingSystemRepository = new TestLdmlInFolderWritingSystemRepository(WritingSystemsPath);
_file = _folder.GetNewTempFile(true);
- File.WriteAllText(_file.Path, String.Format("|{0}||{0}||{1}|", id1, id2));
+ File.WriteAllText(_file.Path, $"|{id1}||{id1}||{id2}|");
}
- private string WritingSystemsPath
- {
- get { return _folder.Combine("WritingSystems"); }
- }
+ private string WritingSystemsPath => _folder.Combine("WritingSystems");
- public LdmlInFolderWritingSystemRepository WritingSystemRepository { get; private set; }
+ public LdmlInFolderWritingSystemRepository WritingSystemRepository { get; }
public void Dispose()
{
@@ -56,13 +53,7 @@ public void ReplaceIdInFile(string oldid, string newid)
File.WriteAllText(_file.Path, fileContent);
}
- public string FileContent
- {
- get
- {
- return File.ReadAllText(_file.Path);
- }
- }
+ public string FileContent => File.ReadAllText(_file.Path);
}
[Test]
diff --git a/TestApps/ArchivingTestApp/ArchivingTestApp.csproj b/TestApps/ArchivingTestApp/ArchivingTestApp.csproj
index a870d4a17..725af5e07 100644
--- a/TestApps/ArchivingTestApp/ArchivingTestApp.csproj
+++ b/TestApps/ArchivingTestApp/ArchivingTestApp.csproj
@@ -4,6 +4,8 @@
WinExe
net8.0-windows
enable
+ false
+ false
true
enable
latest
diff --git a/TestApps/ClipboardTestApp/ClipboardTestApp.csproj b/TestApps/ClipboardTestApp/ClipboardTestApp.csproj
index e033ed396..439d72787 100644
--- a/TestApps/ClipboardTestApp/ClipboardTestApp.csproj
+++ b/TestApps/ClipboardTestApp/ClipboardTestApp.csproj
@@ -2,6 +2,8 @@
WinExe
+ false
+ false
true
true