Volume 2 Build: Difference between revisions

From OuroDev
Asuffield (talk | contribs)
Created page with "== Required Software == * [http://download.microsoft.com/download/D/B/C/DBC11267-9597-46FF-8377-E194A73970D6/vs_proweb.exe Visual Studio 2010 Professional] or Visual Studio 20..."
 
Asuffield (talk | contribs)
No edit summary
Line 1: Line 1:
== Required Software ==
== Required Software ==
* [http://download.microsoft.com/download/D/B/C/DBC11267-9597-46FF-8377-E194A73970D6/vs_proweb.exe Visual Studio 2010 Professional] or Visual Studio 2019 with the 2010 toolchain configured
* [http://download.microsoft.com/download/D/B/C/DBC11267-9597-46FF-8377-E194A73970D6/vs_proweb.exe Visual Studio 2010 Professional] or Visual Studio 2019 with the 2010 toolchain configured
* SQL Server 2012  or later (Express is good enough for development)
* [https://git-scm.com/download/win Git for Windows] or [https://desktop.github.com/ GitHub Desktop]
* [https://git-scm.com/download/win Git for Windows] or [https://desktop.github.com/ GitHub Desktop]



Revision as of 10:54, 8 June 2019

Required Software

Install GitHub Desktop and Acquire Source

You need to download and install GitHub Desktop.
Open GitHub Desktop, Select File, and Clone a Repository.
Select the URL tab, enter "https://git.ourodev.com/CoX/Source.git" into the first blank and a path where to store the source locally such as "C:\GitHub\CoX\Source".
Error creating thumbnail: File missing
After the download finishes you can close GitHub Desktop for now.

Build City of Heroes from Source

Start a powershell prompt as administrator
Enter "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine" into the terminal and type "A" to auto accept all.
Open a command prompt that is set up for your version of visual studio:
If you have Visual Studio 2019 installed, then start a developer command prompt for Visual Studio (check the start menu).
If you only have 2010 installed, then run cmd, and in the command prompt run C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat.
From this command prompt, run: powershell
Naviate to "C:\GitHub\CoX\Source\MasterSolution" and run build.ps1
Error creating thumbnail: File missing
Begin building City of Heroes by running ".\build.ps1"
Error creating thumbnail: File missing
Eventually the build will finish(On average takes at least 40 minutes to build)
Error creating thumbnail: File missing
Now build AuthServer(C:\GitHub\CoX\Source\AuthServer\src\AuthServer\AuthServer.sln)
Error creating thumbnail: File missing