Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R2modman support for staging profile #1

Closed
Lordfirespeed opened this issue Dec 31, 2023 · 2 comments
Closed

R2modman support for staging profile #1

Lordfirespeed opened this issue Dec 31, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@Lordfirespeed
Copy link

Lordfirespeed commented Dec 31, 2023

r2modman profiles are kept here:

$(APPDATA)/r2modmanPlus-local/LethalCompany/profiles/[profile name]

Edit: I know you can set PluginStagingDir manually. It would be nice to not have to.

Cryptoc1 added a commit that referenced this issue Jan 4, 2024
- Output MSBuild Tasks assembly from Sdk project
- Implement PluginInfoType+manifest generation as MSBuild Tasks
- Implement MSBuild Tasks for restoring+resolving ThunderDependency plugins
- Update README with documentation on ThunderDependency configuration
- Sdk: Don't generate .deps.json file when building a project
- Sdk: expand configuration of plugin related props
- Sdk: support r2modman (fix #1)
- Sdk: improve logging/warnings
- Sdk: validate generated manifest.json values
- Sdk: support disabling release optimizations
- Sdk: rename PluginInfoTypeAccessModifier -> PluginInfoTypeModifiers
@Cryptoc1 Cryptoc1 added the enhancement New feature or request label Jan 4, 2024
@Cryptoc1
Copy link
Owner

Cryptoc1 commented Jan 4, 2024

@Lordfirespeed Support for r2modman is slated for release in version v1.1.0. I've pushed a release candidate, v1.1.0-rc.3, for testing if you'd like to try it out until the official release (note however, as this is a pre-release, there may be a few bugs to work out).

Full details of the changes I've made can be found in the summary of #2.

This issue will automatically be closed when v1.1.0 is officially released.

TL;DR

  • Update to v1.1.0-rc.3:
<Project Sdk="LethalCompany.Plugin.Sdk/1.1.0-rc.3">
  ...
</Project>
  • Set the PluginManager property:
<PropertyGroup>
  ...

  <PluginManager>r2modman</PluginManager>
</PropertyGroup>

I recommend setting this property in the .csproj.user file, adjacent to <PluginStagingProfile />

  • The Sdk now auto-references assemblies for ThunderDependency items. If you're using ThunderDependency items, you no longer need to specify manual References.

@Lordfirespeed
Copy link
Author

Awesome!

Closed by #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants