This project's code of conduct can be found in the CODE_OF_CONDUCT.md file (v1.4.0 of the http://contributor-covenant.org/ CoC).
If your contribution is large enough, you will be asked to sign the Microsoft CLA (the CLA bot will tell you if it's necessary).
- Visual Studio 2015 Update 1 or higher.
- You must have C++, Web Tools, and VS Extensibility components (VS SDK) installed.
- R 3.2.2 or later; either one of:
- Wix Tools 3.10 (only needed if you want to build the installer).
This repository uses git submodules for some of its dependencies, so you will need to clone it with --recursive
command line
switch to obtain everything that is needed for a successful build:
git clone --recursive https://github.com/Microsoft/RTVS.git
The remaining dependencies are referenced as NuGet packages, and will be automatically downloaded by VS during the build.
- Open
R.sln
solution file in Visual Studio. - Set
Microsoft.VisualStudio.R.Package
as a startup project. - Unload
SetupBundle
project - it has some internal dependencies, and cannot be built by third parties. - If you are not planning to build the installer MSI (see next section), you can also unload
Setup
,SetupRHost
andSetupCustomActions
projects. - Build the solution. Note that this will not build
Setup
by default. - Start Debugging (F5).
- VS experimental instance should start, and you should see "R Tools" entry in the main menu.
- Build
Setup
project specifically (right-click on it in Solution Explorer and select "Build"). - Look for the MSI that it generates under
bin
. Running it will install the product.