From 8c52a46f58cbeab599cff880a51ca252d84810ad Mon Sep 17 00:00:00 2001 From: troogs Date: Mon, 2 Nov 2026 21:56:36 +0100 Subject: [PATCH] refactor: update project references and remove obsolete solution file --- .vscode/tasks.json | 2 +- Duempelkas.slnx | 11 ----------- tests/Duempelkas.Tests/DesktopResourceTests.cs | 2 +- tests/Duempelkas.Tests/LayoutControlTests.cs | 2 +- 4 files changed, 3 insertions(+), 14 deletions(-) delete mode 100644 Duempelkas.slnx diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 581a0ab..3bfe6f7 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -7,7 +7,7 @@ "type": "process", "args": [ "build", - "${workspaceFolder}/Duempelkas.slnx" + "${workspaceFolder}/src/Duempelkas.Desktop/Duempelkas.Desktop.csproj" ], "problemMatcher": "$msCompile", "group": { diff --git a/Duempelkas.slnx b/Duempelkas.slnx deleted file mode 100644 index 4b0bba8..0000000 --- a/Duempelkas.slnx +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/tests/Duempelkas.Tests/DesktopResourceTests.cs b/tests/Duempelkas.Tests/DesktopResourceTests.cs index 80a3e7b..32fbe6e 100644 --- a/tests/Duempelkas.Tests/DesktopResourceTests.cs +++ b/tests/Duempelkas.Tests/DesktopResourceTests.cs @@ -9,7 +9,7 @@ public class DesktopResourceTests public void StartupStylesAndFonts_AreDeliveredLocally() { var root = new DirectoryInfo(AppContext.BaseDirectory); - while (root != null && !File.Exists(Path.Combine(root.FullName, "Duempelkas.slnx"))) root = root.Parent; + while (root != null && !File.Exists(Path.Combine(root.FullName, "src", "Duempelkas.Desktop", "Duempelkas.Desktop.csproj"))) root = root.Parent; Assert.NotNull(root); var web = Path.Combine(root.FullName, "src", "Duempelkas.Desktop", "wwwroot"); var html = File.ReadAllText(Path.Combine(web, "index.html")); diff --git a/tests/Duempelkas.Tests/LayoutControlTests.cs b/tests/Duempelkas.Tests/LayoutControlTests.cs index ac606a1..faf99c0 100644 --- a/tests/Duempelkas.Tests/LayoutControlTests.cs +++ b/tests/Duempelkas.Tests/LayoutControlTests.cs @@ -32,7 +32,7 @@ public class LayoutControlTests if (output == null) return; Directory.CreateDirectory(output); var root = new DirectoryInfo(AppContext.BaseDirectory); - while (root != null && !File.Exists(Path.Combine(root.FullName, "Duempelkas.slnx"))) root = root.Parent; + while (root != null && !File.Exists(Path.Combine(root.FullName, "src", "Duempelkas.Desktop", "Duempelkas.Desktop.csproj"))) root = root.Parent; var web = new Uri(Path.Combine(root!.FullName, "src", "Duempelkas.Desktop", "wwwroot") + Path.DirectorySeparatorChar).AbsoluteUri; File.WriteAllText(Path.Combine(output, name + ".html"), "" + $"" +