简体   繁体   中英

Use Geckofx in a c# 64-bit Windows Forms Apps

In a 64-bit C# window forms app can I use geckofx or there is no such a solution? Thanks

You need GeckoFX source code. Build in x64. Then download xulrunner source code from ftp.mozila.org (same version with gecko fx) and build in x64.

An alternative to building GeckoFX from source is to use CorFlags.exe to mark the assemblies as 64bit (by Tom)

There is now 64bit geckofx nuget package.

Compiling Firefox from source is no longer necessary.

Tom's answer worked for me. The only thing I encountered after bumping to 64bit was that I had an issue with include in my.csproj file:

<FirefoxDir Include="$(PkgGeckofx45)\content\Firefox\*.*" />

this stopped being resolved correctly, and this PkgGeckofx45 was defined nowhere. After 2 trials I've found that $(PkgGeckofx4564) works.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM