WPF包装器用于自定义CEF Nuget软件包
我重新编译了 cef ,其中一些启用了
的功能,并将其作为 nuget软件包成功地编译为强> CEF_Binaries (仅x64-目标平台)。
但是我不知道如何制作WPF包装器,所以我可以在项目中使用它 (就像Nuget软件包CEFSHARP.WPF 一样)
对不起,如果这是一个愚蠢的问题,但是在花费了数小时来编译CEF之后,我已经脑死了,我已经
您在上面看到的软件包是我本地编译的Nuget软件包
更新#1 ::我从新的CEFSDK
repo :: https://github.com/cefsharp/cefsharp/cefsharp/cefsharp/blob/cefsharp/98/
/代码>
$ cefversion = '98 .2.1'
我使用此
build.ps1
用这些参数来编译我的nuget软件包param(param( [验证(“ VS2022”,“ VS2019”,“仅nupkg-”,“ update-build-version”)]] [参数(位置= 0)] [string] $ target =“只有nupkg-”, [参数(位置= 1)] [字符串] $ version =“ 98.2.1”, [参数(位置= 2)] [字符串] $ assemblyversion =“ 98.2.1”, [参数(位置= 3)] [验证(“ NetFramework”,“ NetCore”,“ NetFramework452”,“ NetCore31”)]] [字符串] $ targetFrameWork =“ NetCore31”, [参数(位置= 4)] [字符串] $ buildarches =“ x64” ) Set -StrictMode - 最新; $ errorActionPreference =“ stop”;
I recompiled CEF with some features enabled
and also successfully compiled it as Nuget package, as you can see below now I can browse my custom compiled Cef_Binaries (x64 only - target platform).
But I have no idea how to make WPF wrapper, so I can use this inside my project
(Just like nuget package CEFSharp.WPF)
Sorry if it's a silly question but after spending hours on compiling CEF, I'm brain-dead already
Packages you are seeing above are my local compiled nuget packages
Update #1:: I successfully made Nuget Package from my new CefSDK
Repo:: https://github.com/cefsharp/CefSharp/blob/cefsharp/98/
After running
UpdateNugetPackages.ps1
$CefVersion = '98.2.1'
I used this
build.ps1
to compile my NuGet packages with these paramsparam( [ValidateSet("vs2022","vs2019", "nupkg-only", "update-build-version")] [Parameter(Position = 0)] [string] $Target = "nupkg-only", [Parameter(Position = 1)] [string] $Version = "98.2.1", [Parameter(Position = 2)] [string] $AssemblyVersion = "98.2.1", [Parameter(Position = 3)] [ValidateSet("NetFramework", "NetCore", "NetFramework452", "NetCore31")] [string] $TargetFramework = "NetCore31", [Parameter(Position = 4)] [string] $BuildArches = "x64" ) Set-StrictMode -version latest; $ErrorActionPreference = "Stop";
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论