Compare commits
10 commits
eb14290210
...
dce259ecf8
Author | SHA1 | Date | |
---|---|---|---|
|
dce259ecf8 | ||
|
188f53668f | ||
|
4c1e54857e | ||
|
e8fa57afda | ||
|
0cf7e9fb76 | ||
|
eba8fa8bef | ||
|
3f5ceb38be | ||
|
cffd160ba1 | ||
|
49b959b957 | ||
|
848caedff1 |
10 changed files with 22 additions and 30 deletions
5
.vscode/extensions.json
vendored
Normal file
5
.vscode/extensions.json
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"recommendations": [
|
||||
"ms-dotnettools.csharp"
|
||||
]
|
||||
}
|
14
.vscode/launch.json
vendored
14
.vscode/launch.json
vendored
|
@ -15,20 +15,6 @@
|
|||
"console": "internalConsole",
|
||||
"internalConsoleOptions":"neverOpen",
|
||||
"stopAtEntry": true
|
||||
},
|
||||
|
||||
{ // ignore
|
||||
"name": ".NET Framework Attach",
|
||||
"type": "clr",
|
||||
"request": "attach",
|
||||
"processId": "${command:pickProcess}",
|
||||
"symbolOptions": {
|
||||
"searchPaths": [
|
||||
".vscode/obj/Debug/*"
|
||||
],
|
||||
"searchMicrosoftSymbolServer": false,
|
||||
"searchNuGetOrgSymbolServer": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
8
.vscode/mod.csproj
vendored
8
.vscode/mod.csproj
vendored
|
@ -1,14 +1,14 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>Library</OutputType>
|
||||
<TargetFramework>net472</TargetFramework>
|
||||
<TargetFramework>net480</TargetFramework>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
|
||||
<!-- Modify [RootNamespace], [AssemblyName], [OutputPath], [VersionPrefix] -->
|
||||
<RootNamespace>Template</RootNamespace>
|
||||
<AssemblyName>Template</AssemblyName>
|
||||
<OutputPath>../1.2/Assemblies</OutputPath>
|
||||
<VersionPrefix>1.0.0.0</VersionPrefix>
|
||||
<OutputPath>../1.4/Assemblies</OutputPath>
|
||||
<VersionPrefix>0.1.0.0</VersionPrefix>
|
||||
|
||||
<!-- do not generate pdb file -->
|
||||
<DebugType>none</DebugType>
|
||||
|
@ -27,7 +27,7 @@
|
|||
</Reference>
|
||||
|
||||
<!-- Harmony -->
|
||||
<!-- <Reference Include="../../Harmony/v1.1/Assemblies/0Harmony.dll">
|
||||
<!-- <Reference Include="../../Harmony/Current/Assemblies/0Harmony.dll">
|
||||
<Private>False</Private>
|
||||
</Reference> -->
|
||||
</ItemGroup>
|
||||
|
|
Binary file not shown.
|
@ -1,23 +1,23 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ModMetaData>
|
||||
<packageId>arvkus.template</packageId>
|
||||
<name>Arvkus Mod Template</name>
|
||||
<author>Arvkus</author>
|
||||
<packageId>username.modname</packageId>
|
||||
<name>Mod Template</name>
|
||||
<author>username</author>
|
||||
<supportedVersions>
|
||||
<li>1.2</li>
|
||||
<li>1.4</li>
|
||||
</supportedVersions>
|
||||
|
||||
<modDependencies>
|
||||
<!-- <li>
|
||||
<packageId>brrainz.harmony</packageId>
|
||||
<displayName>Harmony</displayName>
|
||||
<downloadUrl>https://steamcommunity.com/workshop/filedetails/?id=2009463077</downloadUrl>
|
||||
<steamWorkshopUrl>https://steamcommunity.com/workshop/filedetails/?id=2009463077</steamWorkshopUrl>
|
||||
<steamWorkshopUrl>steam://url/CommunityFilePage/2009463077</steamWorkshopUrl>
|
||||
<downloadUrl>https://github.com/pardeike/HarmonyRimWorld/releases/latest</downloadUrl>
|
||||
</li> -->
|
||||
</modDependencies>
|
||||
|
||||
<incompatibleWith>
|
||||
<!-- <li>arvkus.template</li> -->
|
||||
<!-- <li>username.modname</li> -->
|
||||
</incompatibleWith>
|
||||
|
||||
<description>Template</description>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Rimworld Mod Template
|
||||
|
||||
This template is created for Rimworld moders who use [Visual Studio Code](https://code.visualstudio.com/) instead of Visual Studio IDE.
|
||||
This template is created for Rimworld modders who use [Visual Studio Code](https://code.visualstudio.com/) instead of Visual Studio IDE.
|
||||
|
||||
* __No virtual folders__. Easy to manage and edit both `xml` and `cs` files.
|
||||
|
||||
|
@ -11,12 +11,13 @@ This template is created for Rimworld moders who use [Visual Studio Code](https:
|
|||
* __Customizable__. Almost every feature can be changed, whenever it is editor UI, keybinds or folder structure.
|
||||
|
||||
## Setup
|
||||
1. Download and install [.NET Core SDK](https://dotnet.microsoft.com/download/dotnet-core) and [.Net Framework 4.7.2 Developer Pack]( https://dotnet.microsoft.com/download/dotnet-framework/net472). This step can be skipped if you already have required C# packages from Visual Studio IDE.
|
||||
2. Instal [C# extension](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp).
|
||||
1. Download and install [.NET Core SDK](https://dotnet.microsoft.com/download/dotnet-core) and [.Net Framework 4.8 Developer Pack](https://dotnet.microsoft.com/download/dotnet-framework/net48). This step can be skipped if you already have required C# packages from Visual Studio IDE.
|
||||
2. Install [C# extension](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp).
|
||||
3. Clone, pull or download this template into your Rimworld `Mods` folder.
|
||||
|
||||
## Additional notes
|
||||
* By pressing `F5` key VS Code will perform 2 operations: build assembly file and launch Rimworld executable.
|
||||
* All intermediate files are kept inside `.vscode` folder.
|
||||
* For XML only modders remove preLaunchTask line from `.vscode/launch.json` file.
|
||||
* Modify `.vscode/mod.csproj` and `About/About.xml` according to your needs.
|
||||
|
||||
|
|
|
@ -14,8 +14,8 @@ using Verse.Grammar;
|
|||
using RimWorld;
|
||||
using RimWorld.Planet;
|
||||
|
||||
//using System.Reflection;
|
||||
//using HarmonyLib;
|
||||
// using System.Reflection;
|
||||
// using HarmonyLib;
|
||||
|
||||
namespace Template
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue