-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Should new APIs added to System.IO be excluded from MS.IO.Redist? #54919
Comments
Tagging subscribers to this area: @Anipik, @safern, @ViktorHofer Issue DetailsGood point, no one has asked us for it. We added these dependencies because this project was already compiling FileSystemInfo. e.g: when cc @ericstj Originally posted by @jozkee in #54253 (comment)
|
Tagging subscribers to this area: @dotnet/area-system-io Issue DetailsWhen cc @ericstj Originally posted by @jozkee in #54253 (comment)
|
If we are hesitant to add new APIs to this package, should we archive it and stop building it? |
Not sure what the problem is alluded to above, I'm guessing just needing to maintain the project file (and test the library). @JeremyKuhne created the package originally for Visual Studio and MSBuild to leverage the APIs he was adding to System.IO while still on .NETFramework (without changing NETFramework). I believe his idea was to share as much of IO as possible so that our dev tooling (that needed to stay on .NETFramework) could benefit from his IO improvements. I see it's used here: https://github.com/dotnet/project-system/blame/0476235d70d1b65b8062492075db6fd86995612a/src/Microsoft.VisualStudio.ProjectSystem.Managed/IO/WindowsFileExplorer.cs cc @davkean |
No, APIs don't need to be excluded from this library. |
My read on this is:
|
We can add new APIs to the Redist package, but only when it does not require a lot of effort and does not increase the complexity on our side. When it does, we need good business justification.
That is a very good idea! |
With #58359, we've stopped shipping Microsoft.IO.Redist. |
When
EnumerationOptions.MaxRecursionDepth
was added (#48148), it was also added for MS.IO.Redist.Is that something that we should revert by ifdefing the code? If yes, then we should do a long-term solution to avoid hitting this problem.
cc @ericstj
Originally posted by @jozkee in #54253 (comment)
The text was updated successfully, but these errors were encountered: