dotnet / sdk

Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
https://dot.net/core
MIT License
2.71k stars 1.06k forks source link

IncludeAllContentForSelfExtract=true should be the default when using single-file publish. #14756

Open bitbound opened 3 years ago

bitbound commented 3 years ago

It doesn't make sense for the default to be false. I would expect the vast majority of people who select "Produce single file" in Visual Studio expect it to do just that: produce a single file.

Anyone who expects otherwise is probably aware of this option, which isn't even visible in Visual Studio.

bitbound commented 2 years ago

I submitted a feature request in Visual Studio to change the UI or checkbox behavior to compensate for this: https://developercommunity.visualstudio.com/t/Please-add-checkbox-for-IncludeAllConten/1610937?entry=myfeedback

Please upvote if you feel the same.

A hello-world WPF app from the template doesn't even run if this option is used, without shipping the loose DLLs with it. How does that make sense from a user experience perspective?

marcpopMSFT commented 1 year ago

Old issue triage: marking for the single file area and assigning to @agocke for review.