Skip to content

Conversation

@pjcollins
Copy link
Contributor

Xamarin.Android has build tasks and tests that target net472 which won't
build without multitargeting Mono.Debugging.Soft.

Xamarin.Android has build tasks and tests that target net472 which won't
build without multitargeting Mono.Debugging.Soft.
@pjcollins
Copy link
Contributor Author

@nosami I don't have permission to request reviewers, but hopefully you can take a look at this when you have a moment :)


<PropertyGroup>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFrameworks>net6.0;net472</TargetFrameworks>
Copy link
Contributor

Choose a reason for hiding this comment

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

We're working towards slowly phasing out net472, because I think that implies a dependency on Mono, so I wonder if this should conditionally target net472 and net6.0.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do you want me to add some property that could control multitargeting this in this current PR, or is this something we should do in a future PR?

Both Mono.Debugger.Soft and Mono.Debugging are targeting net6.0 and net472, so I figured this removal of net472 was maybe just an oversight.

Copy link
Contributor

Choose a reason for hiding this comment

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

I'll deal with it if it becomes a problem then! I saw that net472 shells out to mono when building, so when we remove mono, if it breaks, I'll do that.

@Therzok Therzok merged commit c53676b into mono:main Dec 21, 2021
@pjcollins pjcollins deleted the fix-xa-main branch December 21, 2021 22:42
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.

2 participants