From c26ee752365e0a290b10c2b8c43483aca4803455 Mon Sep 17 00:00:00 2001 From: Peter Marcu Date: Mon, 10 Nov 2014 17:32:14 -0800 Subject: [PATCH] Adding more details for how to build and test for the corefx repo --- CONTRIBUTING.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6015ffb7c..0c0271b4b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,3 +1,22 @@ # Contributing -Information on contributing is in the [Contributing Guide](https://github.com/Microsoft/dotnet/blob/master/CONTRIBUTING.md). \ No newline at end of file +General information on contributing to dotnet projects is in the [Contributing Guide](https://github.com/Microsoft/dotnet/blob/master/CONTRIBUTING.md). This document contains information about coding styles, source structure, making pull requests, and more. + +# Contributing to the corefx repo + +## Required Software + +* Install [Visual Studio 2013 Desktop Express with Update 3](http://www.microsoft.com/en-us/download/details.aspx?id=43733) or Visual Studio 2015 Community Preview. + +## Building + +* Open a [Visual Studio Command Prompt](http://msdn.microsoft.com/en-us/library/ms229859(v=vs.110).aspx). +* From the root of the repository, type `build`. This will build everything and run the core tests for the project. +* Visual Studio Solution (.sln) files exist for related groups of libraries. These can be loaded in Visual Studio and run builds from within Visual Studio. + +## Testing + +* By default, the core tests are run as part of the build. A test report for the build will be output on the console at the end of a successful build. +* To view and run the tests for a solution in Visual Studio you need to install **xUnit.net runner for Visual Studio**. + * In Visual Studio under `Tools->Extensions and Updates`, select `Online` on the left side and search for `xUnit`. Download the **xUnit.net runner for Visual Studio**. + * After downloading and restarting Visual Studio and building the test assemblies, the tests should start to show up in Test Explorer. \ No newline at end of file