23 Apr 2025 |
GGG | just make sure to get the logs from the Extension Host, C# DevKit and C# extensions | 05:28:32 |
Daniel | I have not been able to get it to work properly yet, even though I am already using pkgs.vscode.fhs. Are there any instructions on what we need to get it to run properly? | 10:23:41 |
corruptcomputer | Would this be enough info? Neither C# or C# DevKit have any logs in the output window, only that one. This package is installed though
Extension Host:
2025-04-21 21:22:00.068 [error] Activating extension ms-dotnettools.csharp failed due to an error:
2025-04-21 21:22:00.069 [error] Error: Version 2.2.3 of the .NET Install Tool (ms-dotnettools.vscode-dotnet-runtime) was not found, C# will not activate.
at /nix/store/igyqc0cisbwz6zj15fb6xl74ljilas2a-vscode-extension-ms-dotnettools-csharp-2.61.28/share/vscode/extensions/ms-dotnettools.csharp/dist/extension.js:2:1205715
at Generator.next (<anonymous>)
at s (/nix/store/igyqc0cisbwz6zj15fb6xl74ljilas2a-vscode-extension-ms-dotnettools-csharp-2.61.28/share/vscode/extensions/ms-dotnettools.csharp/dist/extension.js:2:1204371)
2025-04-21 21:22:00.073 [info] Eager extensions activated
| 13:06:12 |
GGG | yeah, you're missing that extension, it won't work without it | 15:00:06 |
GGG | even though it's pointless to have it since there's no dynamic installing of .NET, it's needed for them to work | 15:00:37 |
corruptcomputer | I have it defined in my configuration.nix for vscode, and I can see it when looking at my installed extensions in vscode too. I think the nix builds version is too old though, looking at its version in vscode it says 2.1.1, but I have both of those extensions installed from pkgs.vscode-extensions so it seems like a packaging problem, they are just incompatible versions currently | 15:10:49 |
GGG | oh, I see | 15:18:06 |
GGG | maybe it hasn't been updated in too long. in my config I've been using the src and version from nix-vscode-extensions to override the ones in nixpkgs | 15:18:43 |
24 Apr 2025 |
| ortolanbunting3002 joined the room. | 18:20:55 |
26 Apr 2025 |
| lord-valen joined the room. | 21:39:24 |
27 Apr 2025 |
ortolanbunting3002 | Does anyone have an idea why I'm only seeing these workloads?
% nix shell nixpkgs-unstable\#dotnetCorePackages.dotnet_9.sdk
% dotnet --info
.NET SDK:
Version: 9.0.105
Commit: b7deac6d42
Workload version: 9.0.100-manifests.3b27a542
MSBuild version: 17.12.32+b7deac6d4
Runtime Environment:
OS Name: nixos
OS Version: 24.11
OS Platform: Linux
RID: linux-x64
Base Path: /nix/store/hzdqc45clz93vdrhwmdd87zc92r2bwwc-dotnet-sdk-9.0.105/share/dotnet/sdk/9.0.105/
.NET workloads installed:
There are no installed workloads to display.
Configured to use loose manifests when installing new manifests.
Host:
Version: 9.0.4
Architecture: x64
Commit: b7deac6d42
.NET SDKs installed:
9.0.105 [/nix/store/hzdqc45clz93vdrhwmdd87zc92r2bwwc-dotnet-sdk-9.0.105/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 9.0.4 [/nix/store/hzdqc45clz93vdrhwmdd87zc92r2bwwc-dotnet-sdk-9.0.105/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 9.0.4 [/nix/store/hzdqc45clz93vdrhwmdd87zc92r2bwwc-dotnet-sdk-9.0.105/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
% dotnet workload search
Workload ID Description
----------------------------------------------------------------------------
aspire .NET Aspire SDK
wasi-experimental workloads/wasi-experimental/description
wasi-experimental-net8 workloads/wasi-experimental-net8/description
wasm-experimental .NET WebAssembly experimental tooling
wasm-experimental-net7 .NET WebAssembly experimental tooling for net7.0
wasm-experimental-net8 .NET WebAssembly experimental tooling for net8.0
wasm-tools .NET WebAssembly build tools
wasm-tools-net6 .NET WebAssembly build tools for net6.0
wasm-tools-net7 .NET WebAssembly build tools for net7.0
wasm-tools-net8 .NET WebAssembly build tools for net8.0
%
| 12:27:25 |
ortolanbunting3002 | In reply to @ortolanbunting3002:tchncs.de
Does anyone have an idea why I'm only seeing these workloads?
% nix shell nixpkgs-unstable\#dotnetCorePackages.dotnet_9.sdk
% dotnet --info
.NET SDK:
Version: 9.0.105
Commit: b7deac6d42
Workload version: 9.0.100-manifests.3b27a542
MSBuild version: 17.12.32+b7deac6d4
Runtime Environment:
OS Name: nixos
OS Version: 24.11
OS Platform: Linux
RID: linux-x64
Base Path: /nix/store/hzdqc45clz93vdrhwmdd87zc92r2bwwc-dotnet-sdk-9.0.105/share/dotnet/sdk/9.0.105/
.NET workloads installed:
There are no installed workloads to display.
Configured to use loose manifests when installing new manifests.
Host:
Version: 9.0.4
Architecture: x64
Commit: b7deac6d42
.NET SDKs installed:
9.0.105 [/nix/store/hzdqc45clz93vdrhwmdd87zc92r2bwwc-dotnet-sdk-9.0.105/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 9.0.4 [/nix/store/hzdqc45clz93vdrhwmdd87zc92r2bwwc-dotnet-sdk-9.0.105/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 9.0.4 [/nix/store/hzdqc45clz93vdrhwmdd87zc92r2bwwc-dotnet-sdk-9.0.105/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
% dotnet workload search
Workload ID Description
----------------------------------------------------------------------------
aspire .NET Aspire SDK
wasi-experimental workloads/wasi-experimental/description
wasi-experimental-net8 workloads/wasi-experimental-net8/description
wasm-experimental .NET WebAssembly experimental tooling
wasm-experimental-net7 .NET WebAssembly experimental tooling for net7.0
wasm-experimental-net8 .NET WebAssembly experimental tooling for net8.0
wasm-tools .NET WebAssembly build tools
wasm-tools-net6 .NET WebAssembly build tools for net6.0
wasm-tools-net7 .NET WebAssembly build tools for net7.0
wasm-tools-net8 .NET WebAssembly build tools for net8.0
%
I want to install the android workload but it's not showing up | 12:29:27 |
6pak | presumably the source build either doesn't support the android workload or it's not enabled in the nix build | 14:12:46 |
6pak |
dotnetCorePackages.dotnet_9.sdk
and accessing the sdk like that is lowkey an implementation detail
| 14:15:15 |
6pak | you probably want dotnetCorePackages.sdk_9_0 instead | 14:15:41 |
28 Apr 2025 |
Emma [it/its] | TIL dotnet doesnt work in termux lol | 08:41:12 |
Emma [it/its] | export DOTNET_GCHeapHardLimit=1C0000000 works i suppose | 08:44:16 |
Emma [it/its] | also missing ICU it seems | 08:45:28 |
Emma [it/its] | bash-5.2$ dotnet bin/Release/net9.0/linux-arm64/MatrixAntiDmSpam.dll
Process terminated. Couldn't find a valid ICU package installed on the system. Please install libicu (or icu-libs) using your package manager and try again. Alternatively you can set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support. Please see https://aka.ms/dotnet-missing-libicu for more information.
at System.Environment.FailFast(System.Runtime.CompilerServices.StackCrawlMarkHandle, System.String, System.Runtime.CompilerServices.ObjectHandleOnStack, System.String)
| 08:51:24 |
| coolio joined the room. | 18:21:24 |
ortolanbunting3002 | In reply to @6pak:matrix.org presumably the source build either doesn't support the android workload or it's not enabled in the nix build Can I use the non-source build in Nix?
Can I enable the android workload for the nix build?
| 20:34:44 |
Corngood | In reply to @ortolanbunting3002:tchncs.de
Can I use the non-source build in Nix?
Can I enable the android workload for the nix build? You can use e.g. dotnetCorePackages.sdk_8_0-bin , but if you're seeing cases where the source built one isn't a drop in replacement, could you make an issue and @ me? | 20:45:30 |
6pak | it doesn't have the android stuff in sdk-manifests | 21:14:16 |
6pak | tbf fedora build doesnt either | 21:14:19 |
6pak | so likely VMR issue | 21:14:25 |
6pak | https://github.com/dotnet/source-build/issues/3242 | 21:18:14 |
29 Apr 2025 |
| jimalexberger joined the room. | 14:05:05 |
ortolanbunting3002 | In reply to @6pak:matrix.org
dotnetCorePackages.dotnet_9.sdk
and accessing the sdk like that is lowkey an implementation detail
The issue actually seems to have been using dotnetCorePackages.dotnet_9.sdk instead of dotnetCorePackages.sdk_9_0. After changing that, it works.
| 18:44:19 |
ortolanbunting3002 | But now I have the Read-only file system issue when trying to install workloads.
| 18:47:51 |
Emma [it/its] | Because it tries to write to the nix store | 18:48:20 |