From 911768a20d4b5e3e8a1ddd7a13b3e9fdb61400a0 Mon Sep 17 00:00:00 2001 From: Charlie Poole Date: Sun, 22 Oct 2023 12:59:27 -0700 Subject: [PATCH] Clean up csproj files --- build.cake | 6 - .../UiException/nunit.uiexception.dll.csproj | 36 +-- .../tests/nunit.uiexception.tests.csproj | 65 +++--- .../TestCentric.Gui.Exe.csproj | 22 +- .../testcentric.gui/TestCentric.Gui.csproj | 218 +++++++++--------- .../tests/TestCentric.Gui.Tests.csproj | 32 ++- .../tests/TestCentric.Gui.Model.Tests.csproj | 8 +- 7 files changed, 198 insertions(+), 189 deletions(-) diff --git a/build.cake b/build.cake index 5d9ce22fc..41a539607 100644 --- a/build.cake +++ b/build.cake @@ -76,8 +76,6 @@ var nugetPackage = new NuGetPackage( "testcentric.engine.dll", "testcentric.engine.core.dll", "testcentric.engine.api.dll", "TestCentric.InternalTrace.dll", "testcentric.engine.metadata.dll", "testcentric.extensibility.dll", "testcentric.extensibility.api.dll", "testcentric.engine.pdb", "../../nuget/testcentric.nuget.addins"), - new DirectoryContent("tools/Images").WithFiles( - "Images/DebugTests.png", "Images/RunTests.png", "Images/StopRun.png", "Images/GroupBy_16x.png", "Images/SummaryReport.png"), new DirectoryContent("tools/Images/Tree/Circles").WithFiles( "Images/Tree/Circles/Success.jpg", "Images/Tree/Circles/Failure.jpg", "Images/Tree/Circles/Ignored.jpg", "Images/Tree/Circles/Inconclusive.jpg", "Images/Tree/Circles/Skipped.jpg"), new DirectoryContent("tools/Images/Tree/Classic").WithFiles( @@ -95,7 +93,6 @@ var nugetPackage = new NuGetPackage( checks: new PackageCheck[] { HasFiles("CHANGES.txt", "LICENSE.txt", "NOTICES.txt", "testcentric.png"), HasDirectory("tools").WithFiles(GUI_FILES).AndFiles(ENGINE_FILES).AndFile("testcentric.nuget.addins"), - HasDirectory("tools/Images").WithFiles("DebugTests.png", "RunTests.png", "StopRun.png", "GroupBy_16x.png", "SummaryReport.png"), HasDirectory("tools/Images/Tree/Circles").WithFiles(TREE_ICONS_JPG), HasDirectory("tools/Images/Tree/Classic").WithFiles(TREE_ICONS_JPG), HasDirectory("tools/Images/Tree/Default").WithFiles(TREE_ICONS_PNG), @@ -118,8 +115,6 @@ var chocolateyPackage = new ChocolateyPackage( "testcentric.engine.dll", "testcentric.engine.core.dll", "testcentric.engine.api.dll", "TestCentric.InternalTrace.dll", "testcentric.engine.metadata.dll", "testcentric.extensibility.dll", "testcentric.extensibility.api.dll", "testcentric.engine.pdb", "../../choco/testcentric.choco.addins"), - new DirectoryContent("tools/Images").WithFiles( - "Images/DebugTests.png", "Images/RunTests.png", "Images/StopRun.png", "Images/GroupBy_16x.png", "Images/SummaryReport.png"), new DirectoryContent("tools/Images/Tree/Circles").WithFiles( "Images/Tree/Circles/Success.jpg", "Images/Tree/Circles/Failure.jpg", "Images/Tree/Circles/Ignored.jpg", "Images/Tree/Circles/Inconclusive.jpg", "Images/Tree/Circles/Skipped.jpg"), new DirectoryContent("tools/Images/Tree/Classic").WithFiles( @@ -136,7 +131,6 @@ var chocolateyPackage = new ChocolateyPackage( testRunner: new GuiSelfTester(BuildSettings.ChocolateyTestDirectory + "testcentric-gui/tools/testcentric.exe"), checks: new PackageCheck[] { HasDirectory("tools").WithFiles("CHANGES.txt", "LICENSE.txt", "NOTICES.txt", "VERIFICATION.txt", "testcentric.choco.addins").AndFiles(GUI_FILES).AndFiles(ENGINE_FILES).AndFile("testcentric.choco.addins"), - HasDirectory("tools/Images").WithFiles("DebugTests.png", "RunTests.png", "StopRun.png", "GroupBy_16x.png", "SummaryReport.png"), HasDirectory("tools/Images/Tree/Circles").WithFiles(TREE_ICONS_JPG), HasDirectory("tools/Images/Tree/Classic").WithFiles(TREE_ICONS_JPG), HasDirectory("tools/Images/Tree/Default").WithFiles(TREE_ICONS_PNG), diff --git a/src/GuiException/UiException/nunit.uiexception.dll.csproj b/src/GuiException/UiException/nunit.uiexception.dll.csproj index 0e9ee176e..b43e9825a 100644 --- a/src/GuiException/UiException/nunit.uiexception.dll.csproj +++ b/src/GuiException/UiException/nunit.uiexception.dll.csproj @@ -1,18 +1,22 @@  - - NUnit.UiException - nunit.uiexception - net462 - ..\..\..\bin\$(Configuration)\ - false - true - true - ..\..\testcentric.snk - - - - - - - + + + NUnit.UiException + nunit.uiexception + net462 + ..\..\..\bin\$(Configuration)\ + false + true + true + ..\..\testcentric.snk + + + + + + + + + + \ No newline at end of file diff --git a/src/GuiException/tests/nunit.uiexception.tests.csproj b/src/GuiException/tests/nunit.uiexception.tests.csproj index ccdaf6ef1..8f63e91eb 100644 --- a/src/GuiException/tests/nunit.uiexception.tests.csproj +++ b/src/GuiException/tests/nunit.uiexception.tests.csproj @@ -1,31 +1,38 @@  - - NUnit.UiException.Tests - nunit.uiexception.tests - Exe - net462 - ..\..\..\bin\$(Configuration)\ - false - true - - - - - - - - - - - - - - - - - - - - - + + + NUnit.UiException.Tests + nunit.uiexception.tests + Exe + net462 + ..\..\..\bin\$(Configuration)\ + false + true + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/TestCentric/testcentric.exe/TestCentric.Gui.Exe.csproj b/src/TestCentric/testcentric.exe/TestCentric.Gui.Exe.csproj index 7d4aaaa1a..7eb72edf9 100644 --- a/src/TestCentric/testcentric.exe/TestCentric.Gui.Exe.csproj +++ b/src/TestCentric/testcentric.exe/TestCentric.Gui.Exe.csproj @@ -1,4 +1,5 @@  + WinExe TestCentric.Gui @@ -7,23 +8,26 @@ ..\..\..\bin\$(Configuration)\ false true - TestCentric Runner - GUI Runner Executable - + TestCentric Runner + GUI Runner Executable + + - + + ..\..\..\testcentric.ico - - - TestCentric.Gui - + + + - + + testcentric.ico + \ No newline at end of file diff --git a/src/TestCentric/testcentric.gui/TestCentric.Gui.csproj b/src/TestCentric/testcentric.gui/TestCentric.Gui.csproj index ad081a3a0..7f5419e4c 100644 --- a/src/TestCentric/testcentric.gui/TestCentric.Gui.csproj +++ b/src/TestCentric/testcentric.gui/TestCentric.Gui.csproj @@ -1,4 +1,5 @@  + TestCentric.Gui TestCentric.Gui.Runner @@ -6,113 +7,118 @@ ..\..\..\bin\$(Configuration)\ false true - TestCentric Runner - TestCentric GUI Implementation - true - + TestCentric Runner + TestCentric GUI Implementation + true + + - - - - - - - testcentric.ico - - - PreserveNewest - - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - - - - - - - True - True - Resources.resx - - - - - ResXFileCodeGenerator - Resources.Designer.cs - - + + + + + + + + + testcentric.ico + + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + + + + + + + + + True + True + Resources.resx + + + + + + ResXFileCodeGenerator + Resources.Designer.cs + + + \ No newline at end of file diff --git a/src/TestCentric/tests/TestCentric.Gui.Tests.csproj b/src/TestCentric/tests/TestCentric.Gui.Tests.csproj index 372c368fa..abbd2ba23 100644 --- a/src/TestCentric/tests/TestCentric.Gui.Tests.csproj +++ b/src/TestCentric/tests/TestCentric.Gui.Tests.csproj @@ -1,4 +1,5 @@  + TestCentric.Gui TestCentric.Gui.Tests @@ -7,31 +8,27 @@ ..\..\..\bin\$(Configuration)\ false true - TestCentric GUI Tests - + TestCentric GUI Tests + + - - - TestCentric.Gui.Model - - - TestCentric.Gui - - - nunit.uiexception.dll - - - mock-assembly - + + + + + + - + + PreserveNewest - + + @@ -41,4 +38,5 @@ + \ No newline at end of file diff --git a/src/TestModel/tests/TestCentric.Gui.Model.Tests.csproj b/src/TestModel/tests/TestCentric.Gui.Model.Tests.csproj index 5b2d8c6a9..27378d4c7 100644 --- a/src/TestModel/tests/TestCentric.Gui.Model.Tests.csproj +++ b/src/TestModel/tests/TestCentric.Gui.Model.Tests.csproj @@ -15,12 +15,8 @@ - - mock-assembly - - - TestCentric.Gui.Model - + +