aspnetcore/eng/scripts
Doug Bunting 14d6b6e286
Build primarily with `dotnet msbuild` (#22017)
* Make `dotnet msbuild` the default on Windows too
  - add step using desktop `msbuild` when native builds may be involved
    - `-All` (without `-NoBuildNative`), `-BuildNative` or `-BuildInstallers` run this step
    - but `-ForceCoreMsbuild` unconditionally skips this step

nits:
- add binary log for RepoTasks build if `$BinaryLog` (echoes the `dotnet msbuild` command)
- add blank lines between build steps

* Enable building managed projects depending on native assets
  - splitting native builds out confuses these projects
  - use `$(BuildNative)` less, only to control actual building (not bundling)
  - build both native platforms in one `msbuild` invocation

* Adjust generation scripts to explicitly choose the MSBuild engine
  - ensure native assets are included in GenerateReferenceAssemblies.ps1 build
  - clean up the global state that tools.ps1 corrupts

* Revert move to VS2019.Pre queues

This reverts part of commit b67d161e03
- was "[release/5.0-preview5] Update dependencies from dotnet/aspnetcore-tooling (#21710)"

* Revert "!temporary! Require `msbuild` from VS2019 16.6"
  - this reverts commit 58cf2304a6

* Reduce build duplication in pipelines
  - build native assets and repo tasks once per CI job
  - only cleanup framework references after packing managed projects

nits:
- wrap a few long lines
- remove extra `-forceCoreMsbuild` options in SiteExtensions' build.cmd

* Fix Helix jobs
  - restore.cmd doesn't work well with `-projects`; script unconditionally adds `-all`

* !fixup! Reduce duplications further
  - missed a couple of places `-noBuildRepoTasks` helps

* Cleanup: Remove a few dangling binary logs

* !fixup! Correct typos in generation scripts

* !fixup! Another typo in the generation scripts
2020-05-29 19:02:03 -07:00
..
CodeCheck.ps1 Changes to build in master 2020-05-28 15:43:55 -07:00
FinishDumpCollectionForHangingBuilds.ps1 [Infrastructure] Adds support for capturing process dumps for hanging builds on Windows (#13912) 2019-09-16 21:54:20 +02:00
GenerateProjectList.ps1 Build primarily with `dotnet msbuild` (#22017) 2020-05-29 19:02:03 -07:00
GenerateReferenceAssemblies.ps1 Build primarily with `dotnet msbuild` (#22017) 2020-05-29 19:02:03 -07:00
InstallGoogleChrome.ps1
InstallJdk.ps1
InstallProcDump.ps1 [Infrastructure] Adds support for capturing process dumps for hanging builds on Windows (#13912) 2019-09-16 21:54:20 +02:00
InstallTar.ps1 Create missing directory and simplify workaround slightly 2019-09-30 19:14:00 -07:00
InstallVisualStudio.ps1 aspnet/AspNetCore -> dotnet/aspnet 2020-01-08 16:40:11 -08:00
KillProcesses.ps1 List dotnet processes about to be killed (#20526) 2020-04-03 17:00:01 -07:00
KillProcesses.sh List dotnet processes about to be killed (#20526) 2020-04-03 17:00:01 -07:00
RunHelix.ps1 Fix Helix log upload (#20258) 2020-03-27 23:15:56 -07:00
StartDumpCollectionForHangingBuilds.ps1 Ignore error output from `Get-Process` 2020-05-15 21:57:44 -07:00
ci-source-build.sh Fix targets file 2020-02-19 18:15:59 -08:00
common.psm1
dump_process.ps1
install-nginx-linux.sh Avoid changing global state in CI runs II (#21643) 2020-05-22 13:56:47 -07:00
install-nginx-mac.sh
update-packagejson-links.js
vs.buildtools.json Also update existing json files 2020-03-31 14:25:44 -07:00
vs.buildtools.preview.json Also update existing json files 2020-03-31 14:25:44 -07:00
vs.json Also update existing json files 2020-03-31 14:25:44 -07:00
vs.preview.json Also update existing json files 2020-03-31 14:25:44 -07:00