Page 1 of 1

Latest noesis won't compile out of the box for me...

Posted: 08 Jan 2014, 02:17
by kaban
I get this error in various forms:
Assets/NoesisGUI/Samples/Primitives/PrimitivesController.cs(243,35): error CS0309: The type `Slider' must be convertible to `Noesis.BaseComponent' in order to use it as parameter `T' in the generic type or method `Noesis.FrameworkElement.FindName<T>(string)'
Any ideas why?

Re: Latest noesis won't compile out of the box for me...

Posted: 08 Jan 2014, 02:18
by kaban
Just figured it out, I already had a Slider.cs class in my project :lol:

Re: Latest noesis won't compile out of the box for me...

Posted: 08 Jan 2014, 16:41
by sfernandez
Anyway, we can improve our samples by specifying the Noesis namespace always, so name collisions are avoided.

Thanks for reporting.

Re: Latest noesis won't compile out of the box for me...

Posted: 04 Feb 2014, 00:03
by jsantos
Since v1.1.4 all our samples always specify the namespace to avoid collisions.