Stathis Andronikos
Stathis Andronikos

Reputation: 1259

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

Upvotes: 1

Views: 2884

Answers (3)

Paweł Grzywacz
Paweł Grzywacz

Reputation: 1

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.

Upvotes: 0

Tom
Tom

Reputation: 6739

There is now 64bit geckofx nuget package.

Compiling Firefox from source is no longer necessary.

Upvotes: 1

A. Zalonis
A. Zalonis

Reputation: 1609

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)

Upvotes: 1

Related Questions