Files
cefsharp/NuGet/PackageReference/CefSharp.Common.NETCore.nuspec
T
Konstantin Preißer 462bc747bd Add support for Windows ARM64 to CefSharp.NETCore packages (#3359)
* Add support for Windows ARM64 for the NETCore packages.

Note: .NET 5.0 or higher is required to build a WinForms/WPF application for win-arm64.

Fixes cefsharp/CefSharp#2944

* PR feedback: Remove "WIN32" define as it is already defined by minwindef.h.

* PR feedback: Switch the CefSharp.*.Example.netcore and CefSharp.Test.netcore projects from cef.redist to chromiumembeddedframework.runtime.

Note: These projects are excluded for build when platform is 'arm64', as otherwise the build fails as WinForms and WPF are not yet available for ARM64 in .NET 5.0.

* Follow-Up: Update path to CefSharp.Test.dll.

* PR feedback: Also use RuntimeInformation for the .NET Framework example projects.

* PR feedback:
- Remove copying of CefRedist files in CefSharp.AfterBuild.targets which is no longer needed.
- Update .vsconfig to include the VC ARM64 build tools.
2021-04-01 17:27:48 +10:00

82 lines
7.1 KiB
XML

<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata minClientVersion="5.0.0">
<id>CefSharp.Common.NETCore</id>
<version>$version$</version>
<authors>The CefSharp Authors</authors>
<owners>The CefSharp Authors</owners>
<projectUrl>https://github.com/cefsharp/CefSharp</projectUrl>
<license type="file">LICENSE</license>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>The CefSharp Chromium-based browser component ('Core' and common 'Element' components, needed by both WPF, WinForms and OffScreen implementations).</description>
<tags>chrome browser chromium-embedded</tags>
<copyright>Copyright © The CefSharp Authors</copyright>
<dependencies>
<group targetFramework=".NETCoreApp3.1">
<dependency id="chromiumembeddedframework.runtime" version="[$RedistVersion$]" include="Runtime,Native,Build,BuildTransitive" />
<dependency id="System.Text.Json" version="5.0.0" />
</group>
<group targetFramework=".NETCoreApp5.0">
<dependency id="chromiumembeddedframework.runtime" version="[$RedistVersion$]" include="Runtime,Native,Build,BuildTransitive" />
</group>
</dependencies>
</metadata>
<files>
<file src="..\..\LICENSE" target="LICENSE" />
<file src="CefSharp.Common.NETCore.targets" target="buildTransitive\" />
<file src="..\..\CefSharp\bin.netcore\Release\netcoreapp3.1\ref\CefSharp.dll" target="ref\netcoreapp3.1"/>
<file src="..\..\CefSharp.Core\bin.netcore\Release\netcoreapp3.1\ref\CefSharp.Core.dll" target="ref\netcoreapp3.1"/>
<file src="..\..\CefSharp.Core.Runtime.RefAssembly\bin.netcore\Release\netcoreapp3.1\CefSharp.Core.Runtime.dll" target="ref\netcoreapp3.1"/>
<!--
This is technically an AnyCPU dll now, unfortunately I cannot get it to load at runtime including
in lib/netcoreapp3.1, so it's duplicated below in the x86/x64 folders
-->
<!-- <file src="..\..\CefSharp\bin.netcore\Release\netcoreapp3.1\CefSharp.dll" target="lib\netcoreapp3.1"/> -->
<file src="..\..\CefSharp\bin.netcore\Release\netcoreapp3.1\CefSharp.dll" target="runtimes\win-x64\lib\netcoreapp3.1"/>
<file src="..\..\CefSharp\bin.netcore\Release\netcoreapp3.1\CefSharp.dll" target="runtimes\win-x86\lib\netcoreapp3.1"/>
<file src="..\..\CefSharp\bin.netcore\Release\netcoreapp3.1\CefSharp.dll" target="runtimes\win-arm64\lib\netcoreapp3.1"/>
<file src="..\..\CefSharp.Core\bin.netcore\Release\netcoreapp3.1\CefSharp.Core.dll" target="runtimes\win-x64\lib\netcoreapp3.1"/>
<file src="..\..\CefSharp.Core\bin.netcore\Release\netcoreapp3.1\CefSharp.Core.dll" target="runtimes\win-x86\lib\netcoreapp3.1"/>
<file src="..\..\CefSharp.Core\bin.netcore\Release\netcoreapp3.1\CefSharp.Core.dll" target="runtimes\win-arm64\lib\netcoreapp3.1"/>
<file src="..\..\CefSharp.Core.Runtime\bin.netcore\Win32\Release\Ijwhost.dll" target="runtimes\win-x86\lib\netcoreapp3.1"/>
<file src="..\..\CefSharp.Core.Runtime\bin.netcore\Win32\Release\CefSharp.Core.Runtime.dll" target="runtimes\win-x86\lib\netcoreapp3.1"/>
<file src="..\..\CefSharp.Core.Runtime\bin.netcore\Win32\Release\CefSharp.Core.Runtime.pdb" target="runtimes\win-x86\lib\netcoreapp3.1"/>
<file src="..\..\CefSharp.Core.Runtime\bin.netcore\x64\Release\Ijwhost.dll" target="runtimes\win-x64\lib\netcoreapp3.1"/>
<file src="..\..\CefSharp.Core.Runtime\bin.netcore\x64\Release\CefSharp.Core.Runtime.dll" target="runtimes\win-x64\lib\netcoreapp3.1"/>
<file src="..\..\CefSharp.Core.Runtime\bin.netcore\x64\Release\CefSharp.Core.Runtime.pdb" target="runtimes\win-x64\lib\netcoreapp3.1"/>
<file src="..\..\CefSharp.Core.Runtime\bin.netcore\arm64\Release\Ijwhost.dll" target="runtimes\win-arm64\lib\netcoreapp3.1"/>
<file src="..\..\CefSharp.Core.Runtime\bin.netcore\arm64\Release\CefSharp.Core.Runtime.dll" target="runtimes\win-arm64\lib\netcoreapp3.1"/>
<file src="..\..\CefSharp.Core.Runtime\bin.netcore\arm64\Release\CefSharp.Core.Runtime.pdb" target="runtimes\win-arm64\lib\netcoreapp3.1"/>
<!-- Leave the pdb in the lib folder for now, won't be copied, it will be in the package if required https://github.com/cefsharp/CefSharp/issues/3197#issuecomment-758546177 -->
<file src="..\..\CefSharp.BrowserSubprocess.Core\bin.netcore\Win32\Release\CefSharp.BrowserSubprocess.Core.dll" target="runtimes\win-x86\native"/>
<file src="..\..\CefSharp.BrowserSubprocess.Core\bin.netcore\Win32\Release\CefSharp.BrowserSubprocess.Core.pdb" target="runtimes\win-x86\lib\netcoreapp3.1"/>
<!-- Leave the pdb in the lib folder for now, won't be copied, it will be in the package if required https://github.com/cefsharp/CefSharp/issues/3197#issuecomment-758546177 -->
<file src="..\..\CefSharp.BrowserSubprocess.Core\bin.netcore\x64\Release\CefSharp.BrowserSubprocess.Core.dll" target="runtimes\win-x64\native"/>
<file src="..\..\CefSharp.BrowserSubprocess.Core\bin.netcore\x64\Release\CefSharp.BrowserSubprocess.Core.pdb" target="runtimes\win-x64\lib\netcoreapp3.1"/>
<!-- Leave the pdb in the lib folder for now, won't be copied, it will be in the package if required https://github.com/cefsharp/CefSharp/issues/3197#issuecomment-758546177 -->
<file src="..\..\CefSharp.BrowserSubprocess.Core\bin.netcore\arm64\Release\CefSharp.BrowserSubprocess.Core.dll" target="runtimes\win-arm64\native"/>
<file src="..\..\CefSharp.BrowserSubprocess.Core\bin.netcore\arm64\Release\CefSharp.BrowserSubprocess.Core.pdb" target="runtimes\win-arm64\lib\netcoreapp3.1"/>
<!-- These are not actually native, including them in runtimes\win-x64\lib\netcoreapp3.1 doesn't copy the json files and since it's a runtime only dependency including them in native -->
<file src="..\..\CefSharp.BrowserSubprocess\bin.netcore\x86\Release\netcoreapp3.1\CefSharp.BrowserSubprocess.dll" target="runtimes\win-x86\native"/>
<file src="..\..\CefSharp.BrowserSubprocess\bin.netcore\x86\Release\netcoreapp3.1\CefSharp.BrowserSubprocess.exe" target="runtimes\win-x86\native"/>
<file src="..\..\CefSharp.BrowserSubprocess\bin.netcore\x86\Release\netcoreapp3.1\CefSharp.BrowserSubprocess.runtimeconfig.json" target="runtimes\win-x86\native"/>
<file src="..\..\CefSharp.BrowserSubprocess\bin.netcore\x64\Release\netcoreapp3.1\CefSharp.BrowserSubprocess.dll" target="runtimes\win-x64\native"/>
<file src="..\..\CefSharp.BrowserSubprocess\bin.netcore\x64\Release\netcoreapp3.1\CefSharp.BrowserSubprocess.exe" target="runtimes\win-x64\native"/>
<file src="..\..\CefSharp.BrowserSubprocess\bin.netcore\x64\Release\netcoreapp3.1\CefSharp.BrowserSubprocess.runtimeconfig.json" target="runtimes\win-x64\native"/>
<!-- For arm64, we use the net5.0 version of CefSharp.BrowserSubprocess since .NET 5.0 officially supports creating Windows ARM64 apps -->
<file src="..\..\CefSharp.BrowserSubprocess\bin.netcore\arm64\Release\net5.0\CefSharp.BrowserSubprocess.dll" target="runtimes\win-arm64\native"/>
<file src="..\..\CefSharp.BrowserSubprocess\bin.netcore\arm64\Release\net5.0\CefSharp.BrowserSubprocess.exe" target="runtimes\win-arm64\native"/>
<file src="..\..\CefSharp.BrowserSubprocess\bin.netcore\arm64\Release\net5.0\CefSharp.BrowserSubprocess.runtimeconfig.json" target="runtimes\win-arm64\native"/>
</files>
</package>