Error acquiring .NET when offline but works when online in VS Code
I got error acquiring .NET when I am offline but it works when online without any changes to settings.json. I have attached screenshots of it when offline and online.
I have got this error few months ago then it disappeared on its own and now I am facing it again. Any clue what's going on?


3 Replies
That's the behavior of C# Dev Kit which you might want to repor to Microsoft via https://github.com/microsoft/vscode-dotnettools
Could be it's this issue: https://github.com/microsoft/vscode-dotnettools/issues/1764
My problem resolved again. All I did was uninstall then install .net sdk again. 😂
Now I have no idea how to reproduce it.