Skip to content

Release binary packages using NuGet #137

@perlun

Description

@perlun

This has actually already been sneak-peak started; there is a CefSharp.Wpf package which I made for my own personal needs at work some month ago. However, it's far from finished and probably not really suitable for general public use yet.

The CefSharp.Wpf currently contains all the stuff needed to get a WPF-based CefSharp app running. However, this is wrong. What we should have is basically this:

  • CefSharp: core package providing CefSharp.dll and all the CEF DLL:s and .pak files.
  • CefSharp.Wpf: WPF-specific package providing CefSharp.Wpf
  • CefSharp.WinForms: make a wild guess... ;)

One of the challenges here is the fact that we are providing a bunch of "non-standard" (from a nuget perspective) files, stuff that must exist in bin\Debug (or bin\Release) when running a CefSharp-based app, but stuff that really shouldn't have their master location there. This CodePlex issue has details about how to solve it. Basically:

  • Place the libcef.dll et all in some magic folder which we determine ourselves.
  • Write a little .csproj snippet to do the copying so that all the CEF dependencies magically gets copied to bin\Debug (or bin\Release, depending on the selected target in Visual Studio) when the project gets built.

All of this isn't so difficult really, but MSBuild isn't really my specialty...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions