Mlie_Rimworld_VersionFromManifest 2022.10.8.223337

dotnet add package Mlie_Rimworld_VersionFromManifest --version 2022.10.8.223337
                    
NuGet\Install-Package Mlie_Rimworld_VersionFromManifest -Version 2022.10.8.223337
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Mlie_Rimworld_VersionFromManifest" Version="2022.10.8.223337" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Mlie_Rimworld_VersionFromManifest" Version="2022.10.8.223337" />
                    
Directory.Packages.props
<PackageReference Include="Mlie_Rimworld_VersionFromManifest" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Mlie_Rimworld_VersionFromManifest --version 2022.10.8.223337
                    
#r "nuget: Mlie_Rimworld_VersionFromManifest, 2022.10.8.223337"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Mlie_Rimworld_VersionFromManifest&version=2022.10.8.223337
                    
Install as a Cake Addin
#tool nuget:?package=Mlie_Rimworld_VersionFromManifest&version=2022.10.8.223337
                    
Install as a Cake Tool

Version from manifest

A support-file to fetch the current version in the About/Manifest.xml file and display it in game, usually in the settings-menu. Uses the mod-identifier to look up the correct file

Example.

private static string currentVersion;
currentVersion = VersionFromManifest.GetVersionFromModMetaData(ModLister.GetActiveModWithIdentifier("ModIdentifier"));
if (currentVersion != null)
{
	listing_Standard.Gap();
	GUI.contentColor = Color.gray;
	listing_Standard.Label("CurrentModVersion_Label".Translate(currentVersion));
	listing_Standard.Label($"Installed mod-version: {currentVersion}");
	GUI.contentColor = Color.white;
}
Product Compatible and additional computed target framework versions.
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2022.10.8.223337 904 10/8/2022
2021.12.28.193450 350 12/28/2021
2021.10.17.192921 435 10/17/2021
2021.10.17.192502 433 10/17/2021
1.0.0 472 10/17/2021