Commit 50bda06
[xabuild.exe] fixes for paths/settings on macOS (#1685)
When looking at my Mono 5.12 installation, I noticed a few files we
should be using with `xabuild.exe`:
* `/Library/Frameworks/Mono.framework/Versions/5.12.0/lib/mono/msbuild/15.0/bin/NuGet.targets`
* `/Library/Frameworks/Mono.framework/Versions/5.12.0/lib/mono/msbuild/15.0/bin/Sdks` directory
`NuGet.targets` is needed for `XABuildPaths.NuGetRestoreTargets`, and
the `Sdks` directory can be used for `MSBuildSdksPath`.
Both of these values can still fall back to .NET Core, if they are
not found.
After these changes, macOS more closely matches the Windows code. We
should be able to build a wider range of .NET standard projects with
`xabuild.exe` now.1 parent 8fd6696 commit 50bda06
1 file changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
147 | | - | |
| 146 | + | |
| 147 | + | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
153 | | - | |
| 152 | + | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
| 158 | + | |
158 | 159 | | |
159 | 160 | | |
160 | 161 | | |
| |||
0 commit comments