-
Notifications
You must be signed in to change notification settings - Fork 17
Home
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.
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:
Don't see the topic that you'd like to learn more about? Open an issue.
-
Documentation
-
Specialty Services
-
Optional Topics