Skip to content

Commit f58505f

Browse files
committed
Revert to simply style Nuget for now - will readdress after releases have been done
1 parent c69679b commit f58505f

File tree

3 files changed

+28
-15
lines changed

3 files changed

+28
-15
lines changed

NuGet/CefSharp.Common.nuspec

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata>
4-
<id>CefSharp.Common$DotPlatform$</id>
4+
<id>CefSharp.Common</id>
55
<version>$version$</version>
66
<authors>The CefSharp Authors</authors>
77
<owners>The CefSharp Authors</owners>
@@ -17,12 +17,17 @@
1717
</metadata>
1818
<files>
1919
<!-- Common CefSharp stuff (shared between both WPF and WinForms) -->
20-
<file src="..\$CPlatform$\Release\CefSharp.Core.dll" target="lib\net40"/>
21-
<file src="..\CefSharp\bin\$Platform$\Release\CefSharp.dll" target="lib\net40"/>
22-
<file src="..\CefSharp.BrowserSubprocess\bin\$Platform$\Release\CefSharp.BrowserSubprocess.Core.dll" target="lib\net40"/>
23-
<file src="..\CefSharp.BrowserSubprocess\bin\$Platform$\Release\CefSharp.BrowserSubprocess.exe" target="lib\net40"/>
20+
<file src="..\Win32\Release\CefSharp.Core.dll" target="CefSharp\x86"/>
21+
<file src="..\x64\Release\CefSharp.Core.dll" target="CefSharp\x64"/>
22+
<file src="..\CefSharp\bin\x86\Release\CefSharp.dll" target="CefSharp\x86"/>
23+
<file src="..\CefSharp\bin\x64\Release\CefSharp.dll" target="CefSharp\x64"/>
24+
<file src="..\CefSharp.BrowserSubprocess\bin\x86\Release\CefSharp.BrowserSubprocess.Core.dll" target="CefSharp\x86"/>
25+
<file src="..\CefSharp.BrowserSubprocess\bin\x86\Release\CefSharp.BrowserSubprocess.exe" target="CefSharp\x86"/>
26+
<file src="..\CefSharp.BrowserSubprocess\bin\x64\Release\CefSharp.BrowserSubprocess.Core.dll" target="CefSharp\x64"/>
27+
<file src="..\CefSharp.BrowserSubprocess\bin\x64\Release\CefSharp.BrowserSubprocess.exe" target="CefSharp\x64"/>
2428

25-
<file src="CefSharp.Common.props" target="build\" />
26-
<file src="CefSharp.Common.targets" target="build\" />
29+
<file src="CefSharp.Common.props" target="build" />
30+
<file src="CefSharp.Common.targets" target="build" />
2731
</files>
2832
</package>
33+
Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,26 @@
11
<?xml version="1.0"?>
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata>
4-
<id>CefSharp.$ControlType$$DotPlatform$</id>
4+
<id>CefSharp.Wpf</id>
55
<version>$version$</version>
66
<authors>The CefSharp Authors</authors>
77
<owners>The CefSharp Authors</owners>
88
<projectUrl>https://github.com/cefsharp/cefsharp</projectUrl>
99
<licenseUrl>https://raw.github.com/cefsharp/CefSharp/master/LICENSE</licenseUrl>
1010
<requireLicenseAcceptance>false</requireLicenseAcceptance>
11-
<description>The CefSharp Chromium-based browser component ($ControlType$ control).</description>
12-
<tags>$ControlType$ chrome browser</tags>
11+
<description>The CefSharp Chromium-based browser component (WPF control).</description>
12+
<tags>wpf chrome browser</tags>
1313
<copyright>Copyright © 2010-2014 The CefSharp Authors</copyright>
1414
<dependencies>
15-
<dependency id="CefSharp.Common$DotPlatform$" version="[$version$]" />
15+
<dependency id="CefSharp.Common" version="[$version$]" />
1616
</dependencies>
1717
</metadata>
1818
<files>
19-
<file src="..\CefSharp.$ControlType$\bin\$Platform$\Release\CefSharp.$ControlType$.dll" target="lib\net40" />
20-
<file src="CefSharp.$ControlType$.props" target="build\" />
19+
<!-- Cannot put these inside lib\net40 etc, since there are both x86 and x64 versions which we must distinguish between. We
20+
solve this using a .props file instead. -->
21+
<file src="..\CefSharp.Wpf\bin\x86\Release\CefSharp.Wpf.dll" target="CefSharp\x86" />
22+
<file src="..\CefSharp.Wpf\bin\x64\Release\CefSharp.Wpf.dll" target="CefSharp\x64" />
23+
24+
<file src="CefSharp.Wpf.props" target="build" />
2125
</files>
22-
</package>
26+
</package>

NuGet/CefSharp.Wpf.props

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup>
4-
<Reference Include="$(MSBuildThisFileDirectory)..\lib\net40\CefSharp.Wpf.dll" />
4+
<Reference Condition="'$(Platform)' == 'x86'"
5+
Include="$(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.Wpf.dll" />
6+
7+
<Reference Condition="'$(Platform)' == 'x64'"
8+
Include="$(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.Wpf.dll" />
59
</ItemGroup>
610
</Project>

0 commit comments

Comments
 (0)