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 b67d161e - was "[release/5.0-preview5] Update dependencies from dotnet/aspnetcore-tooling (#21710)" * Revert "!temporary! Require `msbuild` from VS2019 16.6" - this reverts commit 58cf2304 * 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
显示
- .azure/pipelines/ci.yml 19 个添加, 10 个删除.azure/pipelines/ci.yml
- .azure/pipelines/helix-matrix.yml 11 个添加, 7 个删除.azure/pipelines/helix-matrix.yml
- .azure/pipelines/jobs/codesign-xplat.yml 1 个添加, 0 个删除.azure/pipelines/jobs/codesign-xplat.yml
- .azure/pipelines/jobs/default-build.yml 7 个添加, 2 个删除.azure/pipelines/jobs/default-build.yml
- .azure/pipelines/quarantined-tests.yml 5 个添加, 3 个删除.azure/pipelines/quarantined-tests.yml
- Directory.Build.props 1 个添加, 1 个删除Directory.Build.props
- build.ps1 55 个添加, 26 个删除build.ps1
- eng/AfterSolutionBuild.targets 2 个添加, 1 个删除eng/AfterSolutionBuild.targets
- eng/Build.props 5 个添加, 7 个删除eng/Build.props
- eng/scripts/GenerateProjectList.ps1 11 个添加, 4 个删除eng/scripts/GenerateProjectList.ps1
- eng/scripts/GenerateReferenceAssemblies.ps1 19 个添加, 4 个删除eng/scripts/GenerateReferenceAssemblies.ps1
- eng/targets/ResolveIisReferences.targets 0 个添加, 7 个删除eng/targets/ResolveIisReferences.targets
- global.json 1 个添加, 1 个删除global.json
- src/Framework/src/Microsoft.AspNetCore.App.Runtime.csproj 12 个添加, 4 个删除src/Framework/src/Microsoft.AspNetCore.App.Runtime.csproj
- src/SiteExtensions/build.cmd 3 个添加, 3 个删除src/SiteExtensions/build.cmd
加载中
想要评论请 注册 或 登录