-
-
Notifications
You must be signed in to change notification settings - Fork 283
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
FSAC Runtime = netcore does not work with fsx #948
Comments
Since I can see Please check, if it's working fine with any project, clearing cache / removing obj may be required |
I am having the same problem. What is meant by "clearing cache"? I tried removing the obj directory of my projects but that had no impact. |
I tried clearing the cache (by pressing CTRL + SHIFT + P and then typing F#: Clear Cache) in VSCode . I've experienced the problem with old/new projects on different computers as well as new single file fsx files. Clearing the cache didn't affect anything. |
Ran into this with fsx files. I ended up uninstalling VS Code and deleting I was experiencing this with 2 things that happened around the time it stopped working. I was switching between .net and core in the workspace settings and I updated VS. |
Could reproduce this with the following: Clean VSCode install, Ionide installed and following user settings:
Workaround is: |
I have the same problem on Windows. I noticed that if
But when |
I just hit this (on Windows). In addition to setting the setting back to 'net' and clearing the cache, (CTRL+SHIFT+P, F# Clear Cache) I found I had to make some code edits before tool tips sprang into life. |
@isaacabraham try open vscode from a VS Command prompt. if the |
Should be fixed in |
Thank you! Ionide alone still holds me in .NET, and I think a hordes of other developers too. |
This issue is still happening in Windows with Ionide 3.38.0. I have to switch to |
I'm think that >
Also, the error message isn't very helpful, but I quickly figured it out the problem after I turned on verbose logging
Negative codes smell of integration errors (remember the old COM days). The real error is more helpful. It would save time if the FSAC had a better error like LSP output
Msbuild output
Which one of them should be in the path?PS C:\> ls -Recurse -Include @("msbuild.exe"; "msbuild.dll") -ErrorAction SilentlyContinue | select -expand fullname
C:\Program Files\dotnet\sdk\2.2.301\ref\MSBuild.dll
C:\Program Files\dotnet\sdk\2.2.301\MSBuild.dll
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\amd64\MSBuild.exe
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\amd64\MSBuild.exe
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe
C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe
C:\Users\LuizMonad\.vscode\extensions\ms-vscode.csharp-1.20.0\.omnisharp\1.32.20\.msbuild\Current\Bin\MSBuild.exe
C:\Windows\assembly\GAC_32\MSBuild\3.5.0.0__b03f5f7f11d50a3a\MSBuild.exe
C:\Windows\assembly\GAC_64\MSBuild\3.5.0.0__b03f5f7f11d50a3a\MSBuild.exe
C:\Windows\Microsoft.NET\assembly\GAC_32\MSBuild\v4.0_12.0.0.0__b03f5f7f11d50a3a\MSBuild.exe
C:\Windows\Microsoft.NET\assembly\GAC_32\MSBuild\v4.0_4.0.0.0__b03f5f7f11d50a3a\MSBuild.exe
C:\Windows\Microsoft.NET\assembly\GAC_64\MSBuild\v4.0_4.0.0.0__b03f5f7f11d50a3a\MSBuild.exe
C:\Windows\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe
C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild.exe
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\MSBuild.exe
C:\Windows\Microsoft.NET\Framework64\v3.5\MSBuild.exe
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe
C:\Windows\WinSxS\amd64_msbuild_b03f5f7f11d50a3a_10.0.17763.1_none_f5a7250c35a55a6e\MSBuild.exe
C:\Windows\WinSxS\amd64_msbuild_b03f5f7f11d50a3a_3.5.17763.1_none_e1dfb46a1ccf92e8\MSBuild.exe
C:\Windows\WinSxS\amd64_msbuild_b03f5f7f11d50a3a_4.0.15713.0_none_da500ddf9f3ce843\MSBuild.exe
C:\Windows\WinSxS\x86_msbuild_b03f5f7f11d50a3a_10.0.17763.1_none_3d545be34a218374\MSBuild.exe
C:\Windows\WinSxS\x86_msbuild_b03f5f7f11d50a3a_3.5.17763.1_none_85c118e6647221b2\MSBuild.exe
C:\Windows\WinSxS\x86_msbuild_b03f5f7f11d50a3a_4.0.15713.0_none_21fd44b6b3b91149\MSBuild.exe I guess any, or the latest. How can I change to use the new project if FSX doesn't have project system? Other info:
|
I've encountered a similar issue. While using an anonymous record in a dependency project, I was unable to put any breakpoints. Refactoring away from anon records fixed the issue. I couldn't figure out what was going on until I found the issue reported here. |
I'm having the same issue with .NET core. I'm running on Linux (Ubuntu 18.04), Ionide 4.0.6
|
@enricosada how do I change my PATH to point to msbuild? I cannot open from VS command prompt as I'm running on linux. I don't even know where msbuild is on my linux box... is that the dotnet executable? |
Hey @thomastay, |
I also struggle with |
@mastoj did you set the useSdkScripts setting to true as well? And are you on .net core 3.0.100 at minimum? |
@baronfel thanks, that solved it for me. |
Switching to netcore for FSAC Runtime (as suggested by Ionide) does not work - I get no intellisense, no tooltips etc..
F# Language Service says stuff like the following:
Anything I need to do e.g. specific version of netcore?
The text was updated successfully, but these errors were encountered: