temporalio / temporalio/edu-102-dotnet-code

edu-102-dotnet-code.sln references a deleted project file: testing-code/solution/Tests/Tests.csproj

Open Beginner friendly
#20 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
5
Forks
6
Avg merge
11m
Merged PRs (30d)
1

Description

Opening the repository root in VS Code (C# Dev Kit) fails to load one project:

[error] Cannot open project file 'exercises\testing-code\solution\Tests\Tests.csproj'. The project file cannot be found.
[info] Project system initialization finished. 12 project(s) are loaded, and 1 failed to load.

edu-102-dotnet-code.sln line 47 points at a file that no longer exists:

Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "exercises\testing-code\solution\Tests\Tests.csproj", "{E932E5B8-5379-4245-8085-7125064DAD9D}"

The actual file is exercises/testing-code/solution/Tests/TemporalDurableExecution.Tests.csproj. Line 37 shows the intended pattern for the equivalent project in another exercise:

Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TemporalDebugActivity.Tests", "exercises\debug-activity\solution\Tests\TemporalDebugActivity.Tests.csproj", "{EF84A16B-0BE5-4EAD-898C-D665AAA6BF4E}"

Root cause

Commit c54087a ("tests working", 2025-01-21) renamed the project file in both practice and solution, but the solution file was not updated:

A  exercises/testing-code/practice/Tests/TemporalDurableExecution.Tests.csproj
D  exercises/testing-code/practice/Tests/Tests.csproj
A  exercises/testing-code/solution/Tests/TemporalDurableExecution.Tests.csproj
D  exercises/testing-code/solution/Tests/Tests.csproj

Suggested fix

Update the line 47 entry to the current filename (and rename the display name for consistency with the other *.Tests entries):

Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TemporalDurableExecution.Tests", "exercises\testing-code\solution\Tests\TemporalDurableExecution.Tests.csproj", "{E932E5B8-5379-4245-8085-7125064DAD9D}"

The remaining 12 projects load fine and nothing in practice is affected, so the impact is limited to the error on opening the repository root -- but it is the first thing a learner sees when starting the course.

Observed at commit 168bc50 on main, .NET course.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open edu-102-dotnet-code.sln and inspect the project entry on line 47. Compare it with exercises/testing-code/solution/Tests/TemporalDurableExecution.Tests.csproj and the equivalent entry around line 37, then update the stale filename and display name. Done means opening the repository root in VS Code with C# Dev Kit loads the testing project without the missing-file error.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
92/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.