Closed albyrock87 closed 2 months ago
I attempted to run Maui.Controls.Sample
project in VS Code on macOS and I get:
/Users/USER/maui/src/Controls/samples/Controls.Sample/Microsoft.VisualStudio.HotReload.MobileTapInitializer/Microsoft.VisualStudio.HotReload.MobileTapInitializer.ModuleInitializerGenerator/HotReloadMobileTapInitializer.g.cs(65,15): error CS0246: The type or namespace name 'Exception' could not be found (are you missing a using directive or an assembly reference?) [/Users/USER/maui/src/Controls/samples/Controls.Sample/Maui.Controls.Sample.csproj::TargetFramework=net8.0-maccatalyst]
This should be fixed now, in C# extension 2.39 and later, now published to prerelease. If after updating the C# extension (and MAUI DevKit and C# DevKit extensions) to the latest prerelease you still see this problem, please let us know.
Describe the Issue
I'm trying to contribute to the MAUI project https://github.com/dotnet/maui this commit While targeting and android device or emulator and pressing
F5
to debug this project I get a compilation error.Notes:
Steps To Reproduce
No response
Expected Behavior
Android application should compile and start with HotReload working.
Environment Information
NET MAUI 1.1.14 (pre-release) C# 2.35.15 (pre-release) C# DevKit v1.8.10 (pre-release) => stable channel releases have the same issue
dotnet 8.0.201
VSCode 1.90 MacOS Sonoma 14.2.1 (Processor M3) | VS Bug 2113775