[PR #847] Add /no-restore and SelfContained property support in CLI #1322

Closed
opened 2026-01-29 16:59:37 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/ElectronNET/Electron.NET/pull/847

State: closed
Merged: Yes


/no-restore
It'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.

SelfContained
Optional --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.

**Original Pull Request:** https://github.com/ElectronNET/Electron.NET/pull/847 **State:** closed **Merged:** Yes --- `/no-restore` It'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. `SelfContained` Optional --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.
claunia added the pull-request label 2026-01-29 16:59:37 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#1322