dotnet/msbuild

Use Microsoft.IO.Redist in FileUtilities on net472 instead of custom methods

Aperta

#13.078 aperta il 21 gen 2026

 (0 commenti) (0 reazioni) (0 assegnatari)C# (1364 fork)batch import
backloghelp wantedtriaged

Metriche repository

Star
 (5062 stelle)
Metriche merge PR
 (Merge medio 11g 7h) (125 PR mergiate in 30 g)

Descrizione

The note in the targets file that sets the variable says these optimizations are relevant for net4.6, we're beyond that so we might be able to use the Microsoft.IO redist ones instead.

  1. decouple FEATURE_LEGACY_GETCURRENTDIRECTORY and FEATURE_LEGACY_GETFULLPATH from net472
  2. conditionally compile FileUtilities with using Microsoft.IO
  3. don't compile the custom methods outside of net35 taskhost project

Guida contributor