Files
Impostor/docs/Building-from-source.md
T
2020-10-13 18:38:41 -03:00

1.6 KiB

The solution file contains two main projects which are the Impostor Client and the Impostor Server and are built using different .net versions being .NET Framework (netfx) 4.52 for the client and .net 5 for the server. For now, .net 5 is still not officially released (it's in release candidate) so in order to build using Visual Studio, you should have Visual Studio Preview installed. This documentation will go over building both the Server and the Client and their requirements.

Cloning the repo

Since Impostor uses git submodule to reference Hazel you should include the --recurse-submodules option to git clone command. ie:

git clone --recurse-submodules https://github.com/AeonLucid/Impostor.git

if you're using https.

Building the server

Dependencies

Build using the CLI

cd Impostor/src/Impostor.Server/
dotnet build

To setup the configs and run it, please look at Running the server

Building the client

Dependencies

Build using the CLI

cd Impostor/src/Impostor.Client/
dotnet build