Nix + dotnet | 114 Members | |
| 23 Servers |
| Sender | Message | Time |
|---|---|---|
| 9 Aug 2025 | ||
Made a quick default.nix with the main buildDotnetModule, no more tools issues, thanks for the help! | 00:46:50 | |
| Would it be worth it to add this info to the documentation? | 00:56:23 | |
| Also, I'm not sure what happened, but a bunch of the WebAssembly related deps (for a blazor/razor part of the project) were a minor version off, I needed to manually change a bunch from 8.0.17 to 8.0.18. Any idea why this might have happened? | 01:01:53 | |
Also, now I'm running into another issue wrt wasm, error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'browser-wasm'., I've seen some others having problems with this | 01:05:52 | |
| yeah, you probably have to install the wasm workload and I don't think we support that currently | 01:22:50 | |
| unless if homedir workload installation got re-enabled recently | 01:23:09 | |
I'm also getting this error intermittently, error MSB4018: System.IO.IOException: The process cannot access the file '/build/y0lpd34wqi3vwms9ci0i5yq4mq90sz23-source/src/Infrastructure/bin/Release/net8.0/Infrastructure.deps.json' because it is being used by another process. | 01:24:11 | |
| Not sure what to make of that | 01:24:16 | |
| ngl I do not know what this means | 01:24:30 | |
In reply to @oatmealraisin:matrix.orgI think that's usually if you're building a solution file with concurrency. | 01:29:24 | |
| Is concurrency on by default? | 01:30:20 | |
| Yeah, unless `enableParallelBuilding = false`. There's documentation somewhere about why that's not safe in all cases, but I haven't found it yet... | 01:32:38 | |
| I must've glanced over it too fast, I thought it was off by default. I'll change that. I'm also not making derivations for every projectreference yet.. | 01:34:36 | |
| Hey! The whole thing just built | 01:35:15 | |
| It doesn't run because it needs selfContainedBuild but just getting to this point is great. Corngood thanks again for the help | 01:59:20 | |
In reply to @oatmealraisin:matrix.org stdenv is off by default, buildDotnetModule is on by default... I think some other languages did the same because they don't have the legacy of stdenv. The documentation I was talking about was the concurrent solution building problem, but that's an upstream dotnet thing. | 02:04:20 | |
| For some reason I can't find any reference now, but I seem to remember the problem was with solution files specifically causing the same project to be build twice concurrently when there's a diamond dependency. I think it had something to do with the target framework or runtime being used as well. There are a bunch of packages that work around it. For example
| 02:19:29 | |
| 13 Aug 2025 | ||
| Hi, me again. Sorry
Anyone have any suggestions on what to do next? | 17:18:25 | |