| 10 Feb 2025 |
GGG | * dotnet new console (using .NET 9 + .NET 8 combined SDK)
then add this to Program.cs:
static partial class Regexes
{
[GeneratedRegex(@"[\x00-\x1f\\/:\""*?<>\|]|\.+$")]
public static partial Regex NotAllowedInFolderChars { get; }
}
| 18:41:49 |
GGG | * dotnet new console (using .NET 9 + .NET 8 combined SDK, resulting in a net9.0 project)
then add this to Program.cs:
static partial class Regexes
{
[GeneratedRegex(@"[\x00-\x1f\\/:\""*?<>\|]|\.+$")]
public static partial Regex NotAllowedInFolderChars { get; }
}
| 18:42:00 |
Corngood | Is it not reproducible if you use only the net9 sdk? | 20:49:34 |
GGG | The extension won't find the runtime for .NET 8 you don't add it | 20:49:59 |
GGG | So the language server won't even start | 20:50:04 |
Corngood | Maybe I misunderstood the repro. It's not just a build failure? You have to start Roslyn-ls? | 21:00:17 |
GGG | No, it's not a build failure, it builds correctly | 21:00:40 |
GGG | But roslyn-ls does not execute the source generators, so it has a bunch of errors in the proejct | 21:00:55 |
GGG | * But roslyn-ls does not execute the source generators, so it has a bunch of errors in the project | 21:00:59 |
GGG | More specifically, the roslyn-ls that is bundled/embedded/vendored inside the VSCode C# extension | 21:01:15 |
GGG | it builds correctly, but the extension generates a bunch of errors because no source is being generated so the program is incomplete according to it | 21:01:37 |
| 12 Feb 2025 |
Emma [it/its] | oh is that why source generators no longer run in Rider either? | 21:22:11 |