mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
[PR #847] [MERGED] Add /no-restore and SelfContained property support in CLI #1319
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ElectronNET/Electron.NET/pull/847
Author: @gorsheninmv
Created: 4/29/2024
Status: ✅ Merged
Merged: 4/29/2024
Merged by: @FlorianRappl
Base:
develop← Head:feat-introduce-new-cli-args📝 Commits (1)
91714f5feat: CLI: add /no-restore arg and SelfContained propeprty support📊 Changes
1 file changed (+9 additions, -1 deletions)
View changed files
📝
src/ElectronNET.CLI/Commands/BuildCommand.cs(+9 -1)📄 Description
/no-restoreIt's that MSBuild doesn't have property to control restore policies. These command are implemented in dotnet cli but not in MSBuild.
/no-restore option can be useful for flexlible control in CI\CD pipelines.
SelfContainedOptional --self-contained arg will be useful to reduce package size if the required .net runtime is expected to be installed.
The new options maintain backward compatibilty.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.