!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

121 Members
24 Servers

Load older messages


SenderMessageTime
18 Mar 2025
@sananatheskenana:matrix.orglzcuntxmlstarlet is not happy because xmlns is missing18:47:42
@6pak:matrix.org6pakpersonally I hate that thing18:48:07
@6pak:matrix.org6pakbash is an awful choice for this task18:48:25
@sananatheskenana:matrix.orglzcuntI agree but this is the reality of current nixpkgs/nixos, everything is basically bash script generators lol and I'm more interested in getting it to work and not rewriting it18:49:12
@sananatheskenana:matrix.orglzcunttho, rewriting it in python wouldn't be too hard hmm?18:49:42
@sananatheskenana:matrix.orglzcuntbut I trust my bash more than my python so I'm not the person to do that18:50:24
@sananatheskenana:matrix.orglzcunt nope it's impossible to use -N "_=" to hackily define the xmlns because xmlstarlet gets mad at you when there's a proper xmlns defined in the file, and I can't define the proper ns there because there are multiple versions (and once again xmlstarlet gets mad when they don't match) 19:03:10
@sananatheskenana:matrix.orglzcuntI'll patch the nuspec file (manually for now)19:03:27
@sananatheskenana:matrix.orglzcunt Heyy, what package provides msbuild? the msbuild package seems to be for 6.0 which is marked insecure 19:49:43
@6pak:matrix.org6pakthe modern msbuild is part of dotnet sdk19:50:42
@sananatheskenana:matrix.orglzcuntSo I need to depend on dotnet sdk for mono packages too? oof19:51:10
@6pak:matrix.org6pakif you can even build your project with modern msbuild19:51:32
@6pak:matrix.org6pakmono had it's own msbuild clone called xbuild, before msbuild was open sourced19:51:57
@sananatheskenana:matrix.orglzcuntyea I'm aware, the application I'm trying to manage depends on standalone msbuild19:52:21
@sananatheskenana:matrix.orglzcuntbut is a mono project19:52:37
@sananatheskenana:matrix.orglzcunt* and is a mono project19:52:49
@6pak:matrix.org6pakafaik mono also had a fork of the open sourced msbuild for a bit19:52:56
@6pak:matrix.org6pakwhich is what nixpkgs packages as "msbuild"19:53:20
@sananatheskenana:matrix.orglzcunt oof dotnet-sdks msbuild doesn't work (it wants .NETFramework,Version=v4.6.1) 19:53:46
@sananatheskenana:matrix.orglzcunt * oof dotnet-sdks msbuild doesn't work (it wants .NETFramework,Version=v4.6.1 but is 8.0) 19:53:51
@sananatheskenana:matrix.orglzcuntso xbuild doesn't work, msbuild is marked insecure, sdk's msbuild is not for mono projects seemingly)19:54:58
@sananatheskenana:matrix.orglzcunt* so xbuild doesn't work, msbuild is marked insecure, sdk's msbuild is not for mono projects seemingly19:55:00
@6pak:matrix.org6pak you might make it work by explicitly referencing Microsoft.NETFramework.ReferenceAssemblies? 19:55:14
@sananatheskenana:matrix.orglzcunthow would I do that?19:55:29
@6pak:matrix.org6pakby however you install packages on packages.config projects19:59:51
@6pak:matrix.org6pakwait so packages.config should work after all?20:00:34
@6pak:matrix.org6pakhttps://learn.microsoft.com/en-us/nuget/reference/msbuild-targets#restoring-packagereference-and-packagesconfig-projects-with-msbuild20:00:45
@sananatheskenana:matrix.orglzcunt this is nuget restore 20:09:44
@sananatheskenana:matrix.orglzcuntwait no20:09:54
@6pak:matrix.org6pakno, it seems to be modern msbuild/nuget20:10:11

Show newer messages


Back to Room ListRoom Version: 9