diff --git a/csharp/Facebook.Yoga/YogaConfig.cs b/csharp/Facebook.Yoga/YogaConfig.cs
index 252692eb..fb2a8ee4 100644
--- a/csharp/Facebook.Yoga/YogaConfig.cs
+++ b/csharp/Facebook.Yoga/YogaConfig.cs
@@ -69,7 +69,7 @@ namespace Facebook.Yoga
if (config == null || config._logger == null)
{
// Default logger
- Console.WriteLine(message);
+ System.Diagnostics.Debug.WriteLine(message);
}
else
{
diff --git a/csharp/Mac/Facebook.Yoga.Mac.Tests/Main.cs b/csharp/Mac/Facebook.Yoga.Mac.Tests/Main.cs
index 0ebb2bce..f53bc871 100644
--- a/csharp/Mac/Facebook.Yoga.Mac.Tests/Main.cs
+++ b/csharp/Mac/Facebook.Yoga.Mac.Tests/Main.cs
@@ -33,6 +33,9 @@ namespace Facebook.Yoga.Mac.Tests
}
+ [System.Runtime.InteropServices.DllImport("/usr/lib/libSystem.dylib")]
+ static extern void _exit(int exit_code);
+
class NSRunLoopIntegration : NSObject, IMainLoopIntegration
{
public void InitializeToolkit()
@@ -51,7 +54,7 @@ namespace Facebook.Yoga.Mac.Tests
public void Shutdown()
{
- Environment.Exit(TestRunner.ExitCode);
+ _exit(TestRunner.ExitCode);
}
}
}
diff --git a/csharp/Yoga/Yoga.Universal.vcxproj b/csharp/Yoga/Yoga.Universal.vcxproj
index 4e833faf..43d62b17 100644
--- a/csharp/Yoga/Yoga.Universal.vcxproj
+++ b/csharp/Yoga/Yoga.Universal.vcxproj
@@ -104,7 +104,7 @@
true
bin\Universal\$(PlatformTarget)\$(Configuration)\
- obj\$(PlatformTarget)\$(Configuration)\
+ obj\Universal\$(PlatformTarget)\$(Configuration)\
yoga
@@ -242,8 +242,8 @@
+
-
@@ -252,8 +252,8 @@
-
+
diff --git a/csharp/Yoga/Yoga.Universal.vcxproj.filters b/csharp/Yoga/Yoga.Universal.vcxproj.filters
index 46d05f8a..84cee3aa 100644
--- a/csharp/Yoga/Yoga.Universal.vcxproj.filters
+++ b/csharp/Yoga/Yoga.Universal.vcxproj.filters
@@ -36,6 +36,9 @@
Header Files
+
+ Header Files
+
@@ -53,6 +56,9 @@
Source Files
+
+ Source Files
+