Ignoring CS2008 warning when recompiling with generated modules, because the theme and test projects don't have .cs files

This commit is contained in:
Benedek Farkas
2024-11-29 14:36:29 +01:00
parent 8e5a6a1f66
commit b6a89aa94b

View File

@@ -51,7 +51,7 @@ jobs:
& "src/Orchard.Web/bin/Orchard.exe" @$commandFile
- name: Compile with generated projects
run: msbuild Orchard.proj /m /v:minimal /t:Compile /p:TreatWarningsAsErrors=true -WarnAsError
run: msbuild Orchard.proj /m /v:minimal /t:Compile /p:TreatWarningsAsErrors=true -WarnAsError /NoWarn:CS2008
compile-node:
name: Compile client-side assets