()
| 68 | |
| 69 | |
| 70 | def generate_sln() -> Path: |
| 71 | sln_path = TEST_PROJECT / "TestProject.sln" |
| 72 | subprocess.run( |
| 73 | ["dotnet", "new", "sln", "--name", "TestProject", "--output", str(TEST_PROJECT)], |
| 74 | check=True, |
| 75 | capture_output=True, |
| 76 | ) |
| 77 | for csproj in find_csproj_files(): |
| 78 | subprocess.run( |
| 79 | ["dotnet", "sln", str(sln_path), "add", str(csproj)], |
| 80 | check=True, |
| 81 | capture_output=True, |
| 82 | ) |
| 83 | print(f"Generated {sln_path.relative_to(ROOT)}") |
| 84 | return sln_path |
| 85 | |
| 86 | |
| 87 | # ── inspectcode ────────────────────────────────────────────────────────── |
no test coverage detected