From 3345db2f4e6408fdf2e8f099251c5c1310b56937 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Wed, 20 Oct 2021 13:41:04 +0200 Subject: [PATCH] [Touch.Client] Add a shared.csproj for the .NET projects. (#108) Add a shared.csproj for the .NET projects to share most of the build logic between the platforms. Also remove the watchOS project, since we don't support watchOS in .NET at the moment. --- .../Touch.Client-MacCatalyst.dotnet.csproj | 60 +-------------- .../dotnet/iOS/Touch.Client-iOS.dotnet.csproj | 60 +-------------- .../macOS/Touch.Client-macOS.dotnet.csproj | 41 +--------- Touch.Client/dotnet/shared.csproj | 77 +++++++++++++++++++ .../tvOS/Touch.Client-tvOS.dotnet.csproj | 58 +------------- .../Touch.Client-watchOS.dotnet.csproj | 43 ----------- 6 files changed, 81 insertions(+), 258 deletions(-) create mode 100644 Touch.Client/dotnet/shared.csproj delete mode 100644 Touch.Client/dotnet/watchOS/Touch.Client-watchOS.dotnet.csproj diff --git a/Touch.Client/dotnet/MacCatalyst/Touch.Client-MacCatalyst.dotnet.csproj b/Touch.Client/dotnet/MacCatalyst/Touch.Client-MacCatalyst.dotnet.csproj index ddf4a21..c3857e7 100644 --- a/Touch.Client/dotnet/MacCatalyst/Touch.Client-MacCatalyst.dotnet.csproj +++ b/Touch.Client/dotnet/MacCatalyst/Touch.Client-MacCatalyst.dotnet.csproj @@ -2,64 +2,6 @@ net6.0-maccatalyst - NUNITLITE_NUGET - latest - - xamarinios10;$(AssetTargetFallback) - Touch.Client - - - ExcludedCategoryFilter.cs - - - HttpTextWriter.cs - - - NUnitOutputTextWriter.cs - - - Options.cs - - - TcpTextWriter.cs - - - TestCaseElement.cs - - - TestElement.cs - - - TestResultElement.cs - - - TestRocks.cs - - - TestSuiteElement.cs - - - TouchOptions.cs - - - TouchRunner.cs - - - TouchViewController.cs - - - - - 3.12.0 - - - 2.0.0-pre1 - all - true - - - 3.6.0 - - + diff --git a/Touch.Client/dotnet/iOS/Touch.Client-iOS.dotnet.csproj b/Touch.Client/dotnet/iOS/Touch.Client-iOS.dotnet.csproj index 4009dcb..79efbc4 100644 --- a/Touch.Client/dotnet/iOS/Touch.Client-iOS.dotnet.csproj +++ b/Touch.Client/dotnet/iOS/Touch.Client-iOS.dotnet.csproj @@ -2,64 +2,6 @@ net6.0-ios - NUNITLITE_NUGET - latest - - xamarinios10;$(AssetTargetFallback) - Touch.Client - - - ExcludedCategoryFilter.cs - - - HttpTextWriter.cs - - - NUnitOutputTextWriter.cs - - - Options.cs - - - TcpTextWriter.cs - - - TestCaseElement.cs - - - TestElement.cs - - - TestResultElement.cs - - - TestRocks.cs - - - TestSuiteElement.cs - - - TouchOptions.cs - - - TouchRunner.cs - - - TouchViewController.cs - - - - - 3.12.0 - - - 2.0.0-pre1 - all - true - - - 3.6.0 - - + diff --git a/Touch.Client/dotnet/macOS/Touch.Client-macOS.dotnet.csproj b/Touch.Client/dotnet/macOS/Touch.Client-macOS.dotnet.csproj index 9862367..78e6e41 100644 --- a/Touch.Client/dotnet/macOS/Touch.Client-macOS.dotnet.csproj +++ b/Touch.Client/dotnet/macOS/Touch.Client-macOS.dotnet.csproj @@ -2,45 +2,6 @@ net6.0-macos - NUNITLITE_NUGET - latest - Touch.Client - - - ExcludedCategoryFilter.cs - - - HttpTextWriter.cs - - - NUnitOutputTextWriter.cs - - - Options.cs - - - TcpTextWriter.cs - - - TestRocks.cs - - - TouchOptions.cs - - - TouchRunner.cs - - - MacRunner.cs - - - - - 3.12.0 - - - 3.6.0 - - + diff --git a/Touch.Client/dotnet/shared.csproj b/Touch.Client/dotnet/shared.csproj new file mode 100644 index 0000000..6c6fd07 --- /dev/null +++ b/Touch.Client/dotnet/shared.csproj @@ -0,0 +1,77 @@ + + + NUNITLITE_NUGET + latest + Touch.Client + + + + ExcludedCategoryFilter.cs + + + HttpTextWriter.cs + + + NUnitOutputTextWriter.cs + + + Options.cs + + + TcpTextWriter.cs + + + TestRocks.cs + + + TouchOptions.cs + + + TouchRunner.cs + + + + + MacRunner.cs + + + + + TestCaseElement.cs + + + TestElement.cs + + + TestResultElement.cs + + + TestSuiteElement.cs + + + TouchViewController.cs + + + + + 3.12.0 + + + 3.6.0 + + + + + xamarinios10;$(AssetTargetFallback) + + + xamarintvos10;$(AssetTargetFallback) + + + + 2.0.0-pre1 + all + true + + + diff --git a/Touch.Client/dotnet/tvOS/Touch.Client-tvOS.dotnet.csproj b/Touch.Client/dotnet/tvOS/Touch.Client-tvOS.dotnet.csproj index d1a9f83..6854974 100644 --- a/Touch.Client/dotnet/tvOS/Touch.Client-tvOS.dotnet.csproj +++ b/Touch.Client/dotnet/tvOS/Touch.Client-tvOS.dotnet.csproj @@ -2,64 +2,8 @@ net6.0-tvos - NUNITLITE_NUGET - latest xamarintvos10;$(AssetTargetFallback) - Touch.Client - - - ExcludedCategoryFilter.cs - - - HttpTextWriter.cs - - - NUnitOutputTextWriter.cs - - - Options.cs - - - TcpTextWriter.cs - - - TestCaseElement.cs - - - TestElement.cs - - - TestResultElement.cs - - - TestRocks.cs - - - TestSuiteElement.cs - - - TouchOptions.cs - - - TouchRunner.cs - - - TouchViewController.cs - - - - - 3.12.0 - - - 2.0.0-pre1 - all - true - - - 3.6.0 - - + diff --git a/Touch.Client/dotnet/watchOS/Touch.Client-watchOS.dotnet.csproj b/Touch.Client/dotnet/watchOS/Touch.Client-watchOS.dotnet.csproj deleted file mode 100644 index fc54619..0000000 --- a/Touch.Client/dotnet/watchOS/Touch.Client-watchOS.dotnet.csproj +++ /dev/null @@ -1,43 +0,0 @@ - - - - net6.0-watchos - NUNITLITE_NUGET - latest - Touch.Client - - - - ExcludedCategoryFilter.cs - - - HttpTextWriter.cs - - - NUnitOutputTextWriter.cs - - - Options.cs - - - TcpTextWriter.cs - - - TestRocks.cs - - - TouchOptions.cs - - - TouchRunner.cs - - - - - 3.12.0 - - - 3.6.0 - - -