dotnet cli Starter Template - RupertAvery/Chromely GitHub Wiki

dotnet cli Starter Template (64-bit)

  1. Download template. Create an empty folder for the project and install.
mkdir projectname
cd projectname
dotnet new chromelywin 

[If chromelywin is not available, please install with - 
   dotnet new -i "Chromely.CefGlue.Win.Template::*"
   if successful, run "dotnet new chromelywin" again.
]

  1. Restore references.
dotnet restore
  1. Get Cef binaries.
dotnet chromelycef.dll download v66 --cpu=x64 --dest="bin\Debug\netcoreapp2.1"

[For more options of  chromelycef.dll use- 
   dotnet chromelycef.dll download -h
]
  1. Build project.
dotnet build
  1. From Chromely.CefGlue.Winapi version 65 and upward, this should not be needed anymore. Unless step 3 fails.

    If CEF binaries files/folders download is required, please check - CefGlue Application Layout.

  2. Start application.

dotnet run

Notes

  1. The template is configured to run as a Single Process Cef application.
  2. To change to Multi Process the project can be published as self-contained application. For more info check Getting Started CefGlue Winapi (.NET-Core).