Skip to content

Building Nupkg Files

Nick Meyvis edited this page Jul 17, 2024 · 2 revisions

For those wishing to use a version not yet released to nuget.org then it's relatively simple to grab the source and build the nupkg files for inclusion.

Newer CefSharp branches have a powershell build script in their root. There is a build script that will generate nupkg files which you can reference locally. The build script is called build.ps1

Powershell build script

https://github.com/cefsharp/CefSharp/blob/master/build.ps1

By default, the script looks for a Visual Studio 2019 installation, if you're using Visual Studio 2022, pass vs2022 as the first parameter of build.ps1, like .\build.ps1 vs2022

The script will generate .nupkg files in \NuGet folder.

How to use the nupkg files

http://docs.nuget.org/docs/creating-packages/hosting-your-own-nuget-feeds (Basically you can add a local folder as a nupkg repository)