wpf demo: error on building/running solution

2 posts, 0 answers
  1. codicezerouno
    codicezerouno avatar
    22 posts
    Member since:
    Feb 2009

    Posted 14 Mar 2009 Link to this post

    I download and installed the latest 2009 Q1 release and the included demo examples contains a lot of errors:

    XmlRepository.cs(119,11): error CS1502: The best overloaded method match for 'System.Collections.ObjectModel.ObservableCollection<Telerik.Windows.Examples.Employee>.ObservableCollection(System.Collections.Generic.List<Telerik.Windows.Examples.Employee>)' has some invalid arguments
    XmlRepository.cs(121,5): error CS1503: Argument '1': cannot convert from 'System.Collections.Generic.IEnumerable<Telerik.Windows.Examples.Employee>' to 'System.Collections.Generic.List<Telerik.Windows.Examples.Employee>'
    XmlRepository.cs(220,14): error CS1502: The best overloaded method match for 'System.Collections.ObjectModel.ObservableCollection<Telerik.Windows.Examples.Order>.ObservableCollection(System.Collections.Generic.List<Telerik.Windows.Examples.Order>)' has some invalid arguments
    XmlRepository.cs(220,46): error CS1503: Argument '1': cannot convert from 'System.Collections.Generic.IEnumerable<Telerik.Windows.Examples.Order>' to 'System.Collections.Generic.List<Telerik.Windows.Examples.Order>'
    Gauge\Gallery\CarDashboard\Example.xaml.cs(96,4): error CS1501: No overload for method 'Begin' takes '0' arguments
    Gauge\Gallery\CarDashboard\Example.xaml.cs(104,4): error CS1501: No overload for method 'Stop' takes '0' arguments
    Gauge\Gallery\CarDashboard\Example.xaml.cs(116,6): error CS1501: No overload for method 'Begin' takes '0' arguments
    Gauge\Gallery\CarDashboard\Example.xaml.cs(133,6): error CS1501: No overload for method 'Begin' takes '0' arguments
    Gauge\Gallery\WeatherStation\Example.xaml.cs(125,4): error CS1501: No overload for method 'Begin' takes '0' arguments
    GridView\RowPreview\Example.xaml.cs(89,15): error CS0117: 'System.Windows.Media.Animation.Storyboard' does not contain a definition for 'SetTarget'
    GridView\RowPreview\Example.xaml.cs(94,4): error CS1501: No overload for method 'Begin' takes '0' arguments
    GridView\DataSources\Example.xaml.cs(180,11): error CS1502: The best overloaded method match for 'System.Collections.ObjectModel.ObservableCollection<Telerik.Windows.Examples.Customer>.ObservableCollection(System.Collections.Generic.List<Telerik.Windows.Examples.Customer>)' has some invalid arguments
    GridView\DataSources\Example.xaml.cs(180,46): error CS1503: Argument '1': cannot convert from 'System.Collections.Generic.IEnumerable<Telerik.Windows.Examples.Customer>' to 'System.Collections.Generic.List<Telerik.Windows.Examples.Customer>'

    my laptop is setup with:
    VS2008, .Net 3.5 SP1, XP2Pro

    Any solution? Tnx.


  2. Hristo Deshev
    Admin
    Hristo Deshev avatar
    559 posts

    Posted 16 Mar 2009 Link to this post

    Hello Stefano Cadò,

    I think I have seen similar errors on machines that do not have .NET 3.5 SP1 installed (running with plain .NET 3.5 only). Can you confirm that you do have the service pack installed? Check your Visual Studio About box for the versions of Visual Studio and .NET on your machine.



    Sincerely yours,
    Hristo Deshev
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top