Closed CasDragon closed 3 weeks ago
Micro assisted my smooth brain with local testing, already found an issue, so converting to draft
Updated the README
dotnet new --install Owlcat.Templates
is apparently deprecated, replaced with dotnet new install Owlcat.Templates
The template appears to work, except for the issues I'm running into here. https://discord.com/channels/645948717400064030/791053285657542666/1251332530552967210 Micro says it shouldn't work, but if you follow the conversation, it's literally the same code as Summoner mod and CharacterOptionsPlus mod, so it should work
So the state of the template is... everything appears to work, creates the project correctly and references BPCore nuget, only thing that doesn't work is building the project. I have 0 knowledge on MSBuild, so unsure of whether or not I'll continue attempting to fix this
Tested it twice, with these changes (MSBuild
<Copy SourceFiles="@(Files)" DestinationFiles="@(Files->'$(WrathInstallDir)\Mods\$(AssemblyName)\%(RecursiveDir)%(Filename)%(Extension)')" />
<ZipDirectory SourceDirectory="$(MSBuildProjectDirectory)\$(OutputPath)" DestinationFile="$(MSBuildProjectDirectory)\$(OutputPath)\..\$(AssemblyName)-$(Version).zip" Overwrite="true" />
https://github.com/xADDBx/OwlcatNuGetTemplates/commit/ec9f60ad172c87cb2655c314ead47262c9555ff5
I basically took it as is; I adjusted ILRepack Pacakge version (using 2.* for matching major version; since SemVer any 3.x version could break the workflow because api change) and I changed the default display name
I have no idea how to test locally, because my brain is really smooth. Creating the PR because I literally won't remember later to ask you how if I don't PR now. May or may not work correctly already