Skip to content

Fix the target framework in the msi.proj now that net5.0 is unsupported by the sdk - #11284

Merged
mmitche merged 1 commit into
release/7.0from
lewing/workload-target-net7
Oct 14, 2022
Merged

mmitche merged 1 commit into
release/7.0from
lewing/workload-target-net7

Conversation

@lewing

@lewing lewing commented Oct 14, 2022

Copy link
Copy Markdown
Member

@mmitche
mmitche enabled auto-merge (squash) October 14, 2022 18:08
@mmitche
mmitche merged commit 3083cc9 into release/7.0 Oct 14, 2022
@lewing
lewing deleted the lewing/workload-target-net7 branch October 15, 2022 01:29
<PackageVersion>__PACKAGE_VERSION__</PackageVersion>
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@lewing should we make this a __TARGET_FRAMEWORK__ argument so that it can be passed in?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

$(TargetFramework) would be better since this is a template for a .csproj and you don't know up front under which build the project will be invoked. If it's a property, consumers can pass valid values and we can try to calculate a defualt.

@akoeplinger

Copy link
Copy Markdown
Member

Should we port this to main?

@mmitche

mmitche commented Oct 19, 2022

Copy link
Copy Markdown
Member

Should we port this to main?

Yep

@akoeplinger

Copy link
Copy Markdown
Member

/backport to main

@akoeplinger

Copy link
Copy Markdown
Member

looks like GitHub Actions aren't enabled in the arcade repo

@akoeplinger

Copy link
Copy Markdown
Member

/backport to main

@github-actions

github-actions Bot commented Nov 3, 2022

Copy link
Copy Markdown
Contributor

Started backporting to main: https://github.com/dotnet/arcade/actions/runs/3388101051

@lewing

lewing commented Nov 9, 2022

Copy link
Copy Markdown
Member Author

/backport to release/6.0

@github-actions

github-actions Bot commented Nov 9, 2022

Copy link
Copy Markdown
Contributor

Started backporting to release/6.0: https://github.com/dotnet/arcade/actions/runs/3430633107

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants