Redundant PublishReadyToRun parameters sent to dotnet if PublishReadyToRunShowWarning is used #683

Open
opened 2026-01-29 16:45:56 +00:00 by claunia · 0 comments
Owner

Originally created by @denniskrq on GitHub (Jul 20, 2021).

Originally assigned to: @GregorBiswanger on GitHub.

  • Version: 13.5.1
  • Target: win7-x64;win

Steps to Reproduce:

  1. Run electronize build /dotnet-configuration Debug /target custom "win7-x64;win" /p:PublishSingleFile=false /p:PublishReadyToRunShowWarning=true
  2. Observe the printed dotnet command as: dotnet publish -r win7-x64 -c "Debug" --output "C:\TestProject\obj\desktop\custom\bin" /p:PublishReadyToRun=true /p:PublishSingleFile=false /p:PublishReadyToRunShowWarning=true --self-contained. Note the duplicated parameters for PublishReadyToRun
Originally created by @denniskrq on GitHub (Jul 20, 2021). Originally assigned to: @GregorBiswanger on GitHub. <!-- Please search existing issues to avoid creating duplicates. --> <!-- Which version of Electron.NET CLI and API are you using? --> <!-- Please always try to use latest version before report. --> * **Version**: 13.5.1 <!-- Which version of .NET Core and Node.js are you using (if applicable)? --> <!-- What target are you building for? --> * **Target**: win7-x64;win <!-- Enter your issue details below this comment. --> <!-- If you want, you can donate to increase issue priority (https://donorbox.org/electron-net) --> Steps to Reproduce: 1. Run `electronize build /dotnet-configuration Debug /target custom "win7-x64;win" /p:PublishSingleFile=false /p:PublishReadyToRunShowWarning=true` 2. Observe the printed `dotnet` command as: `dotnet publish -r win7-x64 -c "Debug" --output "C:\TestProject\obj\desktop\custom\bin" /p:PublishReadyToRun=true /p:PublishSingleFile=false /p:PublishReadyToRunShowWarning=true --self-contained`. Note the duplicated parameters for `PublishReadyToRun`
claunia added the bug label 2026-01-29 16:45:56 +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#683