-
Notifications
You must be signed in to change notification settings - Fork 0
Home
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 Guideinstead of using this alternative method.
If you're sure you want to do this, continue here.
- .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.gitOnce 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 ReleaseIf the command fails because the solution or project wasn't found, try specifying the solution file explicitly:
dotnet build Term.sln --configuration ReleaseBoth of those commands will build Term in Release mode. The output should be in ./term/bin/Release/net6.0/ from the project root.
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
dllis 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.