Skip to content

<TargetFrameworks /> -> <TargetFramework />#36727

Merged
dougbu merged 7 commits intomainfrom
dougbu/less.frameworksss
Sep 22, 2021
Merged

<TargetFrameworks /> -> <TargetFramework />#36727
dougbu merged 7 commits intomainfrom
dougbu/less.frameworksss

Conversation

@dougbu
Copy link
Copy Markdown
Contributor

@dougbu dougbu commented Sep 19, 2021

  • avoid useless transitions to inner builds

- avoid useless transitions to inner builds
@dougbu dougbu requested review from a team and sebastienros September 19, 2021 18:39
@dougbu dougbu added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Sep 19, 2021
@dougbu
Copy link
Copy Markdown
Contributor Author

dougbu commented Sep 19, 2021

  • avoid useless transitions to inner builds

@rainersigwald will this impact build performance at all❔

- project builds only w/ `$(DefaultNetCoreTargetFramework)`
@rainersigwald
Copy link
Copy Markdown
Member

will this impact build performance at all❔

Yes, but you might not notice.

Specifically, only one evaluation per project is required now, where before you were using two. Evaluation time is nontrivial but is not usually a huge component of build time.

Comment thread src/Mvc/perf/benchmarkapps/BasicApi/BasicApi.csproj Outdated
Comment thread src/Middleware/ConcurrencyLimiter/sample/ConcurrencyLimiterSample.csproj Outdated
Comment thread src/Http/Routing/test/testassets/Benchmarks/Benchmarks.csproj
Comment thread src/Http/Routing/test/testassets/Benchmarks/Benchmarks.csproj
Comment thread src/Http/Routing/test/testassets/Benchmarks/Benchmarks.csproj
Comment thread src/Http/Routing/test/testassets/Benchmarks/Benchmarks.csproj Outdated
@dougbu dougbu merged commit e639f4e into main Sep 22, 2021
@dougbu dougbu deleted the dougbu/less.frameworksss branch September 22, 2021 23:06
@ghost ghost added this to the 7.0-preview1 milestone Sep 22, 2021
@dougbu
Copy link
Copy Markdown
Contributor Author

dougbu commented Sep 22, 2021

/backport to release/6.0

@github-actions
Copy link
Copy Markdown
Contributor

Started backporting to release/6.0: https://github.com/dotnet/aspnetcore/actions/runs/1263812307

@github-actions
Copy link
Copy Markdown
Contributor

@dougbu an error occurred while backporting to release/6.0, please check the run log for details!

Error: @dougbu is not a repo collaborator, backporting is not allowed.

dougbu added a commit that referenced this pull request Sep 30, 2021
- backport of #36727

`<TargetFrameworks />` -> `<TargetFramework />` (#36727)

  * `<TargetFrameworks />` -> `<TargetFramework />`
    - avoid useless transitions to inner builds
  * Remove most `$(BenchmarksTargetFramework)` use

  Co-authored-by: Sébastien Ros <sebastienros@gmail.com>
dougbu added a commit that referenced this pull request Sep 30, 2021
- backport of #36727

`<TargetFrameworks />` -> `<TargetFramework />` (#36727)

  * `<TargetFrameworks />` -> `<TargetFramework />`
    - avoid useless transitions to inner builds
  * Remove most `$(BenchmarksTargetFramework)` use

  Co-authored-by: Sébastien Ros <sebastienros@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants