Commit 3e03442
committed
Condition property on .NET FX MSBuild
The `BuildWithNetFrameworkHostedCompiler` property forces a .NET
Framework specific compiler package to be used. This property was being
unconditionally set which meant it loaded inside of `dotnet build`. In
that environment the build task is invalid / unsupported.
In this particular case the task ended up throwing errors trying to
connect to the compiler server. That is an expected failure path in the
build task and it will fallback silently to csc.exe. That meant this
went unnoticed as builds remained functional, just significantly slower.
Related: dotnet/sdk#485571 parent d59ce18 commit 3e03442
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
0 commit comments