microsoft / microsoft/vscode-dotnettools
Intellisense stops working after installing the 'maui-android' workload.
@phenning is already working on this.
Since May 8, 2025.
- Dominant language
- No language data
- Stars
- 321
- Forks
- 54
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 2
Description
Describe the Issue
I'm building an android app in Linux (RHEL 9). I've successfully installed DotNET through the default Red Hat package manager and I'm currently on version 7.0.112.
The problem is, as soon as I install the maui-android workload intellisense stops working and will only provide completions for symbols in the current file while also providing completions for completely irrelevant types in the same file also.
I can successfully build and run my app in my emulator and it will pick up errors in the terminal/output panel if I was to make one before a build.
Here's the extensions I have installed:
- .NET MAUI .ver - 0.4.9
- C# .ver 2.8.23
- C# Dev Kit .ver 0.5.150
- Intellicode for C# .ver 0.1.26
I've also tried manually installing every version of DotNET from the past few months to my machine all the way up to SDK version 7.0.403 and I'm getting the same thing - Everything works, except code completion and Intellisense as soon as I install the maui-android workload.
I'm not seeing anything out of the ordinary in the output for the C# Dev Kit.
I've also tried this with a fresh project and I'm getting the same thing.
UPDATE
Thought it might be some anomaly with my machine so I've tried installing the same tools on a fresh install and I'm getting the same thing. Also tried on a fresh Debian install to the same effect. Seems to be working on Windows 11 as far as I can tell though so looks like a Linux problem.
I'm not seeing anything out of the ordinary in the output for the C# Dev Kit or C# extensions.
Steps To Reproduce
- Create new project with
dotnet new maui. - Try typing some random simple code to see that the Intellisense is working.
- Install the
maui-androidworkload and try the same thing again to see it stops working.
Expected Behavior
For Intellisense to work no matter what workloads are installed.
Environment Information
- OS - RHEL 9
Here's the extensions I have installed: - .NET MAUI .ver - 0.4.9
- C# .ver 2.8.23
- C# Dev Kit .ver 0.5.150
- Intellicode for C# .ver 0.1.26
VS Code Version 1.83.1
VS bug #1909109
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.