From 1da503d9fce7b8479ee4705bbdd92b77f1e5e68c Mon Sep 17 00:00:00 2001 From: ektrah Date: Sat, 4 May 2024 15:42:41 +0200 Subject: [PATCH] Add support for tvOS and MacCatalyst --- .github/workflows/test.yml | 2 ++ NSec.sln | 7 ----- src/Cryptography/NSec.Cryptography.csproj | 8 ++++-- src/Experimental/NSec.Experimental.csproj | 3 +- src/Interop/Interop.projitems | 35 ----------------------- src/Interop/Interop.shproj | 11 ------- 6 files changed, 8 insertions(+), 58 deletions(-) delete mode 100644 src/Interop/Interop.projitems delete mode 100644 src/Interop/Interop.shproj diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ce853e2a..4c968a4a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,6 +9,7 @@ jobs: env: DOTNET_CLI_TELEMETRY_OPTOUT: 1 DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 + AdditionalTargetFrameworks: net8.0-ios;net8.0-tvos;net8.0-maccatalyst steps: - name: Set up .NET uses: actions/setup-dotnet@v4 @@ -41,6 +42,7 @@ jobs: env: DOTNET_CLI_TELEMETRY_OPTOUT: 1 DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 + AdditionalTargetFrameworks: net8.0-ios;net8.0-tvos;net8.0-maccatalyst steps: - name: Set up .NET uses: actions/setup-dotnet@v4 diff --git a/NSec.sln b/NSec.sln index 90d2b87c..c0c131dd 100644 --- a/NSec.sln +++ b/NSec.sln @@ -7,8 +7,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NSec.Cryptography", "src\Cr EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NSec.Experimental", "src\Experimental\NSec.Experimental.csproj", "{5D5C8827-A74C-4B29-961F-CB8613C33F5C}" EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Interop", "src\Interop\Interop.shproj", "{F9492D32-4406-41EE-B90E-F9AE33F0F4DC}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tests", "tests\Tests.csproj", "{97BF2648-69D2-4A17-888F-2A13E5C5CB28}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Files", "Files", "{DF40D4F3-D18D-45F3-87DD-2A8378354B57}" @@ -113,7 +111,6 @@ Global HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution - {F9492D32-4406-41EE-B90E-F9AE33F0F4DC} = {D24568A9-54F1-48E0-88FF-2E067F9BDA95} {99A04338-7321-4B8B-AA29-496C18328F90} = {DF40D4F3-D18D-45F3-87DD-2A8378354B57} {F9D92917-A968-4F64-8F28-98B2CADE6417} = {DF40D4F3-D18D-45F3-87DD-2A8378354B57} {D24568A9-54F1-48E0-88FF-2E067F9BDA95} = {DF40D4F3-D18D-45F3-87DD-2A8378354B57} @@ -124,8 +121,4 @@ Global GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {ED81BE7D-A09F-4466-8138-E0F420A24568} EndGlobalSection - GlobalSection(SharedMSBuildProjectFiles) = preSolution - src\Interop\Interop.projitems*{839872cc-6af4-456b-a55b-f82ee7b4822e}*SharedItemsImports = 5 - src\Interop\Interop.projitems*{f9492d32-4406-41ee-b90e-f9ae33f0f4dc}*SharedItemsImports = 13 - EndGlobalSection EndGlobal diff --git a/src/Cryptography/NSec.Cryptography.csproj b/src/Cryptography/NSec.Cryptography.csproj index f984ade5..0408b7c2 100644 --- a/src/Cryptography/NSec.Cryptography.csproj +++ b/src/Cryptography/NSec.Cryptography.csproj @@ -1,8 +1,7 @@  - net8.0 - $(TargetFrameworks);net8.0-ios + net8.0;$(AdditionalTargetFrameworks) @@ -27,6 +26,9 @@ NSec.Cryptography.X25519 - + + + + diff --git a/src/Experimental/NSec.Experimental.csproj b/src/Experimental/NSec.Experimental.csproj index c28f0d52..1f3c9fe1 100644 --- a/src/Experimental/NSec.Experimental.csproj +++ b/src/Experimental/NSec.Experimental.csproj @@ -1,8 +1,7 @@  - net8.0 - $(TargetFrameworks);net8.0-ios + net8.0;$(AdditionalTargetFrameworks) diff --git a/src/Interop/Interop.projitems b/src/Interop/Interop.projitems deleted file mode 100644 index dad831ee..00000000 --- a/src/Interop/Interop.projitems +++ /dev/null @@ -1,35 +0,0 @@ - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - f9492d32-4406-41ee-b90e-f9ae33f0f4dc - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Interop/Interop.shproj b/src/Interop/Interop.shproj deleted file mode 100644 index d3f5522c..00000000 --- a/src/Interop/Interop.shproj +++ /dev/null @@ -1,11 +0,0 @@ - - - f9492d32-4406-41ee-b90e-f9ae33f0f4dc - 14.0 - - - - - - - \ No newline at end of file