Skip to content

Commit 07eb426

Browse files
scripts: fix adding new exercise to solution
1 parent 48985a8 commit 07eb426

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/add-practice-exercise.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ $exerciseDir = "exercises/practice/${Exercise}"
3434
$projectFile = "${exerciseDir}/${ExerciseName}.csproj"
3535
& dotnet new install xunit.v3.templates
3636
& dotnet new xunit3 --force --output $exerciseDir --name $ExerciseName
37-
& dotnet sln exercises/Exercises.sln add $project
37+
& dotnet sln exercises/Exercises.sln add $projectFile
3838

3939
[xml]$project = Get-Content $projectFile
4040
$project.Project.PropertyGroup.RemoveChild($project.Project.PropertyGroup.SelectSingleNode("//comment()"))

0 commit comments

Comments
 (0)