Joshwuh
Joshwuh
CC#
Created by Joshwuh on 3/2/2025 in #help
VS Code (C# + C# Dev Kit) Failing to Load
code block 3
2025-03-01 19:19:45.645 [info] Language server process exited with 1
2025-03-01 19:19:45.657 [info] [Error - 7:19:45 PM] Microsoft.CodeAnalysis.LanguageServer client: couldn't create connection to server.
2025-03-01 19:19:45.657 [info] Error: Language server process exited unexpectedly
at ChildProcess.<anonymous> (c:\Users\joshu\.vscode\extensions\ms-dotnettools.csharp-2.67.20-win32-x64\dist\extension.js:2:1194136)
at ChildProcess.emit (node:events:530:35)
at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)
2025-03-01 19:19:45.645 [info] Language server process exited with 1
2025-03-01 19:19:45.657 [info] [Error - 7:19:45 PM] Microsoft.CodeAnalysis.LanguageServer client: couldn't create connection to server.
2025-03-01 19:19:45.657 [info] Error: Language server process exited unexpectedly
at ChildProcess.<anonymous> (c:\Users\joshu\.vscode\extensions\ms-dotnettools.csharp-2.67.20-win32-x64\dist\extension.js:2:1194136)
at ChildProcess.emit (node:events:530:35)
at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)
4 replies
CC#
Created by Joshwuh on 3/2/2025 in #help
VS Code (C# + C# Dev Kit) Failing to Load
code block 2
2025-03-01 19:19:45.645 [error] [stderr] Unhandled exception: System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (0x8007000B)
at Microsoft.CodeAnalysis.ImmutableArrayExtensions.SelectAsArrayAsync[TItem,TResult](ImmutableArray`1 array, Func`3 selector, CancellationToken cancellationToken)
at Microsoft.CodeAnalysis.Options.GlobalOptionService.<GetOptionPersisters>g__GetOptionPersistersAsync|7_1(ImmutableArray`1 persisterProviders, CancellationToken cancellationToken) in /_/src/Workspaces/Core/Portable/Options/GlobalOptionService.cs:line 75
at Roslyn.Utilities.TaskExtensions.WaitAndGetResult_CanCallOnBackground[T](Task`1 task, CancellationToken cancellationToken) in /_/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Utilities/TaskExtensions.cs:line 56
at Microsoft.CodeAnalysis.Options.GlobalOptionService.GetOptionPersisters() in /_/src/Workspaces/Core/Portable/Options/GlobalOptionService.cs:line 48
at Microsoft.CodeAnalysis.Options.GlobalOptionService.SetGlobalOptions(OneOrMany`1 options) in /_/src/Workspaces/Core/Portable/Options/GlobalOptionService.cs:line 192
at Microsoft.CodeAnalysis.Options.GlobalOptionService.SetGlobalOption(OptionKey2 optionKey, Object value) in /_/src/Workspaces/Core/Portable/Options/GlobalOptionService.cs:line 184
at Microsoft.CodeAnalysis.Options.GlobalOptionService.SetGlobalOption[T](Option2`1 option, T value) in /_/src/Workspaces/Core/Portable/Options/GlobalOptionService.cs:line 178
at Program.<<Main>$>g__RunAsync|0_0(ServerConfiguration serverConfiguration, CancellationToken cancellationToken) in /_/src/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/Program.cs:line 107
at System.CommandLine.CliCommand.<>c__DisplayClass32_0.<<SetAction>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Invocation.InvocationPipeline.InvokeAsync(ParseResult parseResult, CancellationToken cancellationToken)
2025-03-01 19:19:45.645 [error] [stderr] Unhandled exception: System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (0x8007000B)
at Microsoft.CodeAnalysis.ImmutableArrayExtensions.SelectAsArrayAsync[TItem,TResult](ImmutableArray`1 array, Func`3 selector, CancellationToken cancellationToken)
at Microsoft.CodeAnalysis.Options.GlobalOptionService.<GetOptionPersisters>g__GetOptionPersistersAsync|7_1(ImmutableArray`1 persisterProviders, CancellationToken cancellationToken) in /_/src/Workspaces/Core/Portable/Options/GlobalOptionService.cs:line 75
at Roslyn.Utilities.TaskExtensions.WaitAndGetResult_CanCallOnBackground[T](Task`1 task, CancellationToken cancellationToken) in /_/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Utilities/TaskExtensions.cs:line 56
at Microsoft.CodeAnalysis.Options.GlobalOptionService.GetOptionPersisters() in /_/src/Workspaces/Core/Portable/Options/GlobalOptionService.cs:line 48
at Microsoft.CodeAnalysis.Options.GlobalOptionService.SetGlobalOptions(OneOrMany`1 options) in /_/src/Workspaces/Core/Portable/Options/GlobalOptionService.cs:line 192
at Microsoft.CodeAnalysis.Options.GlobalOptionService.SetGlobalOption(OptionKey2 optionKey, Object value) in /_/src/Workspaces/Core/Portable/Options/GlobalOptionService.cs:line 184
at Microsoft.CodeAnalysis.Options.GlobalOptionService.SetGlobalOption[T](Option2`1 option, T value) in /_/src/Workspaces/Core/Portable/Options/GlobalOptionService.cs:line 178
at Program.<<Main>$>g__RunAsync|0_0(ServerConfiguration serverConfiguration, CancellationToken cancellationToken) in /_/src/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/Program.cs:line 107
at System.CommandLine.CliCommand.<>c__DisplayClass32_0.<<SetAction>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Invocation.InvocationPipeline.InvokeAsync(ParseResult parseResult, CancellationToken cancellationToken)
4 replies
CC#
Created by Joshwuh on 2/17/2025 in #help
✅ VS Code C# Highlighting?
thanks 🙂
76 replies
CC#
Created by Joshwuh on 2/17/2025 in #help
✅ VS Code C# Highlighting?
thank you so much for helping
76 replies
CC#
Created by Joshwuh on 2/17/2025 in #help
✅ VS Code C# Highlighting?
okay. when I click open solution it doesn't give the option to create a new one. is that part of dotnet new and I just didn't follow directions?
76 replies
CC#
Created by Joshwuh on 2/17/2025 in #help
✅ VS Code C# Highlighting?
weird. okay. does that fix the highlighting? I'll give it a shot
76 replies
CC#
Created by Joshwuh on 2/17/2025 in #help
✅ VS Code C# Highlighting?
usually solution creation is step 1
76 replies
CC#
Created by Joshwuh on 2/17/2025 in #help
✅ VS Code C# Highlighting?
all in VS though
76 replies
CC#
Created by Joshwuh on 2/17/2025 in #help
✅ VS Code C# Highlighting?
yes
76 replies
CC#
Created by Joshwuh on 2/17/2025 in #help
✅ VS Code C# Highlighting?
it's a single project, does it require a solution? not familiar with that
76 replies
CC#
Created by Joshwuh on 2/17/2025 in #help
✅ VS Code C# Highlighting?
it appears not. I didn't even know that was a thing
76 replies
CC#
Created by Joshwuh on 2/17/2025 in #help
✅ VS Code C# Highlighting?
No description
76 replies
CC#
Created by Joshwuh on 2/17/2025 in #help
✅ VS Code C# Highlighting?
I created a new directory and did dotnet new console --use-program-main
76 replies
CC#
Created by Joshwuh on 2/17/2025 in #help
✅ VS Code C# Highlighting?
specifically, the Console should be green/teal and WriteLine should be off yellow
76 replies
CC#
Created by Joshwuh on 2/17/2025 in #help
✅ VS Code C# Highlighting?
No description
76 replies