https://github.com/obsidianmc/msbuild
An msbuild package that packs your plugins when published.
https://github.com/obsidianmc/msbuild
Last synced: about 1 year ago
JSON representation
An msbuild package that packs your plugins when published.
- Host: GitHub
- URL: https://github.com/obsidianmc/msbuild
- Owner: ObsidianMC
- License: gpl-3.0
- Created: 2024-02-09T06:05:20.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-01-04T05:26:40.000Z (over 1 year ago)
- Last Synced: 2025-03-27T02:39:14.260Z (about 1 year ago)
- Language: C#
- Homepage:
- Size: 57.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Obsidian.MSBuild
An msbuild package that packs your plugins when published.
This uses a format created by the tModloader team to pack and publish mods for terraria.
# Installation
Nuget package: https://www.nuget.org/packages/Obsidian.MSBuild
```
Install-Package Obsidian.MSBuild
```
# Instructions
If you're doing this manually and didn't use a template then you're going to create a new project.
Install the package.
Open up your csproj and make sure you have this in either a new or exisiting PropertGroup.
```csproj
$(PublishUrl)
{{Obsidian.API VERSION}}
{{YOUR PLUGIN ASSEMBLY}}
{{YOUR PLUGIN VERSION}}
{{YOUR SIGNING KEY}}
```
After that just publish or (build on Release) your plugin and it will pack the plugin for you automatically and output that to the build and or publish directory.