Skip to content
Jesús edited this page Jul 31, 2023 · 1 revision

Getting started

To start using Term in your project you'll need to set some things up. In order to do that, you can simply follow the Setup Guide.

In the guide, you'll be downloading a pre-built Term.dll file that you can use.

There's also another method you could use which is building the .dll yourself.

I personally recommend that you follow the Setup Guide instead of using this alternative method.

If you're sure you want to do this, continue here.


Building from source

Requirements

  1. .NET (dotnet 6.0.302 was used for this project.)

First, you have to git clone the repository to your computer.

git clone https://github.com/YisusGaming/term.git

Once that's done, navigate to the cloned repository.

There should be a solution file (.sln) in the root folder, that's what you'll need.

Now, run the following command:

dotnet build --configuration Release

If the command fails because the solution or project wasn't found, try specifying the solution file explicitly:

dotnet build Term.sln --configuration Release

Both of those commands will build Term in Release mode. The output should be in ./term/bin/Release/net6.0/ from the project root.


Including the build in your project

Copy the output files into a folder named "Term" and place it inside your project.

Next, you have to add a reference to the file (Term.dll) in your project.

To do that, add this to your .csproj:

<ItemGroup>
    <Reference Include="Term">
        <HintPath>PATH/TO/TERM.dll</HintPath>
    </Reference>
</ItemGroup>

<!> Replace "PATH/TO/TERM.dll" with the path where the dll is in your project.

<!> If you're using Visual Studio, you can add the reference via Visual Studio's GUI.

And now, you've successfully finished the setup (hopefully).

So, you should now start learning Term.

Continue in the Docs.

Clone this wiki locally