To build and run tests in Visual Studio, open lang\cs\Org.Apache.REEF.sln
, build entire solution and run all tests in Test Explore.
To build REEF.NET from command line, execute
msbuild .\lang\cs\Org.Apache.REEF.sln
To run .NET tests from command line, execute
msbuild .\lang\cs\TestRunner.proj
We use AppVeyor to run continuous integration for REEF .NET code (i.e. build and run tests for all pull requests and commits to master branch).
It can be convenient to set up AppVeyor for your fork of REEF repository, for example, to reproduce a test failure which can't be reproduced locally.
Here is a step-by-step guide, if the instructions above didn't work and/or you prefer to build REEF .NET from Windows Command Prompt/PowerShell.
Install Java Development Kit 7 or 8. Set JAVA_HOME
as an Environment Variable
JAVA_HOME
and set the value to be your jdk installation dir, like C:\Program Files\Java\jdk1.8.0_91Path
by adding %JAVA_HOME%\bin
Install Maven 3.3.9. Set M2_HOME
and M2
as Environment Variables
M2_HOME
and set the value to be your unzip location, like C:\Program Files\Apache\apache-maven-3.3.9M2
and set the value to be %M2_HOME%\bin
Path
by adding %M2%
and %M2_HOME%
Install Protocol Buffer 2.5. Add its path as an Environment Variable
Path
by adding the unzip location, like C:\protobuf-2.5.0\src\protoc-2.5.0-win32Git clone the repo to your local machine: git clone git@github.com:apache/reef.git
To build REEF.NET from command line, execute: msbuild .\lang\cs\Org.Apache.REEF.sln