refactor: update project references and remove obsolete solution file

This commit is contained in:
2026-11-02 21:56:36 +01:00
parent e6cd5f5a1d
commit 8c52a46f58
4 changed files with 3 additions and 14 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
"type": "process",
"args": [
"build",
"${workspaceFolder}/Duempelkas.slnx"
"${workspaceFolder}/src/Duempelkas.Desktop/Duempelkas.Desktop.csproj"
],
"problemMatcher": "$msCompile",
"group": {
-11
View File
@@ -1,11 +0,0 @@
<Solution>
<Folder Name="/src/">
<Project Path="src/Duempelkas.App/Duempelkas.App.csproj" />
<Project Path="src/Duempelkas.Desktop/Duempelkas.Desktop.csproj" />
<Project Path="src/Duempelkas.Domain/Duempelkas.Domain.csproj" />
<Project Path="src/Duempelkas.Infrastructure/Duempelkas.Infrastructure.csproj" />
</Folder>
<Folder Name="/tests/">
<Project Path="tests/Duempelkas.Tests/Duempelkas.Tests.csproj" />
</Folder>
</Solution>
@@ -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"));
+1 -1
View File
@@ -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"), "<!doctype html><html lang='de'><head><meta charset='utf-8'><meta name='viewport' content='width=device-width, initial-scale=1'>" +
$"<link rel='stylesheet' href='{web}vendor/bootstrap/bootstrap.min.css'><link rel='stylesheet' href='{web}vendor/bootstrap-icons/bootstrap-icons.min.css'><link rel='stylesheet' href='{web}css/app.css'>" +