Page 1 of 1

XLS0418 Assembly 'Noesis.GUI.Extensions' was not found

Posted: 24 Jun 2020, 16:01
by maniquea
I'm trying to add xaml screens dependencies but I'm having some trouble...

<UserControl x:Class="NoesisXamlNotFound.MainWindow"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:NoesisXamlNotFound"
             xmlns:noesis="clr-namespace:NoesisGUIExtensions;assembly=Noesis.GUI.Extensions"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
             
    <noesis:Xaml.Dependencies>
        <noesis:Dependency Source="TestWindow.xaml"/>

    </noesis:Xaml.Dependencies>
    
    <!-- ... -->
The errors are:
Severity	Code	Description	Project	File	Line	Suppression State
Error	XLS0418	Assembly 'Noesis.GUI.Extensions' was not found. Verify that you are not missing an assembly reference. Also, verify that your project and all referenced assemblies have been built.	NoesisXamlNotFound	MainWindow.xaml	6	

Severity	Code	Description	Project	File	Line	Suppression State
Error	XDG0008	The name "Xaml" does not exist in the namespace "clr-namespace:NoesisGUIExtensions;assembly=Noesis.GUI.Extensions".	NoesisXamlNotFound	MainWindow.xaml	9	

Severity	Code	Description	Project	File	Line	Suppression State
Error	XLS0414	The type 'Xaml' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.	NoesisXamlNotFound	MainWindow.xaml	9	

Severity	Code	Description	Project	File	Line	Suppression State
Error	XDG0008	The name "Dependency" does not exist in the namespace "clr-namespace:NoesisGUIExtensions;assembly=Noesis.GUI.Extensions".	NoesisXamlNotFound	MainWindow.xaml	10	

Severity	Code	Description	Project	File	Line	Suppression State
Error	XLS0414	The type 'noesis:Dependency' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.	NoesisXamlNotFound	MainWindow.xaml	10	

How to correct these errors ?

Re: XLS0418 Assembly 'Noesis.GUI.Extensions' was not found

Posted: 24 Jun 2020, 16:48
by sfernandez
Did you add the NuGet reference to Noesis.GUI.Extension package?

Remember we have a Visual Studio template (NoesisGUI Project Templates) with a wizard to create Unity projects compatible with NoesisGUI.