Runtime: Consolidate files which were split by tfms which aren't supported anymore

Created on 16 Oct 2019  路  12Comments  路  Source: dotnet/runtime

In example ProcessTests.netcoreapp.cs should be consolidated with ProcessTests.cs. As we just removed UWP we have multiple places to clean-up.

cc @stephentoub

area-Meta

All 12 comments

Please assign it to me

Thanks for helping, assigned. Let me know if you need any help.

Could you please clarify if I should consolidate other netcoreapp.cs files

I continue to work on this to combine other files

yes, this issue isn't just about the ProcessTests file but also about others which were split by the target framework which isn't necessary anymore as the project doesn't multi-target anymore.

So, can I continue in dotnet/runtime?

yes :)

Well, it's almost done, but a few questions.

I shouldn't remove *.netcoreapp.cs files for projects where BuildConfigurations has $(NetFrameworkCurrent); , right?

  • Microsoft.CSharp
  • System.ComponentModel.Annotations
  • System.ServiceModel.Syndication
  • System.Threading.Channels
  • System.Security.Cryptography.Pkcs

And finally, the GenericVectorTests.netcoreapp.cs from System.Numerics.Vectors with GenericVectorTests.netcoreapp.tt, should it be consolidated with GenericVectorTests.cs and GenericVectorTests.tt?

Yes, you are right for both of these.

Thank you all for these reviews.
It looks like done. Please let me know if I missed something, otherwise the issue can be closed.

Thank you a lot for all your work on this!

Indeed, thanks a lot for your dedication here.

Was this page helpful?
0 / 5 - 0 ratings