forked from dotnet/efcore
-
Notifications
You must be signed in to change notification settings - Fork 0
Getting and Building the Code
Rowan Miller edited this page Feb 10, 2015
·
13 revisions
In order to work with the code base, you'll first need to install the following.
- Visual Studio 2015 - Install the latest pre-release of Visual Studio 2015
- K Version Manager - Run the following command from an administrator command prompt.
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "&{$Branch='dev';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/release/kvminstall.ps1'))}"Using your favorite git client, clone the repository.
git clone https://github.com/aspnet/EntityFramework.gitBefore opening the solution, you'll need run the following from Command Prompt. Navigate to the root directory of the solution (~"/EntityFrameWork") in your command prompt, and issue the command:
build initializeThis will download the NuGet packages that we depend on, and reference them from the projects.
You should be able to open the solution in Visual Studio now.
Our tests are written using xUnit.net 2.0, and can be run using your favorite runner. We recommend either the xUnit.net runner for Visual Studio 2013 or TestDriven.Net.
You can also build and run tests from Command Prompt using the following.
build