!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

126 Members
24 Servers

Load older messages


SenderMessageTime
14 Dec 2024
@gggkiller:matrix.orgGGGNext step now is making an `autoPatchcilHook` in nixpkgs, but I'm out of steam so I'll need a while before I continue on it02:05:16
@gggkiller:matrix.orgGGGIf you want to try your hand at doing anything, feel free to shoot a pr or something02:05:31
@6pak:matrix.org6pakleaving me with the bash dirty work smh02:06:34
@gggkiller:matrix.orgGGGoh no, definitely not02:07:11
@gggkiller:matrix.orgGGGI'm talking about the actual tool, you said you wanted to patch the assembly to add a ResolvingUnmanagedDll event listener02:07:37
@gggkiller:matrix.orgGGGI'm also considering adding an option to patch which runtime an assembly depends on, to make it able to run on newer runtimes02:08:54
@6pak:matrix.org6pak I'm not sure whether it's worth the extra complexity 02:11:35
@6pak:matrix.org6pakif a popular dependency like avalonia used dynamic loading then probably yes02:12:51
@6pak:matrix.org6pakso you can just patch it in one place and reuse everywhere02:13:08
@6pak:matrix.org6pak wdym? 02:14:09
@6pak:matrix.org6pakyou can just force roll forward with an env variable02:14:27
@gggkiller:matrix.orgGGGoh? I thought it needed a rebuild02:14:48
@6pak:matrix.org6pakand fixing the subtle breaking changes in the few programs that are actually affected can't really be done in automated fashion02:15:10
@gggkiller:matrix.orgGGGoh, I wasn't planning to fix anything02:15:24
@gggkiller:matrix.orgGGGjust change which runtime it wanted02:15:28
@gggkiller:matrix.orgGGGI didn't know (or forgot) about the roll forward env var02:15:38
@6pak:matrix.org6pak DOTNET_ROLL_FORWARD=LatestMajor 02:17:25
@6pak:matrix.org6pakhttps://learn.microsoft.com/en-us/dotnet/core/versions/selection#framework-dependent-apps-roll-forward02:17:32
@gggkiller:matrix.orgGGGoh huh02:17:55
@gggkiller:matrix.orgGGGeven the apphost accepts that CLI arg02:17:59
@gggkiller:matrix.orgGGGthat's kinda wild02:18:03
@6pak:matrix.org6pakthe breaking changes are mostly theoretical02:18:31
@6pak:matrix.org6pakpractically you can almost always roll forward02:18:39
@gggkiller:matrix.orgGGGyeah, given MS' crippling fear of breaking changes, I doubt the runtime would have any02:18:51
@gggkiller:matrix.orgGGGI usually only see breaking changes on packages and the SDK itself, don't think I've seen one in the runtime02:19:07
@gggkiller:matrix.orgGGG other than with stuff like BinarySerializer 02:19:12
@6pak:matrix.org6pak keep in mind .NET SDK also breaks 4 times a year (feature bands) 02:19:46
@6pak:matrix.org6pak yeah it's generally long deprecated stuff like that 02:20:09
@6pak:matrix.org6pakthe most impactful one I can remember is the stream changes02:20:47
@gggkiller:matrix.orgGGGstream changes?02:24:27

Show newer messages


Back to Room ListRoom Version: 9