Closed amaitland closed 2 years ago
I removed the references to .NET Framework, but I added these:
<CefSharpAnyCpuSupport>true</CefSharpAnyCpuSupport>
<CefSharpBuildAction>Content</CefSharpBuildAction>
<RuntimeIdentifier Condition="'$(RuntimeIdentifier)' == ''">$(NETCoreSdkRuntimeIdentifier</RuntimeIdentifier>
<PlatformTarget Condition="'$(PlatformTarget)' == ''">x64</PlatformTarget>
Appveyor now specifies target Release, Any CPU. CefSharp seems to work now. I'm sure there are some modifications we can make to the Appveyor.yml file to shrink the size of the Build.zip
Your csproj file still could be simplified
Changing to a release build is an improvement, using dotnet publish is what Microsoft recommends for generating builds you plan to distribute.
This will dramatically reduce the size as as all the other platform dlls won't be included.
If you wish to support x64/x86/arm64 then I'd suggest publishing for each target.