!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

113 Members
23 Servers

Load older messages


SenderMessageTime
4 Nov 2025
@manuelbaerenz:matrix.orgManuel BärenzYes, it's a private nuget repo, but without credentials16:31:35
@manuelbaerenz:matrix.orgManuel BärenzAh. The private nuget repo returns XML, not JSON. I think I can't reconfigure that.16:49:14
@manuelbaerenz:matrix.orgManuel BärenzMeanwhile, I can run the project with dotnet run. So maybe packaging it isn't as urgent? I guess it's a little less reproducible as a 100% nix solution...16:57:05
@corngood:corngood.comCorngoodSo the index (equivalent of https://api.nuget.org/v3/index.json) is in XML?17:25:41
@manuelbaerenz:matrix.orgManuel BärenzYes, it seems so17:25:58
@corngood:corngood.comCorngoodIs the URL index.xml or something?17:27:03
@corngood:corngood.comCorngoodI've just never seen a public server like that. We could probably improve support in nuget-to-json, but we'd need some way to test it17:27:47
@manuelbaerenz:matrix.orgManuel Bärenz

The url is like nuget.somepartnerdomain.com/Something/nuget, and it returns something like

<?xml version="1.0" encoding="utf-8"?>
<service xml:base="https://nuget.somepartnerdomain.com/Something/nuget" xmlns="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/Atom">
  <workspace>
    <atom:title type="text">Default</atom:title>
    <collection href="Packages">
      <atom:title type="text">Packages</atom:title>
    </collection>
  </workspace>
</service>
17:31:00
@manuelbaerenz:matrix.orgManuel BärenzAnd when I go to http://nuget.somepartnerdomain.com/Something/nuget/Packages, I get an XML with package descriptions17:31:32
@corngood:corngood.comCorngood It sounded like you had this working with dotnet run? in that case, what url is in your nuget.config? The same one? 17:54:40
@manuelbaerenz:matrix.orgManuel Bärenz Yes. It seems like dotnet is able to work with this. Or else it serves an index.json on some path that I haven't discovered yet (I've tried a few) 18:28:34
@manuelbaerenz:matrix.orgManuel Bärenz * Yes. It seems like dotnet is able to work with this. Or else that nuget server serves an index.json on some path that I haven't discovered yet (I've tried a few) 18:30:02
@manuelbaerenz:matrix.orgManuel BärenzI believe XML vs JSON is a question of nuget v2 vs v318:31:05
@corngood:corngood.comCorngoodThe XML just looks like an atom feed. I wonder how it works.20:37:50
@emma:rory.gayEmma [it/its]"intentionally undocumented"22:55:32
5 Nov 2025
@whovian9369:matrix.orgWhovian9369Hey, I have a Visual Studio Code flake for messing with C# stuff. I went to try and debug an app, and got the following error. Any ideas on what could be wrong, if I'm missing a package or something, etc? `Couldn't find a debug adapter descriptor for debug type 'coreclr' (extension might have failed to activate)`05:45:19
@whovian9369:matrix.orgWhovian9369Nudging this just in case anyone knows!18:50:14
6 Nov 2025
@emma:rory.gayEmma [it/its]if i override the version, it gets further, odd00:01:59
@emma:rory.gayEmma [it/its]i wonder why nuget is fine with the version on nuget.org but not with the same version on disk00:02:46
@corngood:corngood.comCorngoodIs it something to do with the suffix on the version?02:49:07
7 Nov 2025
@emma:rory.gayEmma [it/its]it is yes00:13:37
@emma:rory.gayEmma [it/its] i narrowed it down to specifically being the +abcdefg at the end 00:13:52
@emma:rory.gayEmma [it/its] https://github.com/NuGet/Home/issues/14628 00:14:19
@emma:rory.gayEmma [it/its]raised an issue here, wonder if itll get any traction on it00:14:28
@emma:rory.gayEmma [it/its]hm, i seem to a bit stuck in package reference hell02:08:42
@emma:rory.gayEmma [it/its] im using a temporary hack to make my project build now, but now it fails when i try to use that as a dependency? 02:11:40
@emma:rory.gayEmma [it/its]oh now it doesnt build at all02:14:02
@emma:rory.gayEmma [it/its]ah, deps.json fuckery due to the same package existing on nuget.org... can i limit package references to a given source?02:16:08
@corngood:corngood.comCorngoodIf you pin the version of the dependency it should prefer the local /nix/store source.02:31:25
@emma:rory.gayEmma [it/its]im not sure how i would do that?02:35:47

Show newer messages


Back to Room ListRoom Version: 9