Configuration
Team work
After install the software tools (VS Studio and addtional software), you need config your machine to team colaboration. You can upload code to the repository by command line or directly from the Visual Studio (2012) throught the Git plugin.
Visual Studio
http://blogs.msdn.com/b/visualstudioalm/archive/2013/01/30/getting-started-with-git-in-visual-studio-and-team-foundation-service.aspx
Command Line
Just follow the instructions:
- Download and install the Git for Windows software (http://msysgit.github.com/).
- Start "Git Bash" software in the Windows Menu.
- Config your Git user details typing the commands bellow (replacing with your data) if it is first time with Git:
git config --global user.name "John Smith"
git config --global user.email "john.smith@email.com"
- Open the destination folder of the project in your machine (you can choose any name):
cd D:\\Projects\\OpenHTM
- Clone (download) the project to your machine (replacing with your data):
git clone ssh://john-smith@git.code.sf.net/p/openhtm/code openhtm-code (john-smith is the username in SourceForge)
- Type your password (in SourceForge).
- Check the chosen directory if it has the downloaded code.
An easy tutorial about using GitHub by command line is here:
http://net.tutsplus.com/tutorials/other/easy-version-control-with-git/
Common Problems
There is a component used in Wpf called PhoenixControlLib (used for Spin edits) which usually present problems with reference (Visual Studio presents a Warning "Unable to load the metadata for assembly 'PhoenixControlLib'"). If this happens, follow the bellow instructions:
- Open devenv.exe.config (in C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE).
- Add/modify this:
<runtime/>
<loadFromRemoteSources enabled="true" />
....
<runtime/>
Next page: Introduction