Well, since alot of people have been asking about compiling the Injection branch of Assembly lately, I figured I'd make a tutorial to help them out. Of course, you can apply this to any source code you need to, but I'll be using Injection Assembly in the tutorial.
What you'll need
A source code - Injection Assembly (on the right side of the page, click Download ZIP)
Something to extract the contents of the ZIP file (I think that Windows can do this automatically, but I use WinRAR.) 7-Zip should suffice if you need something free (found through a quick search on Google)
Visual Studio 2012 or above. I believe Express should work fine as a free alternative to the full software, however, I will be using VS Ultimate 2012 in this tutorial. Have this installed before following the tutorial.
xdevkit.dll from the Xbox 360 SDK. I won't be posting any links since it is warez. Google can help you out here.
Courtesy of AMD: You might need the Expression Blend 4 SDK in order to compile it if you don't already have it.
Step 1: Extracting the ZIP file
Of course, the first thing you'll need to do is extract the contents of the ZIP file you downloaded from GitHub. With WinRAR (and I'm sure it's similar with other extractors), right click on the ZIP file and choose "Extract Here". When it's done extracting, you should see a folder named "Assembly-injection". Open it, then open the "src" folder inside. Inside, you should see a file called "Assembly.sln". That is our solution file, which contains the structure of the program's project. Now, assuming you have Visual Studio installed, you can double click on that to open the file in VS.
Step 2: Adding the xdevkit.dll Reference
Upon opening the file, you should see something like this:
Now, if you've never opened Visual Studio before, you're probably clueless what's going on here, like I was the first time I opened it. The most important thing to know is the Solution Explorer on the left side (it might be on the right, depending on the version of VS you're using). Scroll down to the bottom of the solution explorer, until you find "XBDMCommunicator". If it's not already, expand it to see its contents. Right click on "References", and select "Add Reference..."
Now, click on "Browse...", navigate to the location of your xdevkit.dll, select it, and click "Add". You should see something like this now:
Click "OK", and we can move on to the next step.
Step 3: Compiling
Click the dropdown box that says "Debug" underneath the "TEST" menu at the top; and change it to "Release". Now, all we have left to do is compile our code. On the top menu, under "BUILD", click "Build Solution".
Upon clicking this, you should see the Output box come to life:
You'll know it's done when at the bottom of the output box, you see something like this:
========== Build: 8 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Step 4: Where the Hell is my Program!?
Good question! Assuming you set the build mode to Release, open back up the "Assembly-injection" folder you started with. Then open "src", then "Assembly", then "bin", and finally "Release". So in not so many words, you can find it in Assembly-injection\src\Assembly\bin\Release. You can copy this folder over to your Program Files folder, and rename it if you wish to do so. But, running Assembly.exe from this folder will start the program for you.
It should be noted that the plugins included with this version of Assembly are outdated. You can find the most up to date plugins here.
If you followed this correctly, you should have a working version of Injection Assembly, just like you always dreamed of. Yay!
As always, if you've got any questions, comments, etc. Don't hesitate to post or send me a PM!
Thanks
Microsoft for the tools to create and build software.
The Assembly team for an awesome program.
AMD for fixing problems before they happen