Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.04 KB

File metadata and controls

44 lines (29 loc) · 1.04 KB

Development Notes

Debug Build

dotnet build

Building release from the command line:

dotnet build -c Release /p:SourceLinkCreate=true /p:VersionSuffix= /p:OfficialBuild=true

Creating packages from command line:

dotnet pack -c Release /p:SourceLinkCreate=true /p:VersionSuffix= /p:OfficialBuild=true

Add local package as nuget install sources

nuget sources add -name BionicElectron -source $PWD/BionicElectronPlugin/nupkg
nuget sources add -name BionicElectronTemplate -source $PWD/BionicElectronTemplate/nupkg

Install local plugin

In a Blazor Standalone (or Hosted Client) project execute:

nuget install BionicElectronPlugin -DirectDownload -ExcludeVersion -PackageSaveMode nuspec -o .bionic

The plugin should be now installed. Test it using:

bionic platform

And electron should now be listed as a command.

To re-install in project, remove .bionic, re-build, re-pack and follow the last two steps under Install local plugin.