-
-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extension Not Activating When Using .NET 6 #1971
Comments
Just wanted to add that I was also experiencing the same issue, only on Linux instead of macOS. Swapping out .NET 6 for .NET 7, and then uninstalling/reinstalling the extension resolved the issue for me. That happens to work in my situation so that's good. But is .NET 6 not supported anymore? |
Quoting @baronfel #1961 (comment)
|
This is also happening for me (VSCode 1.85.2, .net 6.0.126, ionide 7.17.0, linux), the extension never initiates. Previously the extension was taking some time (upwards of a minute) to open in large projects but now doesn't start at all. The F# explorer doesn't show either. I can recreate on a separate machine (VSCode 1.85.2, .net 6.0.126, ionide 7.17, windows 10) with a fresh install of everything. Upgrading to .net 6.0.418 doesn't affect the issue. It's also blocking any other commands from running so until the extension is disabled it's not possible to launch the debugger etc. The only workaround I have (changing from .net 6 is not an option) is to disable the extension. 7.15.2 is the last version that works. |
You mean because your project needs to use .NET 6? If yes, then you can install another version of .NET side by side with the one you have. Ionide should pick up the latest version and your project could be told to use .NET by using a If you can't install another version of .NET for another reason then, you probably need to wait for a bug fix to contributed. |
Installing .NET 8 does fix the issue, at least I think so there's other issues with the FS Explorer opening projects that are on a network share. Is there a feature request for using the .net install tool extension to avoid these issues in the future? |
There is in my head, but we're not going to use it for a least a few months. It currently installs an extension-local version of the runtime or SDK, and we want to use a global SDK install - I. E. What the user uses on the command line. I'm on the team that develops that runtime extension so I'm keenly aware of the use case. We're currently working with the Dev Kit extension to manage global SDK installs, and once that's solid I'll look at integrating it here. |
I think we might be hitting dotnet/fsharp#14313 |
Describe the bug
When I try to use the .NET 6 SDK, the Ionide extension does not activate.
Once I switch to .NET 7 or 8, it activates.
Steps to reproduce
Use https://devenv.sh/ to manage environment.
Can also manually create a Nix environment with
pkgs.dotnetCorePackages.sdk_6_0
being used.Link to sample reproduction
TODO
Expected behaviour
I expected the extension to activate when using .NET 6.
Screenshots
As you can see, things seem to look good, but unlike with .NET 7 & 8,
I do not get a
[16:00:32 DEBUG] [Main] Activating features
message logged after this.Machine info
Additional context
TODO
The text was updated successfully, but these errors were encountered: