Skip to content

Added Building Instructions #3

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,33 @@ Watch a video demonstration of P. F. Harrison's algorithm on YouTube: [https://w
<img src="http://i.imgur.com/E5prVhn.png">
<img src="http://i.imgur.com/UJnnryW.png">
</p>

<h2>Building</h2>

1. Download this repository and extract it in a folder named "SynTex-master" (the instructions below depends on that name).
2. Download and install `Microsoft .NET Framework`, once you have it installed, check if `dotnet` command can be called from a terminal (console) before continuing.

3. From the command line, access the extracted project folder, create the project file and require System.Drawing like this:

````batch
cd SynTex-master
dotnet new console
dotnet add package System.Drawing.Common --version 4.5.0-preview1-25718-03
del Program.cs
````
Note: Removing Program.cs is necessary to avoid multiple entry-points, which would return an error on build.

4. Open SynTex-Master.csproj file and disable the generation of assembly configuration inside the <PropertyGroup> directive:

````batch
<PropertyGroup>
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
</PropertyGroup>
````

Note: The `PropertyGroup` Directive is inside the <Project Sdk="..."> Directive

5. Build and run the project with the `dotnet` command line tool:
````batch
dotnet run
````