Source code

From JinxBot

Jump to: navigation, search

Contents

Getting the Source Code

Except where otherwise noted, JinxBot and the related projects BN#, MBNCSUtil, and others, are open-source under the New BSD License.

The source code for each of these projects can be checked out of our Google Code project using Subversion:

 svn checkout http://jinxbot.googlecode.com/svn/trunk/ jinxbot-read-only


MyndFyre's Totally Newb Guide for Getting Source

Once you have Tortoise installed, it's a trivial matter to check out from the source repository.

First, create a directory where you want to put it:

Image:Newfolder.png

Next, select the SVN Check Out option on the folder's context menu:

Image:Checkout-option.png

A dialog will appear. Enter the url, http://jinxbot.googlecode.com/svn/trunk/ in the URL of repository field:

Image:Checkout-settings.png

Finally, you'll start checking out the source:

Image:Checking-out.png

Further questions should refer to the TortoiseSVN FAQ.


Compiling for .NET 2.0

As it is presently shipped, BN# requires the .NET Framework 3.0. That is because all of its EventArgs classes are compliant with Windows Communication Foundation (WCF), allowing them to be serialized over the internet. If you wish to compile for .NET 2.0 only, you should refer to Compiling BN# for .NET 2.0.

Using MyndFyre's Snippets

MyndFyre has created several snippets for use in programming JinxBot and the related projects. To use these snippets in your project, in Visual Studio, choose the Tools menu, and choose Code Snippets Manager. Click the Add button, and navigate to /trunk/dependencies/snippets in the checked out source code. For more information, see the Snippets article.


Becoming a Developer

For more information on contributing to the development of JinxBot, see the article Becoming a developer.

Personal tools
references