diff --git a/FSharpBuild.Directory.Build.props b/FSharpBuild.Directory.Build.props
index 515de9bbdc7..f342ca6fe6a 100644
--- a/FSharpBuild.Directory.Build.props
+++ b/FSharpBuild.Directory.Build.props
@@ -93,6 +93,10 @@
true
+
+ $(DefineConstants);TESTING_ON_LINUX
+
+
$(ProtoOutputPath)\fsc\Microsoft.FSharp.Targets
diff --git a/FSharpTests.Directory.Build.props b/FSharpTests.Directory.Build.props
index 37da8b15930..8a7a832a43e 100644
--- a/FSharpTests.Directory.Build.props
+++ b/FSharpTests.Directory.Build.props
@@ -16,10 +16,6 @@
-
- ($(DefineConstants);TESTING_ON_LINUX
-
-
true