Skip to content
Robert Logiewa edited this page Oct 7, 2017 · 5 revisions

Quickstart

The preferred and fastest way to add GW2.NET to your project is via NuGet. NuGet is a Visual Studio extension that makes it easy to add, remove, and update libraries and tools in Visual Studio projects that use the .NET Framework.

Installing the Package

Install the latest version of NuGet, open the Package Manager Console and type:

Install-Package GW2.NET

For the Rest# specific implementation of GW2.NET you have to type the following into the Package Manger Console:

Install-Package GW2.NET.RSharp 

If you are not comfortable with the console you an also download it via the graphical NuGet Package Manger located at Tools -> NuGet Package Manager -> Manage NuGet Packages for Solution. If you type GW2.NET into the search box you should find the correct package.

Installing via NuGet also takes care of any references you normally would need to import manually. After the installation you can simply import the GW2.NET namespace via import GW2NET; and start coding.

To actually use the code, there is a facade class aptly named GW2Bootstrapper in the root namespace.

FactoryForV1 v1 = GW2Bootstrapper.V1;
FactoryForV2 v2 = GW2Bootstrapper.V2;

See also:

Documentation

Don't see the topic that you'd like to learn more about? Open an issue.

Using the API

Specialty Services

Optional Topics