[C# SDK] Default xmlns does not work in Visual Studio
Posted: 17 May 2023, 10:03
I'm experimenting with the C# SDK, and created a new project using the template provided by the extension.
VS can't seem to find the controls from the default namespace, making editing XAML in VS a pain.
The compiler shows the error:
This also leads to intellisense not working correctly which prevents NoesisApp from being a viable alternative for me compared to e.g. MAUI or Avalonia when developing non-Unity apps.
VS can't seem to find the controls from the default namespace, making editing XAML in VS a pain.
Code: Select all
<Application x:Class="EasyLaser.XT.App.Noesis.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:EasyLaser.XT.App.Noesis"
StartupUri="MainWindow.xaml">Code: Select all
The type 'Application' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.