!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

126 Members
24 Servers

Load older messages


SenderMessageTime
5 Mar 2025
@sananatheskenana:matrix.orglzcuntI have no idea why those two commands are any different, I am not really a dotnet person. Testing manually, it seems dotnet restore fails to find anything to restore at all. What should I do?21:18:19
@6pak:matrix.org6pak nuget would likely call the legacy mono/netfx nuget client 21:20:34
@6pak:matrix.org6pakwhile nixpkgs only really supports the modern dotnet sdk21:20:43
@sananatheskenana:matrix.orglzcuntAh, is there a way to get the solution to restore with dotnet instead?21:21:14
@6pak:matrix.org6pakwhat app is it?21:21:24
@sananatheskenana:matrix.orglzcuntOpenBVE21:21:28
@sananatheskenana:matrix.orglzcunttrain simulator :321:21:35
@6pak:matrix.org6pak"makefile" sounds like it does some custom build logic21:21:44
@sananatheskenana:matrix.orglzcuntit barely does any logic21:21:52
@sananatheskenana:matrix.orglzcuntit's checking for dependencies then just calling nuget and msbuild21:22:06
@6pak:matrix.org6pak it uses the legacy project format and packages.config, but it should still work with modern dotnet sdk 21:22:43
@6pak:matrix.org6pak just try doing dotnet restore/dotnet build 21:22:53
@sananatheskenana:matrix.orglzcuntthey say to build with mono but idk the difference between dotnet core and mono21:23:08
@sananatheskenana:matrix.orglzcunt

Determining projects to restore...
Nothing to do. None of the projects specified contain packages to restore.

21:23:44
@6pak:matrix.org6pakmono has been abandoned for years21:23:48
@sananatheskenana:matrix.orglzcunt *

Determining projects to restore...
Nothing to do. None of the projects specified contain packages to restore.

21:23:53
@6pak:matrix.org6pakever since dotnet was open sourced21:23:55
@sananatheskenana:matrix.orglzcuntthis is with dotnet restore21:24:08
@6pak:matrix.org6pak* mono has been (effectively) abandoned for years21:24:13
@6pak:matrix.org6pakactually no, project.json is still somewhat supported by dotnet restore, but packages.config never was21:25:56
@sananatheskenana:matrix.orglzcuntI wonder how complicated it would be to patch them to use dotnet core instead of mono with 0 dotnet knowledge21:26:06
@6pak:matrix.org6pakso you'd have to either convert the project to modern format (which should be somewhat easy if you know c#) or build using mono in nixpkgs21:26:33
@sananatheskenana:matrix.orglzcuntI know very basic C# but not the tooling around it21:26:54
@sananatheskenana:matrix.orglzcuntI think I'd rather do the first tbh, their linux stuff seems barely touched since 202021:27:19
@sananatheskenana:matrix.orglzcuntit'd be awesome to get them up to date on this21:27:36
@6pak:matrix.org6pakimage.png
Download image.png
21:28:52
@6pak:matrix.org6pak40 projects, ouch21:28:55
@sananatheskenana:matrix.orglzcuntoof21:29:07
@6pak:matrix.org6pakI'd say the ideal solution is to migrate to modern (sdk-style) project format upstream, but that does need a bit msbuild experience21:29:55
@6pak:matrix.org6pakand it would be a bit of work with 40 projects21:30:06

Show newer messages


Back to Room ListRoom Version: 9