Upgrade to 91.1.210 (#134)
* Upgrade to 91.1.60-pre * AnyCPU - Use the new CefRuntime.SubscribeAnyCpuAssemblyResolver method Now CefSharp.dll is an AnyCPU dll the code for AnyCPU dll resolution can be added to the library. Exact same code, just included in CefSharp.dll * Upgrade to 91.1.160 * Upgrade to 91.1.210
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\packages\CefSharp.Common.90.6.70\build\CefSharp.Common.props" Condition="Exists('..\packages\CefSharp.Common.90.6.70\build\CefSharp.Common.props')" />
|
||||
<Import Project="..\packages\cef.redist.x86.90.6.7\build\cef.redist.x86.props" Condition="Exists('..\packages\cef.redist.x86.90.6.7\build\cef.redist.x86.props')" />
|
||||
<Import Project="..\packages\cef.redist.x64.90.6.7\build\cef.redist.x64.props" Condition="Exists('..\packages\cef.redist.x64.90.6.7\build\cef.redist.x64.props')" />
|
||||
<Import Project="..\packages\CefSharp.Common.91.1.210\build\CefSharp.Common.props" Condition="Exists('..\packages\CefSharp.Common.91.1.210\build\CefSharp.Common.props')" />
|
||||
<Import Project="..\packages\cef.redist.x86.91.1.21\build\cef.redist.x86.props" Condition="Exists('..\packages\cef.redist.x86.91.1.21\build\cef.redist.x86.props')" />
|
||||
<Import Project="..\packages\cef.redist.x64.91.1.21\build\cef.redist.x64.props" Condition="Exists('..\packages\cef.redist.x64.91.1.21\build\cef.redist.x64.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
@@ -72,16 +72,16 @@
|
||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="CefSharp, Version=90.6.70.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138">
|
||||
<HintPath>..\packages\CefSharp.Common.90.6.70\lib\net452\CefSharp.dll</HintPath>
|
||||
<Reference Include="CefSharp, Version=91.1.210.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138">
|
||||
<HintPath>..\packages\CefSharp.Common.91.1.210\lib\net452\CefSharp.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="CefSharp.Core, Version=90.6.70.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138">
|
||||
<HintPath>..\packages\CefSharp.Common.90.6.70\lib\net452\CefSharp.Core.dll</HintPath>
|
||||
<Reference Include="CefSharp.Core, Version=91.1.210.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138">
|
||||
<HintPath>..\packages\CefSharp.Common.91.1.210\lib\net452\CefSharp.Core.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="CefSharp.WinForms, Version=90.6.70.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138">
|
||||
<HintPath>..\packages\CefSharp.WinForms.90.6.70\lib\net452\CefSharp.WinForms.dll</HintPath>
|
||||
<Reference Include="CefSharp.WinForms, Version=91.1.210.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138">
|
||||
<HintPath>..\packages\CefSharp.WinForms.91.1.210\lib\net452\CefSharp.WinForms.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
@@ -144,5 +144,5 @@
|
||||
<Target Name="CefSharpAfterBuildDebug" AfterTargets="AfterBuild">
|
||||
<CallTarget Targets="CefSharpAfterBuildDiagnostic" />
|
||||
</Target>
|
||||
<Import Project="..\packages\CefSharp.Common.90.6.70\build\CefSharp.Common.targets" Condition="Exists('..\packages\CefSharp.Common.90.6.70\build\CefSharp.Common.targets')" />
|
||||
<Import Project="..\packages\CefSharp.Common.91.1.210\build\CefSharp.Common.targets" Condition="Exists('..\packages\CefSharp.Common.91.1.210\build\CefSharp.Common.targets')" />
|
||||
</Project>
|
@@ -41,7 +41,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="CefSharp.WinForms" Version="90.6.70" />
|
||||
<PackageReference Include="CefSharp.WinForms" Version="91.1.210" />
|
||||
</ItemGroup>
|
||||
|
||||
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk.WindowsDesktop" />
|
||||
|
@@ -62,7 +62,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="CefSharp.WinForms.NetCore" Version="90.6.70" />
|
||||
<PackageReference Include="CefSharp.WinForms.NetCore" Version="91.1.210" />
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="CefSharpAfterBuildDiagnostic" AfterTargets="AfterBuild">
|
||||
|
@@ -16,8 +16,7 @@ namespace CefSharp.MinimalExample.WinForms
|
||||
{
|
||||
|
||||
#if ANYCPU
|
||||
//Only required for PlatformTarget of AnyCPU
|
||||
AppDomain.CurrentDomain.AssemblyResolve += Resolver;
|
||||
CefRuntime.SubscribeAnyCpuAssemblyResolver();
|
||||
#endif
|
||||
|
||||
//For Windows 7 and above, best to include relevant app.manifest entries as well
|
||||
@@ -49,26 +48,5 @@ namespace CefSharp.MinimalExample.WinForms
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Will attempt to load missing assembly from either x86 or x64 subdir
|
||||
//when PlatformTarget is AnyCPU
|
||||
#if ANYCPU
|
||||
private static System.Reflection.Assembly Resolver(object sender, ResolveEventArgs args)
|
||||
{
|
||||
if (args.Name.StartsWith("CefSharp.Core.Runtime"))
|
||||
{
|
||||
string assemblyName = args.Name.Split(new[] { ',' }, 2)[0] + ".dll";
|
||||
string archSpecificPath = Path.Combine(AppDomain.CurrentDomain.SetupInformation.ApplicationBase,
|
||||
Environment.Is64BitProcess ? "x64" : "x86",
|
||||
assemblyName);
|
||||
|
||||
return File.Exists(archSpecificPath)
|
||||
? System.Reflection.Assembly.LoadFile(archSpecificPath)
|
||||
: null;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="cef.redist.x64" version="90.6.7" targetFramework="net452" />
|
||||
<package id="cef.redist.x86" version="90.6.7" targetFramework="net452" />
|
||||
<package id="CefSharp.Common" version="90.6.70" targetFramework="net452" />
|
||||
<package id="CefSharp.WinForms" version="90.6.70" targetFramework="net452" />
|
||||
<package id="cef.redist.x64" version="91.1.21" targetFramework="net452" />
|
||||
<package id="cef.redist.x86" version="91.1.21" targetFramework="net452" />
|
||||
<package id="CefSharp.Common" version="91.1.210" targetFramework="net452" />
|
||||
<package id="CefSharp.WinForms" version="91.1.210" targetFramework="net452" />
|
||||
</packages>
|
Reference in New Issue
Block a user