How to build and debug P4Connect. Prerequisites: 1. Visual Studio: You need to use either Visual Studio 2010 or Visual Studio 2013, Visual studio 2013 community edition is now free download and use. Download it from http://www.visualstudio.com/en-us/news/vs2013-community-vs.aspx 2. The UnityVS plugin for the version of Visual Studio you chose. Download it from http://www.unityvs.com Preparation: Create a sample Unity project to be used while debugging P4Connect. I have created a project for each version of Visual studio, you can start with one of them. Look for //guest/perforce_software/p4connect/UnitySampleVS2010 and UnitySampleVS2013 More instructions about how to set up the sample project for debugging a Unity DLL are here: http://unityvs.com/documentation/dll-debugging/ The UnityVS plugin will generate a solution file which will "wrap" the Unity project. If you add the P4Connect projects to the UnityVS Solution, it will allow you to build from source, run in Unity and debug in Visual Studio. IMPORTANT!!! Two files need to be customized to tell visual studio where to copy the generated files. They need to copy them into your sample project so you are running what you built. .\P4Connect\AssetTarget.txt .\P4Bridge\AssetTarget.txt So to debug P4Connect while running Unity in ./UnitySampleVS2013 both "AssetTarget.txt" files should contain the full path to .\UnitySampleVS2013\Assets Project and Solution files are marked by a ".vs13" or ".vs10" in their filenames, this specifies which version of visual studio is needed to open the project. For the purposes of this document I will assume you are using Visual studio 2013. The projects which need to be included to build and debug P4Connect are: ./P4Bridge/p4bridge/p4bridge.vs13.vcxproj ./PBridge/p4api.net/p4api.net.vs/13.csproj ./P4Connect/P4Connect.vs13.csproj Please send all questions / suggestions / criticisms to support@perforce.com