Feldruebe
Topic Author
Posts: 22
Joined: 24 Jun 2018, 11:52

Controls without xaml

09 Oct 2025, 00:33

Hello,

I tried to update from Noesis 3.2.9 but had some problems.
One was when I was using a control without an xaml file.
I tried to create a minimum example to understand what went wrong but then got the following error that was not displayed in my original project.
[NOESIS] Assets/NoesisMinimalExampleMainView.xaml(16,13): Xaml not found 'Assets/Controls/Content3/Content3'

Is it a valid practice to use controls without xaml in Noesis?

Thanks
 
User avatar
jsantos
Site Admin
Posts: 4822
Joined: 20 Jan 2012, 17:18
Contact:

Re: Controls without xaml

09 Oct 2025, 00:39

With the information provided, I can’t give you a complete answer about your issue. Could you please provide more details about your setup, including any relevant XAML files?

If by “Controls without XAML” you mean creating controls or classes purely in C# without using XAML, then yes, that’s supported.
 
Feldruebe
Topic Author
Posts: 22
Joined: 24 Jun 2018, 11:52

Re: Controls without xaml

09 Oct 2025, 22:35

I found my mistake.
I did not remove:
NoesisUnity.LoadComponent(this);

Who is online

Users browsing this forum: No registered users and 2 guests