dotnet/msbuild

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

Open

#13,078 opened on 2026年1月21日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)C# (1,364 forks)batch import
backloghelp wantedtriaged

Repository metrics

Stars
 (5,062 stars)
PR merge metrics
 (平均マージ 11d 7h) (30d で 125 merged PRs)

説明

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

コントリビューターガイド