kaban
Topic Author
Posts: 17
Joined: 22 Sep 2013, 09:35

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

08 Jan 2014, 02:17

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?
 
kaban
Topic Author
Posts: 17
Joined: 22 Sep 2013, 09:35

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

08 Jan 2014, 02:18

Just figured it out, I already had a Slider.cs class in my project :lol:
 
User avatar
sfernandez
Site Admin
Posts: 2991
Joined: 22 Dec 2011, 19:20

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

08 Jan 2014, 16:41

Anyway, we can improve our samples by specifying the Noesis namespace always, so name collisions are avoided.

Thanks for reporting.
 
User avatar
jsantos
Site Admin
Posts: 3917
Joined: 20 Jan 2012, 17:18
Contact:

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

04 Feb 2014, 00:03

Since v1.1.4 all our samples always specify the namespace to avoid collisions.

Who is online

Users browsing this forum: Google [Bot] and 9 guests