C#: How to distribute a folder as a reference?

Posted by Thx4UrHelp on Stack Overflow See other posts from Stack Overflow or by Thx4UrHelp
Published on 2009-11-30T01:45:10Z Indexed on 2010/06/16 3:02 UTC
Read the original article Hit count: 306

Filed under:
|
|
|
|

Hi everyone,

I am making a C# app and I am using GeckoFX to embed Firefox into my app. For anyone interested, I got it here: http://geckofx.org/. The problem is, I want to deploy GeckoFX with my app and I don't know how to do it.

The line of code I use to initialize GeckoFX is this:

Skybound.Gecko.Xpcom.Initialize("C:\\xulrunner");

This assumes that the xulrunner folder is at C:\xulrunner. So, my questions is this: how do I add the xulrunner folder as a reference in my app so it's copied relative to where my app is (or at least in a place where my app can find it)? Thanks so much everyone!

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET