Describe the issue
When opening .cs files from the "Platforms/iOS" or "Platforms/Android" sub-folders, editor errors are shown everywhere (see screenshots below). Notice that this doesn't prevent the project to restore or the app to build.
Collect logs
csdevkit-logs-2026-08-31T12-36-04.zip
Steps to reproduce
- Install a C# DevKit v2 extension with MAUI support: https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=15073180&view=results
- Install a .NET MAUI v2 extension (VSIX artifact): https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=15076165&view=results
- Create or open a .NET MAUI project
- Wait for C# DevKit and .NET MAUI extension to load
- Open any .cs file under "Platforms/iOS" or "Platforms/Android"
Expected behavior
No errors or warnings should be shown in the .cs file
Environment information
- VSCode: 1.136.0-insider (Universal)
- .NET SDK: 11.0.100-preview.7.26381.103
- MAUI: 11.0.0-preview.7.26403.4
Extension:
Describe the issue
When opening .cs files from the "Platforms/iOS" or "Platforms/Android" sub-folders, editor errors are shown everywhere (see screenshots below). Notice that this doesn't prevent the project to restore or the app to build.
Collect logs
csdevkit-logs-2026-08-31T12-36-04.zip
Steps to reproduce
Expected behavior
No errors or warnings should be shown in the .cs file
Environment information
Extension: