зеркало из https://github.com/microsoft/terminal.git
cbc8eed476
`nuget restore` actually runs through MSBuild! However, #15855 added a dependency from our project on a system-installed _or locally detected_ `vcpkg.targets` (or `.props`). Our build runs `nuget restore` before finding or installing vcpkg, so the rules in our project file would try to import vcpkg before it had been found (or installed). On build agents with vcpkg installed via the VS workload, this was fine: we would import the one that came with VS and go on our merry way. On build agents where it needs to be installed locally, it could not be imported. The fix in this PR is to install/bootstrap vcpkg before running nuget. I tried to isolate the vcpkg rules to only run _in the absence of nuget_, but that didn't work. |
||
---|---|---|
.. | ||
Fuzz | ||
Helix | ||
StoreSubmission | ||
config | ||
pgo | ||
pipelines | ||
rules | ||
scripts | ||
packages.config |