mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-04 05:34:51 +00:00
Build instructions in readme.md are complicated and don't work -- please provide a VS project template. #140
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 @BrainSlugs83 on GitHub (Apr 13, 2018).
Originally assigned to: @robertmuehsig on GitHub.
Using VS 2017 15.6.4, I created a new .NET Core MVC app.
I followed build instructions up to the
ElectronNET.CLInuget package part (which is super ambiguous).I added the
DotNetCliToolReferenceto my .csproj like so (it didn't say to remove the other ones, so I left them alone):dotnet restoredid not add the CLI package that I just added.and manually calling
Install-Package ElectronNET.CLI -Version 0.0.9fails because it's not compatible with this project type:Install-Package : Package 'ElectronNET.CLI 0.0.9' has a package type 'DotnetCliTool' that is not supported by project 'ElectronTest'.(Also requiring folks to hand edit a .csproj is kind of wacky -- please just provide a visual studio template.)
Trying to run the project, it opens a chrome web browser up to the site (not an electron window).
Further details,
program.cs:startup.cs: