mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 03:30:44 -05:00
Fix: Improve readme for building with visual studio (!1)
Co-authored-by: Dev <dev@noreply.dev.sp-tarkov.com> Reviewed-on: SPT-AKI/Modules#1
This commit is contained in:
parent
a40dff2a9b
commit
8f0ef296ee
13
README.md
13
README.md
@ -24,8 +24,15 @@ Aki.SinglePlayer | Simulating online game while offline
|
|||||||
|
|
||||||
Copy-paste Live EFT's `EscapeFromTarkov_Data/Managed/` folder to into Modules' `Project/Shared/` folder
|
Copy-paste Live EFT's `EscapeFromTarkov_Data/Managed/` folder to into Modules' `Project/Shared/` folder
|
||||||
|
|
||||||
## Build
|
## Build (vscode)
|
||||||
|
|
||||||
1. File > Open Workspace > Modules.code-workspace
|
1. File > Open Workspace > Modules.code-workspace
|
||||||
2. Terminal > Run Build Task...
|
2. Terminal > Run Build Task...
|
||||||
3. Copy-paste content inside `Build` into `%gamedir%`, overwrite when prompted.
|
3. Copy contents of `/Build` into SPT game folder and overwrite
|
||||||
|
|
||||||
|
## Build (VS)
|
||||||
|
1. Open solution
|
||||||
|
2. Restore nuget packages
|
||||||
|
3. Run `dotnet new tool-manifest`
|
||||||
|
4. Run `dotnet tool install Cake.Tool`
|
||||||
|
5. Build solution
|
||||||
|
6. Copy contents of `/Build` into SPT game folder and overwrite
|
||||||
|
12
project/.config/dotnet-tools.json
Normal file
12
project/.config/dotnet-tools.json
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"version": 1,
|
||||||
|
"isRoot": true,
|
||||||
|
"tools": {
|
||||||
|
"cake.tool": {
|
||||||
|
"version": "3.0.0",
|
||||||
|
"commands": [
|
||||||
|
"dotnet-cake"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -5,14 +5,10 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Company>Aki</Company>
|
<Company>SPT Aki</Company>
|
||||||
<Copyright>Copyright @ Aki 2022</Copyright>
|
<Copyright>Copyright @ SPT Aki 2023</Copyright>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="Build.ps1" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" ExcludeAssets="runtime" PrivateAssets="all">
|
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" ExcludeAssets="runtime" PrivateAssets="all">
|
||||||
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user