Add framework-dependent deployment packages without bundled .NET runtime#4236
Add framework-dependent deployment packages without bundled .NET runtime#4236
Conversation
Co-authored-by: VictoriousRaptor <10308169+VictoriousRaptor@users.noreply.github.com>
Co-authored-by: VictoriousRaptor <10308169+VictoriousRaptor@users.noreply.github.com>
Co-authored-by: VictoriousRaptor <10308169+VictoriousRaptor@users.noreply.github.com>
Co-authored-by: VictoriousRaptor <10308169+VictoriousRaptor@users.noreply.github.com>
|
In the modern day and age is 150mb really worth shaving off? My main concern is this is another option a non-technical user will need to understand- why another installation file and what's the difference between this and standard. If they move the framework free version to a computer without .Net 9 it's going fail and we might end up with another request to provide an option to install .Net 9. I think a better solution is to use Velopack and let the single setup file install the missing framework, so we don't need to pack and publish this additional one- https://docs.velopack.io/packaging/bootstrapping |
Nah this PR is only a try for Copliot. Not a serious PR and currently I am not really into this feature. |
Adds framework-dependent installation packages for users with .NET 9.0 already installed, reducing download size by ~150-200MB.
Changes
Build configuration:
Net9.0-FrameworkDependent.pubxmlpublish profile withSelfContained=false, outputs toOutput/Release-FDpost_build.ps1to build both deployment modes in sequencePackage outputs:
Flow-Launcher-Setup.exe,Flow-Launcher-Portable.zipFlow-Launcher-Setup-FD.exe,Flow-Launcher-Portable-FD.zipCI/CD:
Documentation:
Technical notes
Framework-dependent packages require .NET 9.0 runtime pre-installed on target systems. Build process handles nupkg naming conflicts by appending
-FDsuffix before Squirrel releasify step.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.