Skip to content

Commit 2e5e030

Browse files
committed
fixup! Upgrade development dependencies
1 parent 8a468c8 commit 2e5e030

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

LibGit2Sharp.Tests/TestHelpers/BaseFixture.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,10 @@ private static void SetUpTestEnvironment()
5656
{
5757
IsFileSystemCaseSensitive = IsFileSystemCaseSensitiveInternal();
5858

59+
string initialAssemblyParentFolder = Directory.GetParent(new Uri(Assembly.GetExecutingAssembly().EscapedCodeBase).LocalPath).FullName;
60+
5961
const string sourceRelativePath = @"../../Resources";
60-
ResourcesDirectory = new DirectoryInfo(sourceRelativePath);
62+
ResourcesDirectory = new DirectoryInfo(Path.Combine(initialAssemblyParentFolder, sourceRelativePath));
6163

6264
// Setup standard paths to our test repositories
6365
BareTestRepoPath = Path.Combine(sourceRelativePath, "testrepo.git");

0 commit comments

Comments
 (0)