For more information on the C# implementation of this MPFIT library, please see the Implementation Details page.

Getting Started

Prerequisites

Install TortoiseHg for Mercurial integration with Windows Explorer (Also available on Linux) http://tortoisehg.bitbucket.org
Install VisualHg for Mercurial integration into Visual Studio http://visualhg.codeplex.com (Click on Downloads and select the Recommended Download)
Create a CodePlex account, click Register at the top of this page.
For building the Silverlight library with Visual Studio 2010 (pre-SP1), install Silverlight 3.0 Tools

Additional Resources

For more information about using Mercurial on CodePlex, view this free screen cast on TekPub http://tekpub.com/codeplex

From the Virtual Photonics Codeplex Documentation:
Coding Conventions
Committing changes to Mercurial
Synchronizing local repository with CodePlex repository

Getting the source code

Clone the source code from CodePlex:
  • Create a new folder on your machine.
  • Right-click on the folder and select TortoiseHg then Clone...
Cannot resolve image macro, invalid image name or id. Cannot resolve image macro, invalid image name or id.
  • Select Clone, this process could take a few minutes to complete depending on network speed and the size of the repository.
  • Once the files are cloned, open the solution file in Visual Studio <csmpfit_root>/src/MPFit.sln
  • Make sure the source control being used is Mercurial, if you right click on any of the files in the solution, there should be options in the menu that start with HG ...
Cannot resolve image macro, invalid image name or id.
  • If the Mercurial source control is not being used inside Visual Studio, go to the Tools menu and select Options... Click on Source Control and change the Current source control plugin to VisualHG (If another plugin is being used, you may need to release the code from this source control before the change to Visual HG can be made).
Cannot resolve image macro, invalid image name or id.

Setting up a Repository Alias

To push changes back up to CodePlex, you will need to enter your CodePlex username and password, to make this process easier, you can create an alias that will save your username and password.
  • Right-click on the Vts folder and select TortoiseHg and then Global Settings
Cannot resolve image macro, invalid image name or id.
  • This will bring up the TortoiseHg Global Settings dialog box, select Synchronize
Cannot resolve image macro, invalid image name or id.
  • Click on Add and then in the dialog type, Alias "CodePlex", URL "https://hg01.codeplex.com/csmpfit". The Type and Host fields should populate automatically.
  • Enter User (Your CodePlex username) and Password, these will be automatically added to the URL field as shown below.
Cannot resolve image macro, invalid image name or id.
  • Click OK and the Alias should appear in the list.
  • Now when you go to synchronize the source code, you will see this alias in the list:
Cannot resolve image macro, invalid image name or id.

Last edited Mar 16, 2011 at 7:49 AM by dcuccia, version 7

Comments

No comments yet.