0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-12 17:10: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:
chomp 2023-03-04 10:14:27 +00:00
parent a40dff2a9b
commit 8f0ef296ee
3 changed files with 24 additions and 9 deletions

View File

@ -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
## Build
## Build (vscode)
1. File > Open Workspace > Modules.code-workspace
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

View File

@ -0,0 +1,12 @@
{
"version": 1,
"isRoot": true,
"tools": {
"cake.tool": {
"version": "3.0.0",
"commands": [
"dotnet-cake"
]
}
}
}

View File

@ -5,14 +5,10 @@
</PropertyGroup>
<PropertyGroup>
<Company>Aki</Company>
<Copyright>Copyright @ Aki 2022</Copyright>
<Company>SPT Aki</Company>
<Copyright>Copyright @ SPT Aki 2023</Copyright>
</PropertyGroup>
<ItemGroup>
<None Include="Build.ps1" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" ExcludeAssets="runtime" PrivateAssets="all">
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>