BeatSaberModdingTools.Tasks 1.1.6

There is a newer version of this package available.
See the version list below for details.
dotnet add package BeatSaberModdingTools.Tasks --version 1.1.6
NuGet\Install-Package BeatSaberModdingTools.Tasks -Version 1.1.6
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="BeatSaberModdingTools.Tasks" Version="1.1.6">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BeatSaberModdingTools.Tasks --version 1.1.6
#r "nuget: BeatSaberModdingTools.Tasks, 1.1.6"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install BeatSaberModdingTools.Tasks as a Cake Addin
#addin nuget:?package=BeatSaberModdingTools.Tasks&version=1.1.6

// Install BeatSaberModdingTools.Tasks as a Cake Tool
#tool nuget:?package=BeatSaberModdingTools.Tasks&version=1.1.6

BeatSaberModdingTools.Tasks

A set of MSBuild tasks for Beat Saber mods. Created for the templates in Beat Saber Modding Tools.

Tasks

GetManifestInfo

Parses the mod or library's manifest and assembly info to verify they match and outputs the plugin/assembly/game version for use in other tasks.

Inputs: |Name|Type|Required?|Description| |---|---|---|---| |ErrorOnMismatch|bool|No|If true, the task will report failure if the versions defined in the assembly and manifest don't match or can't be determined.| |ManifestPath|string|No|Set to use a manifest file other than manifest.json in the project root.| |AssemblyInfoPath|string|No|Set to use an assembly info path other than Properties\AssemblyInfo.cs.| |KnownAssemblyVersion|string|No|A string to use for the assembly version, use this if your assembly version is already defined in a project property.|

Outputs: |Name|Type|Description| |---|---|---| |PluginVersion|string|The mod or library's version as reported by the manifest file.| |AssemblyVersion|string|The mod or library's version as reported by the AssemblyInfo file or KnownAssemblyVersion.| |GameVersion|string|The Beat Saber game version defined in the manifest file.|

GetCommitHash

Gets the first 8 characters of the current commit hash for projects using git source control.

Inputs: |Name|Type|Required?|Description| |---|---|---|---| |ProjectDir|string|Yes|The directory of the project.|

Outputs: |Name|Type|Description| |---|---|---| |CommitShortHash|string|The first 8 characters of the current commit hash. Outputs local if project isn't using git source control.|

ZipDir

Creates a zip archive from the given directory.

Inputs: |Name|Type|Required?|Description| |---|---|---|---| |DirectoryName|string|Yes|Directory to zip.| |ZipFileName|string|Yes|Path of the created zip.|

IsProcessRunning

Checks if the specified process is running.

Inputs: |Name|Type|Required?|Description| |---|---|---|---| |ProcessName|string|Yes|Name of the process to check.|

Outputs: |Name|Type|Description| |---|---|---| |IsRunning|bool|True if the process is running, false otherwise.|

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (10)

Showing the top 5 popular GitHub repositories that depend on BeatSaberModdingTools.Tasks:

Repository Stars
Goobwabber/MultiplayerExtensions
A Beat Saber mod that expands multiplayer functionality.
Zingabopp/BeatSync
Beat Saber plugin to automatically download beatmaps.
BeatTogether/BeatTogether
A multiplayer private server for the modding community. Supports crossplay between PC and Quest.
nicoco007/BeatSaberCustomAvatars
Beat Saber mod that allows the use of custom player avatars for in-game body presence.
ToniMacaroni/SaberFactory
A highly customizable custom saber mod for Beat Saber
Version Downloads Last updated
2.0.0-beta4 545 12/11/2021
2.0.0-beta3 106 12/3/2021
2.0.0-beta2 115 12/3/2021
2.0.0-beta1 1,919 11/27/2021
1.4.3 2,168 5/29/2021
1.4.2 500 4/28/2021
1.4.1 526 4/8/2021
1.3.2 3,285 11/9/2020
1.3.1 402 10/29/2020
1.3.0 324 10/29/2020
1.2.3 1,712 9/23/2020
1.2.2 474 8/6/2020
1.2.1 548 8/5/2020
1.2.0 610 6/30/2020
1.1.6 458 6/21/2020

* Fixed certain LogWrapper methods calling themselves.
* Added Output property to ZipDir task containing the zip's full path.
* Renamed input parameters of ZipDir to SourceDirectory and DestinationFile