Browse Source

Fixed GeneratorTests.GetOutputDirectory to work with VS for Mac.

pull/756/head
Joao Matos 9 years ago
parent
commit
d50ee38470
  1. 3
      src/Generator.Tests/GeneratorTest.cs

3
src/Generator.Tests/GeneratorTest.cs

@ -86,7 +86,8 @@ namespace CppSharp.Utils
static string GetOutputDirectory() static string GetOutputDirectory()
{ {
var directory = Directory.GetParent(Directory.GetCurrentDirectory()); string exePath = new Uri(Assembly.GetExecutingAssembly().CodeBase).LocalPath;
var directory = Directory.GetParent(exePath);
while (directory != null) while (directory != null)
{ {

Loading…
Cancel
Save