Skip to content

Commit bbcd5fb

Browse files
committed
Enable NuGet package restore for windows builds
1 parent 7e042b0 commit bbcd5fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonnet/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def build_extension(self, ext):
9595
"/p:Platform=%s" % _platform,
9696
"/p:DefineConstants=\"%s\"" % _defines_sep.join(defines),
9797
"/p:PythonBuildDir=%s" % os.path.abspath(dest_dir),
98-
"/p:NoNuGet=true",
98+
"/p:NoNuGet=%s" % ("true" if DEVTOOLS=="Mono" else "false"),
9999
"/verbosity:%s" % VERBOSITY,
100100
]
101101

0 commit comments

Comments
 (0)