8000
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 8e56daeCopy full SHA for 8e56dae
LibGit2Sharp.Tests/TestHelpers/BaseFixture.cs
@@ -56,8 +56,10 @@ private static void SetUpTestEnvironment()
56
{
57
IsFileSystemCaseSensitive = IsFileSystemCaseSensitiveInternal();
58
59
+ string initialAssemblyLocation = new Uri(Assembly.GetExecutingAssembly().EscapedCodeBase).LocalPath;
60
+
61
const string sourceRelativePath = @"../../Resources";
- ResourcesDirectory = new DirectoryInfo(sourceRelativePath);
62
+ ResourcesDirectory = new DirectoryInfo(Path.Combine(initialAssemblyLocation, sourceRelativePath));
63
64
// Setup standard paths to our test repositories
65
BareTestRepoPath = Path.Combine(sourceRelativePath, "testrepo.git");
0 commit comments