Skip to content

Conversation

@teo-tsirpanis
Copy link
Contributor

@teo-tsirpanis teo-tsirpanis commented Oct 12, 2020

Fixes #10245.

I would especially appreciate if this PR was marked with a hacktoberfest-accepted label.

@saul
Copy link
Contributor

saul commented Oct 12, 2020

I believe this should be TargetFrameworkIdentifier?

@teo-tsirpanis
Copy link
Contributor Author

How does it look like now @saul and @sfoslund?

I used MSBuild's Choose and Otherwise elements. Any TargetFramework that does not start with net4 will fall to the second case.

Co-authored-by: Saul Rennison <saul@users.noreply.github.com>
Copy link
Contributor

@cartermp cartermp left a comment

Choose a reason for hiding this comment

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

Thanks, I think this looks good. Would like @brettfo to look at this as well though.

@brettfo
Copy link
Member

brettfo commented Oct 12, 2020

Yep, I'm good with it.

I've also added the requested label in an appropriately spooky orange.

@cartermp
Copy link
Contributor

And it's also fitting because mucking about with MSBuild files is always spooky.

@cartermp cartermp merged commit 62c2ae0 into dotnet:main Oct 12, 2020
@teo-tsirpanis teo-tsirpanis deleted the patch-1 branch October 12, 2020 22:35
nosami pushed a commit to xamarin/visualfsharp that referenced this pull request Feb 23, 2021
…10247)

Co-authored-by: Saul Rennison <saul@users.noreply.github.com>
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.

Audit TargetFramework usage for .NET 5 TFM change

5 participants