Skip to content

Commit 102b7ba

Browse files
Update README.md
1 parent 418a91c commit 102b7ba

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,17 @@ but require full path import like ```import * as auth from 'client/auth.mjs';```
119119

120120
## Assembly setup (more control for server developers, probably better performance as well)
121121

122-
(TODO: more docs)
123-
- Create console application
122+
### Create a project with Visual Studio 17 (Windows)
123+
124+
* Go to "File -> New -> Project..." now the Project Wizard should appear.
125+
* In the left Column select "Installed -> Visual C# -> .NET Core".
126+
* Now select "Console Application (.NET Core)" and choose "Name", "Location" and the "Solution name".
127+
* To setup the correct NuGet Packages open the Manager under "Tools -> NuGet Package Manager -> Manage NuGet Packages for Solution..."
128+
* Select Browse and search for AltV.Net and install the packages "AltV.Net", ("AltV.Net.Async" when you need async thread save api access)
129+
* Now go to "Project -> {Your Project Name} Properties... -> Build", here you can select the Output path where the dll should be saved.
130+
131+
To get the Resource running on the server, you have to create a "resource.cfg" file. Copy the resource.cfg, AltV.Net.dll and all other dependencied with your resource dll file to altv-server/resources/{YourResourceName}/.
132+
124133
- (For now) create empty assembly.cfg in your resource.
125134
Boilerplate AltV.Net.Example.csproj:
126135
```

0 commit comments

Comments
 (0)