Modify Master and Standalone servers
In this guide we are going to cover how to setup Master Server or Basic Standalone Server for editing and building. I am going to use Visual Studio Community version as a reference, If you use other IDE, such as VS Code, you might need extra steps since we are going to use multiple projects together, but that won't be covered in this guide.
- Clone project from github
- Create Folder where you are going to store the whole project
BeardedManStudiosfolders to newly created folder.
BasicStandAloneServerfolder depending on what you want to set up Hierarchy should look something like this:
dotnet new slnin the root directory of new folder from CMD (command prompt)
dotnet sln add ‘folderName’for all folders in the root directory(three in this case)
- Now open Visual Studio using newly created .sln file
Master Server as
Set as StartUp Project as shown below:
Now make sure all projects in the folder are using .Net Framework version (4.7.2 in my case) that is installed on you machine from properties menu as shown below:
Now go back to github project and find:
Forge Networking Remastered Unity/BeardedManStudios/Scripts/Networking
(if you are using develop branch this instead:
and copy all of its contents in your new project folder at shown path:
Well, if you are using master branch, then you are good to go, but if you are using develop branch, we are going to need 2 more files.
Go to this path in github project:
And copy following files to the same source folder as before:
If you are getting errors, put these 2 new files in visual studio’s explorer manually and restart visual studio.