!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

121 Members
24 Servers

Load older messages


SenderMessageTime
5 Mar 2025
@gggkiller:matrix.orgGGGIt should do this too21:32:26
@6pak:matrix.org6paklooks like it does, but I doubt it will just work with a project of this size21:33:56
6 Mar 2025
@sananatheskenana:matrix.orglzcuntIs the migration tool upgrade-assistant?20:49:03
@sananatheskenana:matrix.orglzcuntI think it's the case, the "convert to SDK-style" uption in upgrade-assistant seems to work 21:00:47
@sananatheskenana:matrix.orglzcunt* I think it's the case, the "convert to SDK-style" option in upgrade-assistant seems to work 21:00:53
@gggkiller:matrix.orgGGGYes, that's what I had in mind21:10:20
@sananatheskenana:matrix.orglzcuntIt's still tedious doing it for every project21:11:18
@gggkiller:matrix.orgGGGI think it can work on a solution file if you give it one21:13:12
@sananatheskenana:matrix.orglzcuntSeemingly can't21:13:22
@sananatheskenana:matrix.orglzcuntIt does the .NET version upgrade analysis on the entire solution tho21:13:44
@sananatheskenana:matrix.orglzcuntbut I'm not interested in version upgrades21:13:53
7 Mar 2025
@sananatheskenana:matrix.orglzcuntok so the automated migration broke LOTS of stuff so I'm going to try the latter12:35:24
@sananatheskenana:matrix.orglzcunthow long should nuget-to-json take at most?12:35:49
@sananatheskenana:matrix.orglzcunt* how long should nuget-to-json take at most? It's been running for 10 minutes or so12:36:01
@sananatheskenana:matrix.orglzcuntand is there a package that is built with mono & packages.config so I can take a look at how it's done?12:45:06
@6pak:matrix.org6pakdepends on your internet connection, but it should take however long a restore would take for you14:33:21
@6pak:matrix.org6pak10mins sounds way too high14:33:24
@6pak:matrix.org6pakI doubt there is14:33:33
@6pak:matrix.org6pakyou might be able to reuse the nuget-to-json though14:35:07
@6pak:matrix.org6pak just make a regular stdenvNoCC.mkDerivation which uses mono's xbuild in buildPhase and nuget restore in configurePhase and wrap that in addNuGetDeps 14:36:02
@gggkiller:matrix.orgGGG
In reply to @sananatheskenana:matrix.org
how long should nuget-to-json take at most? It's been running for 10 minutes or so
How did you run it? It should be pointed to a directory where you checked out all the packages to
14:59:56
@sananatheskenana:matrix.orglzcuntI ran it as `nuget-to-json out`15:00:36
@sananatheskenana:matrix.orglzcuntI think the issue might be that `nuget restore` fetches the nupkg instead of just the metadata, and in fact the metadata is not in the output only the package is15:01:25
@sananatheskenana:matrix.orglzcunt
In reply to @6pak:matrix.org
just make a regular stdenvNoCC.mkDerivation which uses mono's xbuild in buildPhase and nuget restore in configurePhase and wrap that in addNuGetDeps
yep that's the plan
15:02:03
@sananatheskenana:matrix.orglzcunt
In reply to @sananatheskenana:matrix.org
I think the issue might be that nuget restore fetches the nupkg instead of just the metadata, and in fact the metadata is not in the output only the package is
maybe we could add nuget restore support to nuget-to-json? It'd essentially be using the already fetched nupkg instead of prefetching the url from the metadata
15:03:15
@sananatheskenana:matrix.orglzcuntso basically since there's no metadata in the output directory, nuget-to-json is in an infinite loop i think15:05:06
@gggkiller:matrix.orgGGG
In reply to @sananatheskenana:matrix.org
I think the issue might be that nuget restore fetches the nupkg instead of just the metadata, and in fact the metadata is not in the output only the package is
No, as long as it unpacks the packages into the directory it should be fine
15:22:31
@gggkiller:matrix.orgGGGLemme review the source, but I don't remember it depending on any specific metadata on the output directory15:23:28
@gggkiller:matrix.orgGGGI think it might be stuck here instead: https://github.com/NixOS/nixpkgs/blob/master/pkgs%2Fby-name%2Fnu%2Fnuget-to-json%2Fnuget-to-json.sh#L26-L2815:24:44
@sananatheskenana:matrix.orglzcuntI tested that command manually and it worked so I assumed it wasn't15:25:31

Show newer messages


Back to Room ListRoom Version: 9