Skip to content

Commit a55de81

Browse files
committed
First stab at a cef.redist native package
Available from https://staging.nuget.org/packages?q=cef&prerelease=true&sortOrder=package-created for a limited time Former-commit-id: dac0b62c931d458d7c220125183afa4ad8a3c92f
1 parent cb4dde3 commit a55de81

File tree

4 files changed

+52
-0
lines changed

4 files changed

+52
-0
lines changed

NuGet/Cef.targets

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Target Name="AfterBuild">
4+
<ItemGroup>
5+
<CefBinaries Include="$(MSBuildThisFileDirectory)..\CEF\$(Platform)\*.*" />
6+
<Locales Include="$(MSBuildThisFileDirectory)..\CEF\locales\*.*" />
7+
<CefSharpBinaries Include="$(MSBuildThisFileDirectory)..\CefSharp\$(Platform)\*.*" />
8+
</ItemGroup>
9+
<Message Importance="high" Text="Copying source files from $(MSBuildThisFileDirectory)..\CEF\$(Platform) to $(TargetDir)" />
10+
<Copy SourceFiles="@(CefBinaries)" DestinationFolder="$(TargetDir)" />
11+
<Message Importance="high" Text="Copying locales from $(MSBuildThisFileDirectory)..\CEF\locales to $(TargetDir)\locales" />
12+
<Copy SourceFiles="@(PakResources)" DestinationFolder="$(TargetDir)" />
13+
<Message Importance="high" Text="Copying .pak files from $(MSBuildThisFileDirectory)..\CEF to $(TargetDir)" />
14+
<Copy SourceFiles="@(Locales)" DestinationFolder="$(TargetDir)\locales" />
15+
<Message Importance="high" Text="Copying source files from $(MSBuildThisFileDirectory)..\CefSharp\$(Platform) to $(TargetDir)" />
16+
<Copy SourceFiles="@(CefSharpBinaries)" DestinationFolder="$(TargetDir)" />
17+
</Target>
18+
</Project>

NuGet/cef.redist.nuspec

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?xml version="1.0"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
3+
<metadata>
4+
<id>cef.redist</id>
5+
<version>$version$</version>
6+
<authors>The Chromium Embedded Framework Authors</authors>
7+
<owners>The CefSharp Authors</owners>
8+
<projectUrl>https://github.com/cefsharp/cef-binary</projectUrl>
9+
<iconUrl>https://raw.github.com/jornh/cef-binary/fdc5894d5eb456ec3f389c37b2eeb6458e47a115/NuGet/cef32x32.gif</iconUrl>
10+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
11+
<description>CEF - the Chromium Embedded Framework.
12+
NOTE: This package is maintained on behalf of the CEF authors by the CefSharp project at http://github.com/cefsharp/cef-binary</description>
13+
<tags>chrome chromium native embedded browser CEF nativepackage</tags>
14+
<copyright>Copyright © 2008-2013</copyright>
15+
</metadata>
16+
<files>
17+
<!--
18+
CEF/Chromium files
19+
-->
20+
<file src="..\cef_binary_3.y.z_windows32\Release\icudt.dll" target="CEF\x86" />
21+
<file src="..\cef_binary_3.y.z_windows64\Release\icudt.dll" target="CEF\x64" />
22+
<file src="..\cef_binary_3.y.z_windows32\Release\libcef.dll" target="CEF\x86"/>
23+
<file src="..\cef_binary_3.y.z_windows64\Release\libcef.dll" target="CEF\x64"/>
24+
25+
<file src="..\cef_binary_3.y.z_windows32\Resources\cef.pak" target="CEF\"/>
26+
<file src="..\cef_binary_3.y.z_windows32\Resources\devtools_resources.pak" target="CEF\"/>
27+
<file src="..\cef_binary_3.y.z_windows32\Resources\locales\en-US.pak" target="CEF\locales"/>
28+
29+
<!-- <file src="Cef.props" target="build" /> -->
30+
<file src="Cef.targets" target="build" />
31+
</files>
32+
</package>

NuGet/cef128x128.gif

6.59 KB
Loading

NuGet/pack.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
set version=3.1650.1562-pre0
2+
NuGet pack cef.redist.nuspec -NoPackageAnalysis -Version %version%

0 commit comments

Comments
 (0)