We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a468c8 commit 2e5e030Copy full SHA for 2e5e030
LibGit2Sharp.Tests/TestHelpers/BaseFixture.cs
@@ -56,8 +56,10 @@ private static void SetUpTestEnvironment()
56
{
57
IsFileSystemCaseSensitive = IsFileSystemCaseSensitiveInternal();
58
59
+ string initialAssemblyParentFolder = Directory.GetParent(new Uri(Assembly.GetExecutingAssembly().EscapedCodeBase).LocalPath).FullName;
60
+
61
const string sourceRelativePath = @"../../Resources";
- ResourcesDirectory = new DirectoryInfo(sourceRelativePath);
62
+ ResourcesDirectory = new DirectoryInfo(Path.Combine(initialAssemblyParentFolder, sourceRelativePath));
63
64
// Setup standard paths to our test repositories
65
BareTestRepoPath = Path.Combine(sourceRelativePath, "testrepo.git");
0 commit comments