KSPModdingLibs / KSPBuildTools

MIT License
2 stars 4 forks source link

Idea: make KSPBuildTools available through nuget #24

Closed drewcassidy closed 2 weeks ago

drewcassidy commented 2 weeks ago

I Think that msbuild stuff can be put on nuget on its own. That would allow usage without having to deal with submodules

Twinki14 commented 2 weeks ago

Would definitely help keep it up-to-date, there might be a MSBuild nuget package that you'd reference?

I personally lean away from sub-moduling as well or forking this repo, just complicates things.

A dotnet CLI tool might also be an avenue, similar to https://github.com/domaindrivendev/Swashbuckle.AspNetCore/tree/master/src/Swashbuckle.AspNetCore.Cli

You can have your csproj call a CLI tool before or after build too.

Could write a tool that generates the .props/.targets files. Then version the tool that modders would use by installing it via dotnet install