diff --git a/setup.py b/setup.py
index 0fa4cda48..c686f4ec2 100644
--- a/setup.py
+++ b/setup.py
@@ -265,7 +265,6 @@ def build_extension(self, ext):
subprocess.check_call(" ".join(cmd + ["/t:Build"]), shell=use_shell)
if DEVTOOLS == "MsDev15" or DEVTOOLS == "dotnet":
subprocess.check_call(" ".join(cmd + ['"/t:Console_15:publish;Python_EmbeddingTest_15:publish"', "/p:TargetFramework=netcoreapp2.0"]), shell=use_shell)
-
if DEVTOOLS == "Mono" or DEVTOOLS == "dotnet":
self._build_monoclr()
diff --git a/src/embed_tests/Python.EmbeddingTest.15.csproj b/src/embed_tests/Python.EmbeddingTest.15.csproj
index 436d2457c..92d55a7e0 100644
--- a/src/embed_tests/Python.EmbeddingTest.15.csproj
+++ b/src/embed_tests/Python.EmbeddingTest.15.csproj
@@ -84,7 +84,6 @@
-
diff --git a/src/runtime/Python.Runtime.15.csproj b/src/runtime/Python.Runtime.15.csproj
index 18770cc51..cfde0a127 100644
--- a/src/runtime/Python.Runtime.15.csproj
+++ b/src/runtime/Python.Runtime.15.csproj
@@ -32,6 +32,14 @@
$(DefineConstants);NETSTANDARD
$(DefineConstants);TRACE;DEBUG
$(NuGetPackageRoot)\microsoft.targetingpack.netframework.v4.5\1.0.1\lib\net45\
+ $(PYTHONNET_PY2_VERSION)
+ PYTHON27
+ $(PYTHONNET_PY3_VERSION)
+ PYTHON36
+ $(PYTHONNET_WIN_DEFINE_CONSTANTS)
+ UCS2
+ $(PYTHONNET_MONO_DEFINE_CONSTANTS)
+ UCS4;MONO_LINUX;PYTHON_WITH_PYMALLOC
$(PYTHONNET_INTEROP_FILE)
@@ -54,28 +62,28 @@
- $(DefineConstants);PYTHON2;PYTHON27;UCS4
+ $(DefineConstants);PYTHON2;$(Python2Version);$(PythonMonoDefineConstants)
- $(DefineConstants);PYTHON3;PYTHON36;UCS4
+ $(DefineConstants);PYTHON3;$(Python3Version);$(PythonMonoDefineConstants)
- $(DefineConstants);PYTHON2;PYTHON27;UCS4;TRACE;DEBUG
+ $(DefineConstants);PYTHON2;$(Python2Version);$(PythonMonoDefineConstants);TRACE;DEBUG
- $(DefineConstants);PYTHON3;PYTHON36;UCS4;TRACE;DEBUG
+ $(DefineConstants);PYTHON3;$(Python3Version);$(PythonMonoDefineConstants);TRACE;DEBUG
- $(DefineConstants);PYTHON2;PYTHON27;UCS2
+ $(DefineConstants);PYTHON2;$(Python2Version);$(PythonWinDefineConstants)
- $(DefineConstants);PYTHON3;PYTHON36;UCS2
+ $(DefineConstants);PYTHON3;$(Python3Version);$(PythonWinDefineConstants)
- $(DefineConstants);PYTHON2;PYTHON27;UCS2;TRACE;DEBUG
+ $(DefineConstants);PYTHON2;$(Python2Version);$(PythonWinDefineConstants);TRACE;DEBUG
- $(DefineConstants);PYTHON3;PYTHON36;UCS2;TRACE;DEBUG
+ $(DefineConstants);PYTHON3;$(Python3Version);$(PythonWinDefineConstants);TRACE;DEBUG
@@ -110,7 +118,7 @@
-
+