maniquea
Topic Author
Posts: 1
Joined: 24 Jun 2020, 15:24

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

24 Jun 2020, 16:01

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 ?
 
User avatar
sfernandez
Site Admin
Posts: 2983
Joined: 22 Dec 2011, 19:20

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

24 Jun 2020, 16:48

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.

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 102 guests