mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-06 04:00:07 +00:00
Net Core - BrowserSubprocess compile as x86/x64 variants
Using an AnyCPU process wouldn't load when the browser process was x86 Basically x86 browser process couldn't use an x64 subprocess Issue #3197
This commit is contained in:
@@ -15,16 +15,16 @@
|
||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
<RootNamespace>CefSharp.BrowserSubprocess</RootNamespace>
|
||||
<AssemblyName>CefSharp.BrowserSubprocess</AssemblyName>
|
||||
<DocumentationFile>$(BaseOutputPath)$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<SignAssembly>true</SignAssembly>
|
||||
<AssemblyOriginatorKeyFile>..\CefSharp.snk</AssemblyOriginatorKeyFile>
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||
<StartupObject>CefSharp.BrowserSubprocess.Program</StartupObject>
|
||||
<Platforms>x86;x64</Platforms>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
|
||||
<WarningLevel>2</WarningLevel>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
@@ -164,11 +164,10 @@ namespace CefSharp.Example
|
||||
|
||||
if (DebuggingSubProcess)
|
||||
{
|
||||
|
||||
#if NETCOREAPP
|
||||
settings.BrowserSubprocessPath = Path.GetFullPath("..\\..\\..\\..\\..\\CefSharp.BrowserSubprocess\\bin.netcore\\Debug\\netcoreapp3.1\\CefSharp.BrowserSubprocess.exe");
|
||||
#else
|
||||
var architecture = Environment.Is64BitProcess ? "x64" : "x86";
|
||||
#if NETCOREAPP
|
||||
settings.BrowserSubprocessPath = Path.GetFullPath("..\\..\\..\\..\\..\\CefSharp.BrowserSubprocess\\bin.netcore\\" + architecture + "\\Debug\\netcoreapp3.1\\CefSharp.BrowserSubprocess.exe");
|
||||
#else
|
||||
settings.BrowserSubprocessPath = Path.GetFullPath("..\\..\\..\\..\\CefSharp.BrowserSubprocess\\bin\\" + architecture + "\\Debug\\CefSharp.BrowserSubprocess.exe");
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -143,14 +143,14 @@ Global
|
||||
{64E47346-0BB1-4DF7-B135-12D70E1F2F32}.Release|x64.Build.0 = Release|x64
|
||||
{64E47346-0BB1-4DF7-B135-12D70E1F2F32}.Release|x86.ActiveCfg = Release|x86
|
||||
{64E47346-0BB1-4DF7-B135-12D70E1F2F32}.Release|x86.Build.0 = Release|x86
|
||||
{FBFBD752-467C-444F-93E4-80D6242E8513}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{FBFBD752-467C-444F-93E4-80D6242E8513}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{FBFBD752-467C-444F-93E4-80D6242E8513}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{FBFBD752-467C-444F-93E4-80D6242E8513}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{FBFBD752-467C-444F-93E4-80D6242E8513}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{FBFBD752-467C-444F-93E4-80D6242E8513}.Release|x64.Build.0 = Release|Any CPU
|
||||
{FBFBD752-467C-444F-93E4-80D6242E8513}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{FBFBD752-467C-444F-93E4-80D6242E8513}.Release|x86.Build.0 = Release|Any CPU
|
||||
{FBFBD752-467C-444F-93E4-80D6242E8513}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{FBFBD752-467C-444F-93E4-80D6242E8513}.Debug|x64.Build.0 = Debug|x64
|
||||
{FBFBD752-467C-444F-93E4-80D6242E8513}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{FBFBD752-467C-444F-93E4-80D6242E8513}.Debug|x86.Build.0 = Debug|x86
|
||||
{FBFBD752-467C-444F-93E4-80D6242E8513}.Release|x64.ActiveCfg = Release|x64
|
||||
{FBFBD752-467C-444F-93E4-80D6242E8513}.Release|x64.Build.0 = Release|x64
|
||||
{FBFBD752-467C-444F-93E4-80D6242E8513}.Release|x86.ActiveCfg = Release|x86
|
||||
{FBFBD752-467C-444F-93E4-80D6242E8513}.Release|x86.Build.0 = Release|x86
|
||||
{E73A3B0C-457E-4065-BCE9-A10CAA8F4F2A}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{E73A3B0C-457E-4065-BCE9-A10CAA8F4F2A}.Debug|x64.Build.0 = Debug|x64
|
||||
{E73A3B0C-457E-4065-BCE9-A10CAA8F4F2A}.Debug|x86.ActiveCfg = Debug|x86
|
||||
|
||||
@@ -45,13 +45,13 @@
|
||||
<file src="..\..\CefSharp.BrowserSubprocess.Core\bin.netcore\x64\Release\CefSharp.BrowserSubprocess.Core.dll" target="runtimes\win-x64\lib\netcoreapp3.1"/>
|
||||
<file src="..\..\CefSharp.BrowserSubprocess.Core\bin.netcore\x64\Release\CefSharp.BrowserSubprocess.Core.pdb" target="runtimes\win-x64\lib\netcoreapp3.1"/>
|
||||
|
||||
<!-- These are not actually native, including them in 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\Release\netcoreapp3.1\CefSharp.BrowserSubprocess.dll" target="runtimes\win-x86\native"/>
|
||||
<file src="..\..\CefSharp.BrowserSubprocess\bin.netcore\Release\netcoreapp3.1\CefSharp.BrowserSubprocess.exe" target="runtimes\win-x86\native"/>
|
||||
<file src="..\..\CefSharp.BrowserSubprocess\bin.netcore\Release\netcoreapp3.1\CefSharp.BrowserSubprocess.runtimeconfig.json" target="runtimes\win-x86\native"/>
|
||||
<!-- 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\Release\netcoreapp3.1\CefSharp.BrowserSubprocess.dll" target="runtimes\win-x64\native"/>
|
||||
<file src="..\..\CefSharp.BrowserSubprocess\bin.netcore\Release\netcoreapp3.1\CefSharp.BrowserSubprocess.exe" target="runtimes\win-x64\native"/>
|
||||
<file src="..\..\CefSharp.BrowserSubprocess\bin.netcore\Release\netcoreapp3.1\CefSharp.BrowserSubprocess.runtimeconfig.json" target="runtimes\win-x64\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"/>
|
||||
</files>
|
||||
</package>
|
||||
Reference in New Issue
Block a user