BeatSaberModdingTools.Tasks
1.1.6
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
<PackageReference Include="BeatSaberModdingTools.Tasks" Version="1.1.6"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add BeatSaberModdingTools.Tasks --version 1.1.6
#r "nuget: BeatSaberModdingTools.Tasks, 1.1.6"
// 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.|
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.6
- Microsoft.Build.Framework (>= 15.9.20)
- Microsoft.Build.Tasks.Core (>= 15.9.20)
- System.Diagnostics.Process (>= 4.3.0)
-
.NETStandard 2.0
- Microsoft.Build.Framework (>= 16.5.0)
- Microsoft.Build.Tasks.Core (>= 16.5.0)
- System.Diagnostics.Process (>= 4.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (12)
Showing the top 5 popular GitHub repositories that depend on BeatSaberModdingTools.Tasks:
Repository | Stars |
---|---|
Goobwabber/MultiplayerExtensions
A Beat Saber mod that expands multiplayer functionality.
|
|
nicoco007/BeatSaberCustomAvatars
Beat Saber mod that allows the use of custom player avatars for in-game body presence.
|
|
Zingabopp/BeatSync
Beat Saber plugin to automatically download beatmaps.
|
|
ToniMacaroni/SaberFactory
A highly customizable custom saber mod for Beat Saber
|
|
BeatTogether/BeatTogether
A multiplayer private server for the modding community. Supports crossplay between PC and Quest.
|
Version | Downloads | Last updated |
---|---|---|
2.0.0-beta7 | 1,386 | 3/21/2023 |
2.0.0-beta6 | 350 | 3/19/2023 |
2.0.0-beta5 | 187 | 3/18/2023 |
2.0.0-beta4 | 1,520 | 12/11/2021 |
2.0.0-beta3 | 339 | 12/3/2021 |
2.0.0-beta2 | 330 | 12/3/2021 |
2.0.0-beta1 | 3,491 | 11/27/2021 |
1.4.3 | 5,199 | 5/29/2021 |
1.4.2 | 975 | 4/28/2021 |
1.4.1 | 830 | 4/8/2021 |
1.3.2 | 5,412 | 11/9/2020 |
1.3.1 | 582 | 10/29/2020 |
1.3.0 | 504 | 10/29/2020 |
1.2.3 | 2,273 | 9/23/2020 |
1.2.2 | 629 | 8/6/2020 |
1.2.1 | 769 | 8/5/2020 |
1.2.0 | 793 | 6/30/2020 |
1.1.6 | 666 | 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