add tasks and launch for vscode
This commit is contained in:
42
.timetracker
42
.timetracker
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"total": 625681,
|
"total": 637354,
|
||||||
"sessions": [
|
"sessions": [
|
||||||
{
|
{
|
||||||
"begin": "2026-01-09T17:26:02+01:00",
|
"begin": "2026-01-09T17:26:02+01:00",
|
||||||
@@ -1415,6 +1415,46 @@
|
|||||||
"begin": "2026-03-29T08:19:40+02:00",
|
"begin": "2026-03-29T08:19:40+02:00",
|
||||||
"end": "2026-03-29T09:38:35+02:00",
|
"end": "2026-03-29T09:38:35+02:00",
|
||||||
"duration": 4734
|
"duration": 4734
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"begin": "2026-03-30T00:33:23+02:00",
|
||||||
|
"end": "2026-03-30T01:23:09+02:00",
|
||||||
|
"duration": 2986
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"begin": "2026-04-07T22:11:37+02:00",
|
||||||
|
"end": "2026-04-07T22:37:52+02:00",
|
||||||
|
"duration": 1575
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"begin": "2026-05-22T16:05:00+02:00",
|
||||||
|
"end": "2026-05-22T16:20:11+02:00",
|
||||||
|
"duration": 911
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"begin": "2026-05-22T16:20:15+02:00",
|
||||||
|
"end": "2026-05-22T16:43:59+02:00",
|
||||||
|
"duration": 1424
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"begin": "2026-05-22T16:47:46+02:00",
|
||||||
|
"end": "2026-05-22T17:08:18+02:00",
|
||||||
|
"duration": 1231
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"begin": "2026-05-22T17:36:43+02:00",
|
||||||
|
"end": "2026-05-22T17:36:52+02:00",
|
||||||
|
"duration": 8
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"begin": "2026-05-23T02:43:28+02:00",
|
||||||
|
"end": "2026-05-23T03:08:51+02:00",
|
||||||
|
"duration": 1523
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"begin": "2026-05-23T03:10:56+02:00",
|
||||||
|
"end": "2026-05-23T03:44:31+02:00",
|
||||||
|
"duration": 2015
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
17
.vscode/launch.json
vendored
Normal file
17
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "Vintage Story Client (Beehives)",
|
||||||
|
"type": "dotnet",
|
||||||
|
"request": "launch",
|
||||||
|
"projectPath": "${workspaceFolder}/OrekiWoofsBeehives/OrekiWoofsBeehives.csproj"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Vintage Story Client (RoamingBees)",
|
||||||
|
"type": "dotnet",
|
||||||
|
"request": "launch",
|
||||||
|
"projectPath": "${workspaceFolder}/RoamingBees/RoamingBees/RoamingBees.csproj"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
50
.vscode/tasks.json
vendored
Normal file
50
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "check env",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "if [ \"${input:buildConfig}\" = \"Version22\" ]; then [ -n \"$VINTAGE_STORY_22\" ] || { echo 'ERROR: VINTAGE_STORY_22 is not set'; exit 1; }; [ -n \"$VINTAGE_STORY_DATA_22\" ] || { echo 'ERROR: VINTAGE_STORY_DATA_22 is not set'; exit 1; }; else [ -n \"$VINTAGE_STORY_21\" ] || { echo 'ERROR: VINTAGE_STORY_21 is not set'; exit 1; }; [ -n \"$VINTAGE_STORY_DATA_21\" ] || { echo 'ERROR: VINTAGE_STORY_DATA_21 is not set'; exit 1; }; fi",
|
||||||
|
"windows": {
|
||||||
|
"command": "if ('${input:buildConfig}' -eq 'Version22') { if (-not $env:VINTAGE_STORY_22) { Write-Host 'ERROR: VINTAGE_STORY_22 is not set'; exit 1 }; if (-not $env:VINTAGE_STORY_DATA_22) { Write-Host 'ERROR: VINTAGE_STORY_DATA_22 is not set'; exit 1 } } else { if (-not $env:VINTAGE_STORY_21) { Write-Host 'ERROR: VINTAGE_STORY_21 is not set'; exit 1 }; if (-not $env:VINTAGE_STORY_DATA_21) { Write-Host 'ERROR: VINTAGE_STORY_DATA_21 is not set'; exit 1 } }"
|
||||||
|
},
|
||||||
|
"problemMatcher": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "build mod",
|
||||||
|
"command": "dotnet",
|
||||||
|
"type": "process",
|
||||||
|
"dependsOn": ["check env"],
|
||||||
|
"dependsOrder": "sequence",
|
||||||
|
"args": [
|
||||||
|
"build",
|
||||||
|
"${input:buildProject}",
|
||||||
|
"-c",
|
||||||
|
"${input:buildConfig}",
|
||||||
|
"/property:GenerateFullPaths=true",
|
||||||
|
"/consoleloggerparameters:NoSummary;ForceNoAlign"
|
||||||
|
],
|
||||||
|
"problemMatcher": "$msCompile"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"id": "buildConfig",
|
||||||
|
"type": "pickString",
|
||||||
|
"description": "Build configuration",
|
||||||
|
"options": ["Debug", "Release", "Version22"],
|
||||||
|
"default": "Debug"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "buildProject",
|
||||||
|
"type": "pickString",
|
||||||
|
"description": "Project to build",
|
||||||
|
"options": [
|
||||||
|
"${workspaceFolder}/OrekiWoofsBeehives/OrekiWoofsBeehives.csproj",
|
||||||
|
"${workspaceFolder}/RoamingBees/RoamingBees/RoamingBees.csproj",
|
||||||
|
"${workspaceFolder}/OrekiWoofsBees.Full/OrekiWoofsBees.Full.csproj"
|
||||||
|
],
|
||||||
|
"default": "${workspaceFolder}/OrekiWoofsBees.Full/OrekiWoofsBees.Full.csproj"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
<Solution>
|
<Solution>
|
||||||
<Configurations>
|
<Configurations>
|
||||||
<BuildType Name="Debug22" />
|
<BuildType Name="Version22" />
|
||||||
<BuildType Name="Debug" />
|
<BuildType Name="Debug" />
|
||||||
<BuildType Name="Release" />
|
<BuildType Name="Release" />
|
||||||
</Configurations>
|
</Configurations>
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
</Folder>
|
</Folder>
|
||||||
<Project Path="OrekiWoofsBeehives/OrekiWoofsBeehives.csproj" />
|
<Project Path="OrekiWoofsBeehives/OrekiWoofsBeehives.csproj" />
|
||||||
<Project Path="OrekiWoofsBees.Common/OrekiWoofsBees.Common.csproj" Id="e53bd51a-4c0e-4482-9e20-1361d42e72ea">
|
<Project Path="OrekiWoofsBees.Common/OrekiWoofsBees.Common.csproj" Id="e53bd51a-4c0e-4482-9e20-1361d42e72ea">
|
||||||
<BuildType Solution="Debug22|*" Project="Release" />
|
<BuildType Solution="Version22|*" Project="Release" />
|
||||||
</Project>
|
</Project>
|
||||||
<Project Path="RoamingBees/RoamingBees/RoamingBees.csproj" Id="7f545210-d3d4-4232-b6d6-7a10be19290c" />
|
<Project Path="RoamingBees/RoamingBees/RoamingBees.csproj" Id="7f545210-d3d4-4232-b6d6-7a10be19290c" />
|
||||||
<Project Path="RoamingBees/ZZCakeBuild/RoamingBeesCakeBuild.csproj" Id="742949f3-29ab-48ef-bb9a-903055795dfb" />
|
<Project Path="RoamingBees/ZZCakeBuild/RoamingBeesCakeBuild.csproj" Id="742949f3-29ab-48ef-bb9a-903055795dfb" />
|
||||||
|
|||||||
@@ -5,14 +5,16 @@
|
|||||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||||
<OutputPath>bin\$(Configuration)\Mods\orekiwoofsbeehives</OutputPath>
|
<OutputPath>bin\$(Configuration)\Mods\orekiwoofsbeehives</OutputPath>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<Configurations>Debug;Release;Debug22</Configurations>
|
<Configurations>Debug;Release;Version22</Configurations>
|
||||||
|
<VINTAGE_STORY>$(VINTAGE_STORY_21)</VINTAGE_STORY>
|
||||||
|
<VINTAGE_STORY_DATA>$(VINTAGE_STORY_DATA_21)</VINTAGE_STORY_DATA>
|
||||||
<VintageStoryDataPathArgs></VintageStoryDataPathArgs>
|
<VintageStoryDataPathArgs></VintageStoryDataPathArgs>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)' == 'Debug22'">
|
<PropertyGroup Condition="'$(Configuration)' == 'Version22'">
|
||||||
<TargetFramework>net10.0</TargetFramework>
|
<TargetFramework>net10.0</TargetFramework>
|
||||||
<VINTAGE_STORY>$(VINTAGE_STORY_22)</VINTAGE_STORY>
|
<VINTAGE_STORY>$(VINTAGE_STORY_22)</VINTAGE_STORY>
|
||||||
<VINTAGE_STORY_DATA Condition="'$(VINTAGE_STORY_DATA_22)' != '' and Exists('$(VINTAGE_STORY_DATA_22)')">$(VINTAGE_STORY_DATA_22)</VINTAGE_STORY_DATA>
|
<VINTAGE_STORY_DATA>$(VINTAGE_STORY_DATA_22)</VINTAGE_STORY_DATA>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(VINTAGE_STORY_DATA)' != '' and Exists('$(VINTAGE_STORY_DATA)')">
|
<PropertyGroup Condition="'$(VINTAGE_STORY_DATA)' != '' and Exists('$(VINTAGE_STORY_DATA)')">
|
||||||
|
|||||||
@@ -4,13 +4,15 @@
|
|||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<Configurations>Debug;Release;Debug22</Configurations>
|
<Configurations>Debug;Release;Version22</Configurations>
|
||||||
|
<VINTAGE_STORY>$(VINTAGE_STORY_21)</VINTAGE_STORY>
|
||||||
|
<VINTAGE_STORY_DATA>$(VINTAGE_STORY_DATA_21)</VINTAGE_STORY_DATA>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)' == 'Debug22'">
|
<PropertyGroup Condition="'$(Configuration)' == 'Version22'">
|
||||||
<TargetFramework>net10.0</TargetFramework>
|
<TargetFramework>net10.0</TargetFramework>
|
||||||
<VINTAGE_STORY>$(VINTAGE_STORY_22)</VINTAGE_STORY>
|
<VINTAGE_STORY>$(VINTAGE_STORY_22)</VINTAGE_STORY>
|
||||||
<VINTAGE_STORY_DATA Condition="'$(VINTAGE_STORY_DATA_22)' != '' and Exists('$(VINTAGE_STORY_DATA_22)')">$(VINTAGE_STORY_DATA_22)</VINTAGE_STORY_DATA>
|
<VINTAGE_STORY_DATA>$(VINTAGE_STORY_DATA_22)</VINTAGE_STORY_DATA>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
@@ -55,7 +57,7 @@
|
|||||||
<Private>False</Private>
|
<Private>False</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="configlib">
|
<Reference Include="configlib">
|
||||||
<HintPath>E:\Code\VintageStory\configlib_1.10.14\configlib.dll</HintPath>
|
<HintPath>$(VS_CONFIGLIB)</HintPath>
|
||||||
<Private>False</Private>
|
<Private>False</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|||||||
@@ -1,15 +1,20 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<Configurations>Debug;Release;Debug22</Configurations>
|
<Configurations>Debug;Release;Version22</Configurations>
|
||||||
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
|
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
|
||||||
<DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
|
<DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
|
||||||
|
<VINTAGE_STORY_DATA>$(VINTAGE_STORY_DATA_21)</VINTAGE_STORY_DATA>
|
||||||
<VintageStoryDataPathArgs></VintageStoryDataPathArgs>
|
<VintageStoryDataPathArgs></VintageStoryDataPathArgs>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)' == 'Debug22'">
|
<PropertyGroup Condition="'$(Configuration)' == 'Version22'">
|
||||||
<TargetFramework>net10.0</TargetFramework>
|
<TargetFramework>net10.0</TargetFramework>
|
||||||
<VintageStoryDataPathArgs> --dataPath "..\VintageStoryDataBeehives\Data22"</VintageStoryDataPathArgs>
|
<VINTAGE_STORY_DATA>$(VINTAGE_STORY_DATA_22)</VINTAGE_STORY_DATA>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup Condition="'$(VINTAGE_STORY_DATA)' != '' and Exists('$(VINTAGE_STORY_DATA)')">
|
||||||
|
<VintageStoryDataPathArgs> --dataPath "$(VINTAGE_STORY_DATA)"</VintageStoryDataPathArgs>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<Target Name="BuildBothMods" BeforeTargets="Build">
|
<Target Name="BuildBothMods" BeforeTargets="Build">
|
||||||
|
|||||||
@@ -5,14 +5,16 @@
|
|||||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||||
<OutputPath>bin\$(Configuration)\Mods\roamingbees</OutputPath>
|
<OutputPath>bin\$(Configuration)\Mods\roamingbees</OutputPath>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<Configurations>Debug;Release;Debug22</Configurations>
|
<Configurations>Debug;Release;Version22</Configurations>
|
||||||
|
<VINTAGE_STORY>$(VINTAGE_STORY_21)</VINTAGE_STORY>
|
||||||
|
<VINTAGE_STORY_DATA>$(VINTAGE_STORY_DATA_21)</VINTAGE_STORY_DATA>
|
||||||
<VintageStoryDataPathArgs></VintageStoryDataPathArgs>
|
<VintageStoryDataPathArgs></VintageStoryDataPathArgs>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)' == 'Debug22'">
|
<PropertyGroup Condition="'$(Configuration)' == 'Version22'">
|
||||||
<TargetFramework>net10.0</TargetFramework>
|
<TargetFramework>net10.0</TargetFramework>
|
||||||
<VINTAGE_STORY>$(VINTAGE_STORY_22)</VINTAGE_STORY>
|
<VINTAGE_STORY>$(VINTAGE_STORY_22)</VINTAGE_STORY>
|
||||||
<VINTAGE_STORY_DATA Condition="'$(VINTAGE_STORY_DATA_22)' != '' and Exists('$(VINTAGE_STORY_DATA_22)')">$(VINTAGE_STORY_DATA_22)</VINTAGE_STORY_DATA>
|
<VINTAGE_STORY_DATA>$(VINTAGE_STORY_DATA_22)</VINTAGE_STORY_DATA>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(VINTAGE_STORY_DATA)' != '' and Exists('$(VINTAGE_STORY_DATA)')">
|
<PropertyGroup Condition="'$(VINTAGE_STORY_DATA)' != '' and Exists('$(VINTAGE_STORY_DATA)')">
|
||||||
|
|||||||
@@ -3,7 +3,12 @@
|
|||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory>
|
<RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory>
|
||||||
<Configurations>Debug;Release;Debug22</Configurations>
|
<Configurations>Debug;Release;Version22</Configurations>
|
||||||
|
<VINTAGE_STORY>$(VINTAGE_STORY_21)</VINTAGE_STORY>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup Condition="'$(Configuration)' == 'Version22'">
|
||||||
|
<VINTAGE_STORY>$(VINTAGE_STORY_22)</VINTAGE_STORY>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -3,7 +3,12 @@
|
|||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory>
|
<RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory>
|
||||||
<Configurations>Debug;Release;Debug22</Configurations>
|
<Configurations>Debug;Release;Version22</Configurations>
|
||||||
|
<VINTAGE_STORY>$(VINTAGE_STORY_21)</VINTAGE_STORY>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup Condition="'$(Configuration)' == 'Version22'">
|
||||||
|
<VINTAGE_STORY>$(VINTAGE_STORY_22)</VINTAGE_STORY>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
Reference in New Issue
Block a user