Examples_SL solution won't compile

21 posts, 0 answers
  1. Terry
    Terry avatar
    157 posts
    Member since:
    Jul 2009

    Posted 17 Aug 2009 Link to this post

    Hi:

    I've just downloaded  your 8/12 release and am trying to run your examples_SL solution.  I'm getting lots of errors like the following.  Is the example code still Silverlight 2 Or am I missing something basic?

    Thanks,

    Terry

    Error 5 The type or namespace name 'LoadingDataEventArgs' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?) C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\GridView\Silverlight\DomainDataSource\Example.xaml.cs 17 91 GridView.CS
    Error 6 The type or namespace name 'LoadedDataEventArgs' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?) C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\GridView\Silverlight\DomainDataSource\Example.xaml.cs 22 90 GridView.CS
    Error 7 The type or namespace name 'DomainDataSource' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?) C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\GridView\obj\Debug\Silverlight\Printing\Example.g.cs 40 42 GridView.CS
    Error 8 The type or namespace name 'DomainDataSource' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?) C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\GridView\obj\Debug\Silverlight\DomainDataSource\Example.g.cs 40 42 GridView.CS
    Error 9 The type or namespace name 'LoadingDataEventArgs' could not be found (are you missing a using directive or an assembly reference?) C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\GridView\Silverlight\Printing\Example.xaml.cs 46 67 GridView.CS
    Error 10 The type or namespace name 'LoadedDataEventArgs' could not be found (are you missing a using directive or an assembly reference?) C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\GridView\Silverlight\Printing\Example.xaml.cs 52 66 GridView.CS
    Error 1313 Name 'InitializeComponent' is not declared. C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\GridView\Silverlight\Columns\Example.xaml.vb 10 4 GridView.VB
    Error 1314 'Loaded' is not an event of 'Telerik.Windows.Examples.GridView.Columns.Example'. C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\GridView\Silverlight\Columns\Example.xaml.vb 13 18 GridView.VB
    Error 1315 'radGridViewColumns' is not a member of 'Telerik.Windows.Examples.GridView.Columns.Example'. C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\GridView\Silverlight\Columns\Example.xaml.vb 17 4 GridView.VB
    Error 1316 'radGridViewColumns' is not a member of 'Telerik.Windows.Examples.GridView.Columns.Example'. C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\GridView\Silverlight\Columns\Example.xaml.vb 18 4 GridView.VB
    Error 1317 'BottomRightPanel' is not a member of 'Telerik.Windows.Examples.GridView.Columns.Example'. C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\GridView\Silverlight\Columns\Example.xaml.vb 19 4 GridView.VB
    Error 1318 'radGridViewColumns' is not a member of 'Telerik.Windows.Examples.GridView.Columns.Example'. C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\GridView\Silverlight\Columns\Example.xaml.vb 23 7 GridView.VB
  2. Ben Hayat
    Ben Hayat avatar
    892 posts
    Member since:
    May 2008

    Posted 17 Aug 2009 Link to this post

    Are you running SL2 or SL3?
  3. DevCraft banner
  4. Terry
    Terry avatar
    157 posts
    Member since:
    Jul 2009

    Posted 17 Aug 2009 Link to this post

    SL 3
  5. Ben Hayat
    Ben Hayat avatar
    892 posts
    Member since:
    May 2008

    Posted 18 Aug 2009 Link to this post

    Somehow it lloks like it's not finding the DLLs for SL3 version. Are sure you installed the SL3 version of Telerik controls?
  6. Terry
    Terry avatar
    157 posts
    Member since:
    Jul 2009

    Posted 18 Aug 2009 Link to this post

    It looks like the references are pointing the right place, e.g. C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Binaries\Silverlight\Telerik.Windows.Controls.Gauge.dll runtime version v2.0.50727 Version 2009.2.812.1030.  And that's the only subdirectory in C:\Program Files\Telerik, so there is no other version on the system.

    I am able to launch the examples, but I get a WebDev.WebServer.exe error at the start ("has encountered a problem and needs to close").  The examples seem to run fine after that.
  7. Terry
    Terry avatar
    157 posts
    Member since:
    Jul 2009

    Posted 18 Aug 2009 Link to this post

    I removed the VB project and I'm down to 6 compile errors rather than thousands.  I don't carea abotu VB.  maybe I don't have some VB component installed.  The 6 errors all relate to GridView.CS, either missing LoadingDataEventArgs, LoadingDataEventArgs or DomainDataSource.  I've listed them at the bottom.

    When I go ahead and run the script debugger gives "Unhandled Error in Sliverlight Application Code 2103 Category InitializeError, Message Invalid or malformed application: Check Manifest"  TestPage.html line 54 character 13.  I imagine this is the result of the above missing object definitions.

    What am I missing?


    Error 6 The type or namespace name 'LoadingDataEventArgs' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?) C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\GridView\Silverlight\DomainDataSource\Example.xaml.cs 17 91 GridView.CS
    Error 7 The type or namespace name 'LoadedDataEventArgs' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?) C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\GridView\Silverlight\DomainDataSource\Example.xaml.cs 22 90 GridView.CS
    Error 8 The type or namespace name 'DomainDataSource' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?) C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\GridView\obj\Debug\Silverlight\Printing\Example.g.cs 40 42 GridView.CS
    Error 9 The type or namespace name 'DomainDataSource' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?) C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\GridView\obj\Debug\Silverlight\DomainDataSource\Example.g.cs 40 42 GridView.CS
    Error 10 The type or namespace name 'LoadingDataEventArgs' could not be found (are you missing a using directive or an assembly reference?) C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\GridView\Silverlight\Printing\Example.xaml.cs 46 67 GridView.CS
    Error 11 The type or namespace name 'LoadedDataEventArgs' could not be found (are you missing a using directive or an assembly reference?) C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\GridView\Silverlight\Printing\Example.xaml.cs 52 66 GridView.CS


  8. Missing user
    Missing user avatar

    Posted 20 Aug 2009 Link to this post

    Hi Terry,

    First of all sorry for the late reply.
    I've tried to reproduce your problem but unfortunately to no avail. I've tried to compile the SL Examples.sln in Debug and Release mode on machines with XP and Vista OS, with VS 2008 SP1.
    That's why I would like to ask you for some more info about you scenario:
    1. What is your OS?
    2. Which is your VisualStudio version (I've heard about a compiling problem with our SL examples solution and VS2010 Beta1)

    Could you try to compile the examples that are contained in the manual installation zip file? When I tried to compile the same examples I did not encounter any issues.

    Regards,

    Anastasia
    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.
  9. Missing user
    Missing user avatar

    Posted 20 Aug 2009 Link to this post

    Hello Terry,

    I forgot to mention that the manual installation zip file can be found in our download section -> Rad Controls for Silverlight -> "Source Code, Automatic Installation, Manual Installation, Examples...". Once you click on the "Source Code, Automatic Installation, Manual Installation, Examples..." link you will be taken to a new page where you will find "Manual installation (zip, 95 MB)". The zip contains all files that come with the regular msi installation (including the C# and VB examples).

    Greetings,
    Anastasia
    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.
  10. Terry
    Terry avatar
    157 posts
    Member since:
    Jul 2009

    Posted 21 Aug 2009 Link to this post

    Hi:

     

    I’m running XP Pro SP 3 and VS2008 Team System Database edition 9.0.30729.1 and .NET Framework 3.5 SP 1.

     

    When I run the manual examples, VS2008 does not ask to convert to a newer version, so clearly the example code that comes with the regular download is older.  When I rebuild the manual downloaded sources, I only get one error:

     

    Error      16           The type or namespace name 'ResourceDictionary' does not exist in the namespace 'Telerik.Windows.Controls' (are you missing an assembly reference?)    C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\Gauge\obj\Debug\Silverlight\Gallery\TimeMonitoring\Example.g.cs              43           43           Gauge.CS

     

    However, I get 2660 warnings, a few samples below:

     

    Warning               1              The field 'Telerik.Windows.Examples.TabControl.TabStripOrientation.Example.drillLevel' is assigned but its value is never used           C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\TabControl\TabStripOrientation\Example.xaml.cs           15           15           TabControl.CS

    Warning               2              'Telerik.Windows.Controls.RadNumericUpDown.ChangeAcceleration' is obsolete: 'This feature is not supported anymore. Use DispatcherTimer to achieve custom acceleration'  C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\NumericUpDown\Silverlight\Navigation\Example.xaml.cs                22           45                NumericUpDown.CS

    Warning               3              'Telerik.Windows.Controls.RadNumericUpDown.ChangeAcceleration' is obsolete: 'This feature is not supported anymore. Use DispatcherTimer to achieve custom acceleration'  C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\NumericUpDown\Silverlight\Navigation\Example.xaml.cs                38           4                NumericUpDown.CS

    Warning               4              'Telerik.Windows.Controls.RadWindow.Hide()' is obsolete: 'This method will be removed. Use Close instead'    C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\HtmlPlaceholder\Silverlight\WindowIntegration\Example.xaml.cs           34           4              HtmlPlaceholder.CS

    Warning               5              'Telerik.Windows.Data.GroupRecord' is obsolete: 'This class is obsolete and is not used anymore.'                C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\GridView\CustomAggregates\StandardDeviationFunction.cs     8              41           GridView.CS

    Warning               6              Member 'Telerik.Windows.Examples.GridView.CustomAggregates.StandardDeviationFunction.Calculate(Telerik.Windows.Data.GroupRecord)' overrides obsolete member 'Telerik.Windows.Data.AggregateFunction.Calculate(Telerik.Windows.Data.GroupRecord)'. Add the Obsolete attribute to 'Telerik.Windows.Examples.GridView.CustomAggregates.StandardDeviationFunction.Calculate(Telerik.Windows.Data.GroupRecord)'.                C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\GridView\CustomAggregates\StandardDeviationFunction.cs     8              41           GridView.CS

    Warning               7              The field 'Telerik.Windows.Examples.GridView.Hierarchy.Customer.orders' is never used                C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\GridView\Silverlight\Hierarchy\Customer.cs                15           39           GridView.CS

    Warning               8              'Telerik.Windows.Data.ExpandableDataRecord' is obsolete: 'This class is obsolete and is not used anymore.'           C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\GridView\Silverlight\Hierarchy\CustomRelationalHierarchy\Example.xaml.cs     43           4              GridView.CS

    Warning               9              'Telerik.Windows.Data.ExpandableDataRecord' is obsolete: 'This class is obsolete and is not used anymore.'           C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\GridView\Silverlight\Hierarchy\CustomRelationalHierarchy\Example.xaml.cs     43           103         GridView.CS

    Warning               10           'Telerik.Windows.Controls.GridView.GridViewDataControl.FilterDescription' is obsolete: 'This property is not used any more. Use FilterDescriptors instead.'    C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\GridView\Silverlight\DataSources\Example.xaml.cs        88           4              GridView.CS

    Warning               11           'Telerik.Windows.Controls.GridView.GridViewDataControl.SortDescriptions' is obsolete: 'This property is not used any more. Use SortDescriptors instead.'      C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\GridView\Silverlight\DataSources\Example.xaml.cs        90           4              GridView.CS

    Warning               12           The field 'Telerik.Windows.Examples.Chart.Integration.ChartAndGrid.Example.MaxRows' is assigned but its value is never used         C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\Chart\Silverlight\Integration\ChartAndGrid\Example.xaml.cs    20           37           Chart.CS

    Warning               13           'Telerik.Windows.Controls.Charting.Axis.DefaultFormat' is obsolete: 'This property is obsolete. Use DefaultLabelFormat instead.'     C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\Chart\Silverlight\Backgrounds\Example.xaml.cs               37           4              Chart.CS

    Warning               14           'Telerik.Windows.Controls.RadWindow.CloseMode' is obsolete: 'This property will be removed soon. Use CanClose property instead.'   C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\Window\Events\Example.xaml.cs           97           5              Window.CS

    Warning               15           'Telerik.Windows.Examples.CoverFlow.FirstLook.Example.TopRightPanel' hides inherited member 'Telerik.Windows.QuickStart.Example.TopRightPanel'. Use the new keyword if hiding was intended.      C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\CoverFlow\obj\Debug\Silverlight\FirstLook\Example.g.cs     42                53           CoverFlow.CS

    Error      16           The type or namespace name 'ResourceDictionary' does not exist in the namespace 'Telerik.Windows.Controls' (are you missing an assembly reference?)    C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\Gauge\obj\Debug\Silverlight\Gallery\TimeMonitoring\Example.g.cs              43           43           Gauge.CS

    Warning               17           The root element must contain a default prefix equal to either 'http://schemas.microsoft.com/client/2007' or 'http://schemas.microsoft.com/winfx/2006/xaml/presentation'                C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\TreeView\Common\RadTreeView\Artists.xml  2              2              TreeView.CS

    Warning               18           The tag 'Artists' does not exist in XML namespace ''.        C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\TreeView\Common\RadTreeView\Artists.xml       2              2              TreeView.CS

    Warning               19           The tag 'Artist' does not exist in XML namespace ''.          C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\TreeView\Common\RadTreeView\Artists.xml       3              6              TreeView.CS

    Warning               20           The tag 'ArtistID' does not exist in XML namespace ''.      C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\TreeView\Common\RadTreeView\Artists.xml       4              6              TreeView.CS

    Warning               21           The tag 'ArtistName' does not exist in XML namespace ''.              C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\TreeView\Common\RadTreeView\Artists.xml           5              6                TreeView.CS

    Warning               22           The tag 'ImageName' does not exist in XML namespace ''.            C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\TreeView\Common\RadTreeView\Artists.xml           6              6                TreeView.CS

    Warning               23           The tag 'Albums' does not exist in XML namespace ''.      C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\TreeView\Common\RadTreeView\Artists.xml       7              6              TreeView.CS

    Warning               24           The tag 'Album' does not exist in XML namespace ''.        C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\TreeView\Common\RadTreeView\Artists.xml       8              10           TreeView.CS

    Warning               25           The tag 'AlbumID' does not exist in XML namespace ''.   C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\TreeView\Common\RadTreeView\Artists.xml       9              14           TreeView.CS

    Warning               26           The tag 'ArtistID' does not exist in XML namespace ''.      C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\TreeView\Common\RadTreeView\Artists.xml       10           14           TreeView.CS

    Warning               27           The tag 'AlbumName' does not exist in XML namespace ''.           C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\TreeView\Common\RadTreeView\Artists.xml           11           14                TreeView.CS

    Warning               28           The tag 'ImageName' does not exist in XML namespace ''.            C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\TreeView\Common\RadTreeView\Artists.xml           12           14                TreeView.CS

    Warning               29           The tag 'Songs' does not exist in XML namespace ''.         C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\TreeView\Common\RadTreeView\Artists.xml       13           14           TreeView.CS

    Warning               30           The tag 'Song' does not exist in XML namespace ''.           C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\TreeView\Common\RadTreeView\Artists.xml       14           18           TreeView.CS

    Warning               31           The tag 'SongID' does not exist in XML namespace ''.       C:\Program Files\Telerik\RadControls for Silverlight Q2 2009\Examples\TreeView\Common\RadTreeView\Artists.xml       15           22           TreeView.CS

     

  11. Terry
    Terry avatar
    157 posts
    Member since:
    Jul 2009

    Posted 21 Aug 2009 Link to this post

    Odd.  I did another rebuild all and the one error went away.  But the 2660 warnings remained.

    I want to emphasize: with the examle site from the regular download, I am asked by VS2008 whether I want to convert the projects.  With the examples from the manual download I am not asked to convert.  Clearly the two sets of sources are not the same, so please test with the examples from the regular install.

    Thanks,

    Terry
  12. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 25 Aug 2009 Link to this post

    Hi Terry,

    You shouldn't worry about the warnings. Most of them are generated by some reason from a resource file - Artist.xml others are for obsolete properties. So we are aware of these warnings but they are nothing that you should be afraid of.
    I am glad that finally you have managed to compile without errors. About the installation I checked it many times but everything seems to work ok and I don't get any errors. In my opinion the problem is because of something left over from a previous SL2 installation or old binaries. Or maybe something has left-over from binaries added from a Weekly build or something. I would advise you to uninstall and install again, but after the uninstall make sure there are no leftovers (delete Telerik folder manually). If it fails again clean the solution and Rebuild. Also please take a look at the versions/dates of the binaries for differences.

    Kind regards,
    Boyan
    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.
  13. Ruban
    Ruban avatar
    21 posts
    Member since:
    Oct 2007

    Posted 03 Sep 2009 Link to this post

    I'm getting the same error, any ideas?
    I'm using VS 2008 and had issues with the previous example code because I had silverlight 3 installaed and now I'm getting this with new version of the examples.
    Also, the references to System.Windows.RIA are missing from my machine, what is this exactly?
    Doesn't seem to come with Silverlight 3.
  14. Terry
    Terry avatar
    157 posts
    Member since:
    Jul 2009

    Posted 03 Sep 2009 Link to this post

    Yes, I got a resolution, but it came in a separate email and i guess it didn't get posted:

    I forgot to mention that the manual installation zip file can be found in our download section -> Rad Controls for Silverlight -> "Source Code, Automatic Installation, Manual Installation, Examples...". Once you click on the "Source Code, Automatic Installation, Manual Installation, Examples..." link you will be taken to a new page where you will find "Manual installation (zip, 95 MB)". The zip contains all files that come with the regular msi installation (including the C# and VB examples).

    Just unzip this source over the other and it will compile, albeit with lots of warnings.

    VS2008 does not ask to convert these sources, so clearly they are different than those distributed with the controls.
  15. Ruban
    Ruban avatar
    21 posts
    Member since:
    Oct 2007

    Posted 04 Sep 2009 Link to this post

    Thanks will have a look.
  16. Ruban
    Ruban avatar
    21 posts
    Member since:
    Oct 2007

    Posted 04 Sep 2009 Link to this post

    Still getting the same errors, even with the original msi installation it didn't ask me to convert the project.
  17. Terry
    Terry avatar
    157 posts
    Member since:
    Jul 2009

    Posted 04 Sep 2009 Link to this post

    Can you post some of the specific error messages?

    One other thing I can suggest:  at some point way back I googled one of the error messages and found it was associated with .NET RIA services.  I did the following download and a few error messages went away:

    http://www.microsoft.com/downloads/details.aspx?FamilyID=76bb3a07-3846-4564-b0c3-27972bcaabce&displaylang=en

    Sorry I didn't remember this sooner.  HTH.
  18. Ruban
    Ruban avatar
    21 posts
    Member since:
    Oct 2007

    Posted 04 Sep 2009 Link to this post

    Thanks Terry, that's what I needed. Now it builds.
    I assume it was missing the RIA references.
  19. Sajan Inc
    Sajan Inc avatar
    1 posts
    Member since:
    Aug 2008

    Posted 03 Oct 2009 Link to this post

    I get the same 6 errors.  I upgraded to the beta of q3 and still same issues. datagridvieweventargs issue is 1/2 of them.
  20. Milan
    Admin
    Milan avatar
    1989 posts

    Posted 07 Oct 2009 Link to this post

    Hi Sajan Inc,

    Have you tried to install Ria Services? Terry Lindeman has posted the link to a download page where you can download ans install RIA Services.

    All the best,
    Milan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  21. Mike Lyncheski
    Mike Lyncheski avatar
    10 posts
    Member since:
    Jul 2009

    Posted 08 Oct 2009 Link to this post

    I didn't feel like installing RIA Services, so I just Unloaded the GridView.CS project and was able to get the solution to build.
  22. didit st
    didit st avatar
    1 posts
    Member since:
    Nov 2009

    Posted 19 Nov 2009 Link to this post

    Hi,

    I have same problem, but after installing Ria Services, everything done, no error or warning found.

    maybe you should try to install Ria Services.


    Regards,
    Didit
Back to Top
DevCraft banner