From 03ed8e6b57a0e842651a73618edae8955d5a3243 Mon Sep 17 00:00:00 2001 From: Youssef1313 Date: Sun, 21 Dec 2025 14:33:33 +0100 Subject: [PATCH] Migrate from VSTest to MTP --- Directory.Build.props | 5 +++++ Source/_Tests/AssertionHelper/AssertionHelper.csproj | 1 - .../AudibleUtilities.Tests/AudibleUtilities.Tests.csproj | 7 ++----- .../FileLiberator.Tests/FileLiberator.Tests.csproj | 7 ++----- Source/_Tests/FileManager.Tests/FileManager.Tests.csproj | 8 ++------ .../LibationFileManager.Tests.csproj | 8 ++------ .../LibationSearchEngine.Tests.csproj | 8 ++------ .../LibationUiBase.Tests/LibationUiBase.Tests.csproj | 6 +----- global.json | 9 +++++++++ 9 files changed, 25 insertions(+), 34 deletions(-) create mode 100644 Directory.Build.props create mode 100644 global.json diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 00000000..309ffac1 --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,5 @@ + + + true + + diff --git a/Source/_Tests/AssertionHelper/AssertionHelper.csproj b/Source/_Tests/AssertionHelper/AssertionHelper.csproj index 467484fb..06797cd0 100644 --- a/Source/_Tests/AssertionHelper/AssertionHelper.csproj +++ b/Source/_Tests/AssertionHelper/AssertionHelper.csproj @@ -7,7 +7,6 @@ - diff --git a/Source/_Tests/AudibleUtilities.Tests/AudibleUtilities.Tests.csproj b/Source/_Tests/AudibleUtilities.Tests/AudibleUtilities.Tests.csproj index 6ac8d6df..6cb4e51d 100644 --- a/Source/_Tests/AudibleUtilities.Tests/AudibleUtilities.Tests.csproj +++ b/Source/_Tests/AudibleUtilities.Tests/AudibleUtilities.Tests.csproj @@ -2,15 +2,12 @@ net10.0 + Exe false - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/Source/_Tests/FileLiberator.Tests/FileLiberator.Tests.csproj b/Source/_Tests/FileLiberator.Tests/FileLiberator.Tests.csproj index 38797420..b8c4ee1f 100644 --- a/Source/_Tests/FileLiberator.Tests/FileLiberator.Tests.csproj +++ b/Source/_Tests/FileLiberator.Tests/FileLiberator.Tests.csproj @@ -2,15 +2,12 @@ net10.0 + Exe false - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/Source/_Tests/FileManager.Tests/FileManager.Tests.csproj b/Source/_Tests/FileManager.Tests/FileManager.Tests.csproj index 2d249fbc..524778cc 100644 --- a/Source/_Tests/FileManager.Tests/FileManager.Tests.csproj +++ b/Source/_Tests/FileManager.Tests/FileManager.Tests.csproj @@ -2,16 +2,12 @@ net10.0 - + Exe false - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/Source/_Tests/LibationFileManager.Tests/LibationFileManager.Tests.csproj b/Source/_Tests/LibationFileManager.Tests/LibationFileManager.Tests.csproj index be9a9e84..906cc9f5 100644 --- a/Source/_Tests/LibationFileManager.Tests/LibationFileManager.Tests.csproj +++ b/Source/_Tests/LibationFileManager.Tests/LibationFileManager.Tests.csproj @@ -2,16 +2,12 @@ net10.0 - + Exe false - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/Source/_Tests/LibationSearchEngine.Tests/LibationSearchEngine.Tests.csproj b/Source/_Tests/LibationSearchEngine.Tests/LibationSearchEngine.Tests.csproj index 3f22cecd..9a82fa42 100644 --- a/Source/_Tests/LibationSearchEngine.Tests/LibationSearchEngine.Tests.csproj +++ b/Source/_Tests/LibationSearchEngine.Tests/LibationSearchEngine.Tests.csproj @@ -2,16 +2,12 @@ net10.0 - + Exe false - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/Source/_Tests/LibationUiBase.Tests/LibationUiBase.Tests.csproj b/Source/_Tests/LibationUiBase.Tests/LibationUiBase.Tests.csproj index 0277e6f3..d7d32bcb 100644 --- a/Source/_Tests/LibationUiBase.Tests/LibationUiBase.Tests.csproj +++ b/Source/_Tests/LibationUiBase.Tests/LibationUiBase.Tests.csproj @@ -5,10 +5,10 @@ latest enable enable + Exe - @@ -16,8 +16,4 @@ - - - - diff --git a/global.json b/global.json new file mode 100644 index 00000000..6168d70b --- /dev/null +++ b/global.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/global.json", + "sdk": { + "version": "10.0.101" + }, + "test": { + "runner": "Microsoft.Testing.Platform" + } +} \ No newline at end of file