Skip to content

[release/6.0] <TargetFrameworks /> -> <TargetFramework /> #37121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 30, 2021

Conversation

dougbu
Copy link
Contributor

@dougbu dougbu commented Sep 30, 2021

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

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

Co-authored-by: Sébastien Ros [email protected]

- backport of #36727

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

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

  Co-authored-by: Sébastien Ros <[email protected]>
@dougbu dougbu added area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework tell-mode Indicates a PR which is being merged during tell-mode labels Sep 30, 2021
@dougbu dougbu requested review from sebastienros and a team September 30, 2021 05:57
@@ -36,7 +36,7 @@ public string GetTempSecretProject()
private const string ProjectTemplate = @"<Project ToolsVersion=""15.0"" Sdk=""Microsoft.NET.Sdk"">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFramework>net6.0</TargetFramework>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/fyi this group of backports has been clean except for this one line 🎉

@BrennanConroy
Copy link
Member

Why is this important for 6.0?

@dougbu
Copy link
Contributor Author

dougbu commented Sep 30, 2021

Why is this important for 6.0?

It's basically free and removes some build complications that we'd rather not live w/ forever. Might even improve build performance too.

@dougbu dougbu merged commit f996456 into release/6.0 Sep 30, 2021
@dougbu dougbu deleted the dougbu/backport.36727 branch September 30, 2021 18:38
@ghost ghost added this to the 6.0.0 milestone Sep 30, 2021
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 tell-mode Indicates a PR which is being merged during tell-mode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants