Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

dotnet cli Starter Template

softoille@gmail.com edited this page Nov 29, 2019 · 1 revision

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 v70 --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 CefGlue v70 and higher

The template is configured to run sub-process by default. To change that please see Sub-process.

Notes CefGlue v66 and lower

  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).
Clone this wiki locally