Removed CurrentPath dependency
MODIFY
src/Chapter01.Tests/Chapter01.Tests.csproj
src/Chapter01.Tests/Chapter01.Tests.csproj
<ProjectReference Include="..\Chapter01\Chapter01.csproj" />
</ItemGroup>
<ItemGroup>
+ <PackageReference Include="IntelliTect.Multitool" Version="1.2.0" />
<PackageReference Update="coverlet.collector" Version="3.1.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>

MODIFY
src/Chapter01.Tests/Listing01.01.Tests.cs
src/Chapter01.Tests/Listing01.01.Tests.cs
@@ -13,7 +13,8 @@ namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter01.Listing01_01.Tests
public class HelloWorldTests
{
static string Ps1DirectoryPath { get; } =
- Path.GetFullPath(Path.Join("..", "..", "..", "..", "Chapter01"), Environment.CurrentDirectory);
+ Path.GetFullPath(Path.Join(
+ IntelliTect.Multitool.RepositoryPaths.GetDefaultRepoRoot(), "src", "Chapter01"));
static string Ps1Path { get; } =
Path.GetFullPath(
Path.Join(Ps1DirectoryPath, "Listing01.01.HelloWorldInC#.ps1"), Environment.CurrentDirectory);

Removed CurrentPath dependency