Skip to content
This repository has been archived by the owner on Oct 18, 2018. It is now read-only.

Setting a machine up to run Universe

Pavel Krymets edited this page Jun 27, 2017 · 3 revisions

The following are the steps needed to set up a machine to successfully run a CompileOnly build of Universe. This is especially useful for verifying cross-repo breaking changes.

  1. Install chocolatey: https://chocolatey.org/install
  2. Install git for windows (we’ll need the ssh-agent and this is an easy way to get it) https://git-scm.com/download/win
  3. Set up an ssh key on your github account: https://help.github.com/articles/connecting-to-github-with-ssh/ (you can’t use your username and password since Universe tries to clone using the ssh url).
  4. Install Visual Studio Installer: https://aka.ms/vs/dogfood/install Version (as of 5/26/17): VisualStudio.15.IntPreview/15.3.0-Preview+26525.0.d15rel Workloads: ASP.NET and web developlment Optional Features Uncheck all except .NET Framework 4- 4.6 development tools
  5. Install npm1. choco install nodejs.install
  6. Clone Universe: git clone git@github.com:aspnet/Universe.git
  7. Run ./build.cmd /p:CompileOnly=true

If you find that this list of steps is not enough to get a CompileOnly build of Universe to work for you please file an issue against Universe.

Note that building Universe can be resource intensive (has been known to take 99% of CPU time on weaker machines), so you may want to run it on a VM or other machine to keep it from stopping work on your main development machine.