#ThunderPipe
1082 messages ยท Page 2 of 2 (latest)
ye
Would it be smart to have the doc for them there in comments?
I actually love that MSBuild has great logs when adding -fileLogger
eh, it's hard to find them, there is no Ctrl+Click functionality for MSBuild afaik
and probably no xmldocs type of thing
but I could be wrong
in that case it could be nice
oh?
is it terrible? lol
Yes
forget it then lmao
real
Either make a PR or something. I will do it when I come home
this is basically the only thing I like about MSBuild. It was super easy to debug the problem of why they get set, it just literally says it in the logs
/home/suni/.nuget/packages/thunderpipe.sdk/0.1.2/Sdk/Sdk.props(5,3): message : Property reassignment: $(ThunderstoreHost)="" (previous value: "https://thunderstore.dev/") at /home/suni/.nuget/packages/thunderpipe.sdk/0.1.2/Sdk/Sdk.props (5,3)
I actually love that
Good thing the sdk works
ye I'll make a PR
Except that bug
ye
Not too hard to use?
it's quite easy to use, but I'm very biased because I also tweaked the usage stuff so I also know exactly how the interface works for the MSBuild integration
Shushh

here's the PR https://github.com/WarperSan/ThunderPipe/pull/65
Fixes the values possibly being overridden when the props are loaded
Biggest PR
real
Thought about it but I advice you to use a specific version of the sdk
It would be unwise to use "the latest version"
oh yeah that's a communication mistake, I ofc would not use a floating version for this, but would use the latest version which is pinned
so like the version added initially is not already outdated
I forgot to tell, but v0.1.3 of the SDK is out
oh ye I did notice
I looked a bit into MSBuild targets, and I believe that "PostBuildEvent" would be more appropriate than "Build" for the pre-existing targets for ThunderPipe.Sdk
I'll probably open a PR soon-ish about that
I think it's still fine to do breaking changes like this as it's very new and at least I haven't yet released a template which makes use of ThunderPipe. The version number should just signify the significance of the change (at least if following SemVer)
I have a hard time understanding the last part about the version number
just following semver rules https://semver.org/
but really, it's an extremely small change and will only affect if someone has some msbuild setup with targets that depend on very specific ordering
so probably could get away with not even marking it as a breaking change in the version number
I also wonder if it could be made user configurable. I'll look into that
like using AfterTargets="@(ThunderPipePackAfterBuildTargets)"
if this works, I guess we could just have a new property which is RunThunderPipePack (and RunThunderPipePublish ofc) and those can be configured when the uh when it should run
Originally, I was planning to go from 0.1.3 to 0.1.4. However, i thought you wanted me to go to 0.2.0
yeah I'd probably go to 0.2.0 but actually since the major version is still 0, you can actually do anything you want
so just go with 0.1.4
I misread the version as starting with 1 originally
Its technically not yet released
yep
Actually, when do you plan on updating your template?
I might release a v1.0.0 (even without any change) before it and for it
uh, not sure, but there's one change I'm planning to do and after that I'll probably release PEAKModding.BepInExTemplate v2.0.0
so could be today or tomorrow, or later
God damn
but ofc I also want this target change done because I realized it might be better for configuring more targets, like for example using NetcodePatcher
PostBuildEvent?
and it doesn't really matter if it takes a day or two
Or the AfterTargets
AfterTargets="PostBuildEvent"
This or PostBuildEvent
I much prefer the latter
not sure rn
I understand you want to make it as customizable as possible
so PostBuildEvent?
But I feel adding a property just for that is kinda pointless
I think it can make sense, like if we set a default value there which is PostBuildEvent
PostBuildEvent can be done. I would wait for this
do you care when I should open the PR? Because I could implement that change right now
like if you would prefer I open a PR now or later today?
oke I'll do it a bit later ๐
actually, it seems that after Build is later than after PostBuildEvent. The later the target runs, the more likely the timing for it works for the use case of ThunderPipe.Sdk's targets, I believe. So actually, it's fine as is, and probably better as is