Mlie_Rimworld_VersionFromManifest 2021.12.28.193450

There is a newer version of this package available.
See the version list below for details.
dotnet add package Mlie_Rimworld_VersionFromManifest --version 2021.12.28.193450                
NuGet\Install-Package Mlie_Rimworld_VersionFromManifest -Version 2021.12.28.193450                
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="2021.12.28.193450" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Mlie_Rimworld_VersionFromManifest --version 2021.12.28.193450                
#r "nuget: Mlie_Rimworld_VersionFromManifest, 2021.12.28.193450"                
#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.
// Install Mlie_Rimworld_VersionFromManifest as a Cake Addin
#addin nuget:?package=Mlie_Rimworld_VersionFromManifest&version=2021.12.28.193450

// Install Mlie_Rimworld_VersionFromManifest as a Cake Tool
#tool nuget:?package=Mlie_Rimworld_VersionFromManifest&version=2021.12.28.193450                

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 743 10/8/2022
2021.12.28.193450 306 12/28/2021
2021.10.17.192921 387 10/17/2021
2021.10.17.192502 387 10/17/2021
1.0.0 424 10/17/2021