Skip to content
Daniel Gonzalez Garcia edited this page May 5, 2017 · 8 revisions

From Nuget

SharpRomans NuGet

...and you are good to go.

From Source

SharpRomans is really easy to compile.

With Visual Studio

  1. Clone the repository
  2. Open SharpRomans.sln in Visual Studio 2017
  3. Build solution
  • Assemblies to reference are available from {project_root}/src/SharpRomans/bin/{configuration}/netstandard1.1

With another netcore-supported platform

  1. Clone the repository
  2. Open a shell that contains dotnet in its path and go to '{project_root}'
{project_root} $ dotnet restore
{project_root} $ dotnet build src/SharpRomans
  • Assemblies to reference are available from {project_root}/src/SharpRomans/bin/{configuration}/netstandard1.1



But it is just as easy to build (compile, run unit tests and generate reports and packages):

From Windows

  1. Clone the repository
  2. Open a Powershell shell
  3. Execute {project_root}\build.ps1
  • Assemblies, reports and packages are available from {project_root}/release

From a non-Powershell netcore-supported platform

You are left to use dotnet commands to run tests and pack the artifacts.

  1. Clone the repository
  2. Open a shell that contains dotnet in its path and go to '{project_root}'
{project_root} $ dotnet restore -r netcoreapp1.1
{project_root} $ cd ./src/SharpRomanTests/
{project_root}/src/SharpRomanTests/ $ dotnet xunit -framework netcoreapp1.1
... tests run ...
{project_root}/src/SharpRomanTests/ $ cd ../..
{project_root} $ dotnet pack src/SharpRomans
  • Assemblies are in {project_root}/src/SharpRomans/bin/{configuration}/netstandard1.1
  • NuGet package in {project_root}/src/SharpRomans/bin/{configuration}/

Clone this wiki locally