From 2c2a55e61b3f63bd2a879e25befe9f3217c91570 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Tue, 14 Jul 2020 16:07:14 +0200 Subject: [PATCH] Move every Touch.Client projects to its own folder. (#69) It's complicated to have multiple projects in the same folder and not end up confusing VSfM or the build system, so just put each project in its own folder. * The Directory.Build.props file is now unnecessary, so remove it. * It's no longer needed to set BaseIntermediateOutputPath, so don't do it. * We can use the default OutputPath again. * Make sure NUNITLITE_NUGET is defined in all configurations. Also add a watchOS project. --- Touch.Client/Directory.Build.props | 8 -- .../iOS}/Touch.Client-iOS.dotnet.csproj | 0 .../tvOS}/Touch.Client-tvOS.dotnet.csproj | 0 .../{ => iOS}/Touch.Client-iOS.csproj | 34 ++++----- .../{ => tvOS}/Touch.Client-tvOS.csproj | 34 ++++----- .../watchOS/Touch.Client-watchOS.csproj | 76 +++++++++++++++++++ Touch.Unit.sln | 22 +++++- 7 files changed, 130 insertions(+), 44 deletions(-) delete mode 100644 Touch.Client/Directory.Build.props rename Touch.Client/{ => dotnet/iOS}/Touch.Client-iOS.dotnet.csproj (100%) rename Touch.Client/{ => dotnet/tvOS}/Touch.Client-tvOS.dotnet.csproj (100%) rename Touch.Client/{ => iOS}/Touch.Client-iOS.csproj (73%) rename Touch.Client/{ => tvOS}/Touch.Client-tvOS.csproj (73%) create mode 100644 Touch.Client/watchOS/Touch.Client-watchOS.csproj diff --git a/Touch.Client/Directory.Build.props b/Touch.Client/Directory.Build.props deleted file mode 100644 index 7ecd981..0000000 --- a/Touch.Client/Directory.Build.props +++ /dev/null @@ -1,8 +0,0 @@ - - - - obj\$(_PlatformName)\ - bin\$(_PlatformName)\$(Configuration) - - - diff --git a/Touch.Client/Touch.Client-iOS.dotnet.csproj b/Touch.Client/dotnet/iOS/Touch.Client-iOS.dotnet.csproj similarity index 100% rename from Touch.Client/Touch.Client-iOS.dotnet.csproj rename to Touch.Client/dotnet/iOS/Touch.Client-iOS.dotnet.csproj diff --git a/Touch.Client/Touch.Client-tvOS.dotnet.csproj b/Touch.Client/dotnet/tvOS/Touch.Client-tvOS.dotnet.csproj similarity index 100% rename from Touch.Client/Touch.Client-tvOS.dotnet.csproj rename to Touch.Client/dotnet/tvOS/Touch.Client-tvOS.dotnet.csproj diff --git a/Touch.Client/Touch.Client-iOS.csproj b/Touch.Client/iOS/Touch.Client-iOS.csproj similarity index 73% rename from Touch.Client/Touch.Client-iOS.csproj rename to Touch.Client/iOS/Touch.Client-iOS.csproj index 5e543af..032c217 100644 --- a/Touch.Client/Touch.Client-iOS.csproj +++ b/Touch.Client/iOS/Touch.Client-iOS.csproj @@ -12,21 +12,21 @@ Resources Touch.Client PackageReference - obj\iOS - + + bin\Debug true full false - bin\iOS\Debug DEBUG;NUNITLITE_NUGET prompt 4 - + + bin\Release full true - bin\iOS\Release + NUNITLITE_NUGET prompt 4 @@ -41,40 +41,40 @@ - + HttpTextWriter.cs - + NUnitOutputTextWriter.cs - + Options.cs - + TcpTextWriter.cs - + TestCaseElement.cs - + TestElement.cs - + TestResultElement.cs - + TestRocks.cs - + TestSuiteElement.cs - + TouchOptions.cs - + TouchRunner.cs - + TouchViewController.cs diff --git a/Touch.Client/Touch.Client-tvOS.csproj b/Touch.Client/tvOS/Touch.Client-tvOS.csproj similarity index 73% rename from Touch.Client/Touch.Client-tvOS.csproj rename to Touch.Client/tvOS/Touch.Client-tvOS.csproj index 875424c..399c47f 100644 --- a/Touch.Client/Touch.Client-tvOS.csproj +++ b/Touch.Client/tvOS/Touch.Client-tvOS.csproj @@ -12,21 +12,21 @@ Resources Touch.Client PackageReference - obj\tvOS - + + bin\Debug true full false - bin\tvOS\Debug DEBUG;NUNITLITE_NUGET prompt 4 - + + bin\Release full true - bin\tvOS\Release + NUNITLITE_NUGET prompt 4 @@ -41,40 +41,40 @@ - + HttpTextWriter.cs - + NUnitOutputTextWriter.cs - + Options.cs - + TcpTextWriter.cs - + TestCaseElement.cs - + TestElement.cs - + TestResultElement.cs - + TestRocks.cs - + TestSuiteElement.cs - + TouchOptions.cs - + TouchRunner.cs - + TouchViewController.cs diff --git a/Touch.Client/watchOS/Touch.Client-watchOS.csproj b/Touch.Client/watchOS/Touch.Client-watchOS.csproj new file mode 100644 index 0000000..05d8356 --- /dev/null +++ b/Touch.Client/watchOS/Touch.Client-watchOS.csproj @@ -0,0 +1,76 @@ + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + {5A3AB2C1-17A9-40C0-B889-2B5795C1C10E} + {FC940695-DFE0-4552-9F25-99AF4A5619A1};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Library + Touch.Client + Resources + Touch.Client + PackageReference + + + bin\Debug + true + full + false + DEBUG;NUNITLITE_NUGET + prompt + 4 + + + bin\Release + full + true + NUNITLITE_NUGET + prompt + 4 + + + + + + + + + + + + + + HttpTextWriter.cs + + + NUnitOutputTextWriter.cs + + + Options.cs + + + TcpTextWriter.cs + + + TestRocks.cs + + + TouchOptions.cs + + + TouchRunner.cs + + + + + 3.12.0 + + + 3.6.0 + + + + + \ No newline at end of file diff --git a/Touch.Unit.sln b/Touch.Unit.sln index 7097afa..ab97a2a 100644 --- a/Touch.Unit.sln +++ b/Touch.Unit.sln @@ -8,9 +8,11 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "monotouch.tests", "monotouc EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Touch.Server", "Touch.Server\Touch.Server.csproj", "{A1303AE1-2693-4DF7-A17B-20C2ABA1E2ED}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Touch.Client-tvOS", "Touch.Client\Touch.Client-tvOS.csproj", "{A571BB52-F57E-4ED0-ADC0-95656E866C18}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Touch.Client-tvOS", "Touch.Client\tvOS\Touch.Client-tvOS.csproj", "{A571BB52-F57E-4ED0-ADC0-95656E866C18}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Touch.Client-iOS", "Touch.Client\Touch.Client-iOS.csproj", "{F611ED96-54B5-4975-99BB-12F50AF95936}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Touch.Client-iOS", "Touch.Client\iOS\Touch.Client-iOS.csproj", "{F611ED96-54B5-4975-99BB-12F50AF95936}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Touch.Client-watchOS", "Touch.Client\watchOS\Touch.Client-watchOS.csproj", "{5A3AB2C1-17A9-40C0-B889-2B5795C1C10E}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -120,6 +122,22 @@ Global {F611ED96-54B5-4975-99BB-12F50AF95936}.AdHoc|iPhone.Build.0 = Debug|Any CPU {F611ED96-54B5-4975-99BB-12F50AF95936}.AppStore|iPhone.ActiveCfg = Debug|Any CPU {F611ED96-54B5-4975-99BB-12F50AF95936}.AppStore|iPhone.Build.0 = Debug|Any CPU + {5A3AB2C1-17A9-40C0-B889-2B5795C1C10E}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {5A3AB2C1-17A9-40C0-B889-2B5795C1C10E}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU + {5A3AB2C1-17A9-40C0-B889-2B5795C1C10E}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU + {5A3AB2C1-17A9-40C0-B889-2B5795C1C10E}.Release|iPhoneSimulator.Build.0 = Release|Any CPU + {5A3AB2C1-17A9-40C0-B889-2B5795C1C10E}.Debug|iPhone.ActiveCfg = Debug|Any CPU + {5A3AB2C1-17A9-40C0-B889-2B5795C1C10E}.Debug|iPhone.Build.0 = Debug|Any CPU + {5A3AB2C1-17A9-40C0-B889-2B5795C1C10E}.Release|iPhone.ActiveCfg = Release|Any CPU + {5A3AB2C1-17A9-40C0-B889-2B5795C1C10E}.Release|iPhone.Build.0 = Release|Any CPU + {5A3AB2C1-17A9-40C0-B889-2B5795C1C10E}.AdHoc|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {5A3AB2C1-17A9-40C0-B889-2B5795C1C10E}.AdHoc|iPhoneSimulator.Build.0 = Debug|Any CPU + {5A3AB2C1-17A9-40C0-B889-2B5795C1C10E}.AppStore|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {5A3AB2C1-17A9-40C0-B889-2B5795C1C10E}.AppStore|iPhoneSimulator.Build.0 = Debug|Any CPU + {5A3AB2C1-17A9-40C0-B889-2B5795C1C10E}.AdHoc|iPhone.ActiveCfg = Debug|Any CPU + {5A3AB2C1-17A9-40C0-B889-2B5795C1C10E}.AdHoc|iPhone.Build.0 = Debug|Any CPU + {5A3AB2C1-17A9-40C0-B889-2B5795C1C10E}.AppStore|iPhone.ActiveCfg = Debug|Any CPU + {5A3AB2C1-17A9-40C0-B889-2B5795C1C10E}.AppStore|iPhone.Build.0 = Debug|Any CPU EndGlobalSection GlobalSection(MonoDevelopProperties) = preSolution StartupItem = Touch.Unit.csproj