Skip to content

Commit 4ba2875

Browse files
authored
Fix compiling webhost failure in all pipelines
1 parent 685fc11 commit 4ba2875

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,8 @@ def _compile_webhost(webhost_dir: pathlib.Path):
412412

413413
try:
414414
subprocess.run(
415-
args=["dotnet", "build", "WebJobs.Script.sln", "-o", "bin"],
415+
args=["dotnet", "build", "WebJobs.Script.sln", "-o", "bin",
416+
"/p:TreatWarningsAsErrors=false],
416417
check=True,
417418
cwd=str(webhost_dir),
418419
stdout=sys.stdout,

0 commit comments

Comments
 (0)