mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
/dotnet-publish --no-restore does nothing #795
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?
Originally created by @Keith-McKinley on GitHub (May 25, 2022).
Originally assigned to: @GregorBiswanger on GitHub.
attempting command
electronize build /target win /dotnet-publish --no-restorein PS terminal of VS Code
Results in
"Build Electron Application...
Arguments:
target = win
dotnet-publish = --no-restore
Build ASP.NET Core App for win-x64..."
but the cli shows:
Build ASP.NET Core App for win-x64 under Release-Configuration...
dotnet publish -r win-x64 -c "Release" --output "C:...\obj\desktop\win\bin" /p:PublishReadyToRun=true /p:PublishSingleFile=true --self-contained
Projects depend on nuget packages only available in private nuget registry with SSO credentials, so we must restore prior to build/publish, which has been done
Steps to Reproduce:
electronize startas described aboveNote: the CLI output indicates the "/dotnet-publish --no-restore" is not being passed through to the actual dotnet command
@GregorBiswanger commented on GitHub (Mar 28, 2023):
🎉🚀 New Electron.NET version 23.6.1 released 🚀🎉
With native Electron 23 and .NET 6 support. Your problem should be fixed here. If you continue to have the problem, please let us know. Please note the correct updating of your API & CLI. Info in the README. Have fun!