in

Carousel3D Namespace problem

Last post 06-06-2008 3:27 PM by tkd. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 08-02-2007 7:09 AM

    Carousel3D Namespace problem

    Hi,

     

    I am new to WPF.  Downloaded the June CTP and am using .net 3.0 w/ VS plugins.  I downloaded the Carousel sample and tried to compile and got the following error in the sample:   

    Error 2 The tag 'Carousel3D' does not exist in XML namespace 'http://schemas.identitymine.com/blendables'. Line 25 Position 8. C:\development\wpf\carousel\Carousel3D\Carousel3D - 3 Samples in 1\Samples\DataBoundCarousel.xaml 25 8 Carousel3DSamples

    Am I running the wrong version on .NET 3 should I be using 3.5?

     

    Thanks,

    Steve

  • 08-02-2007 8:10 AM In reply to

    Re: Carousel3D Namespace problem

    Correction: I downloaded the July CTP.-Sorry

     

    -Steve

  • 08-02-2007 9:31 AM In reply to

    Re: Carousel3D Namespace problem

    Steve,

         I think I have repro'd your error by removing the Reference Assemblies.

         The samples available on our website do not have the Essentials Reference Assemblies added to the project.  This is to require users to download the CTP and install it on their system.  It sounds like you've done all that.  The key is though when you open the Sample in VS or Blend you must add the Essentials .dll's to the project before building it.

    To add reference assemblies in Visual Studio:

         1.  Load the Sample project by opening Carousel3DSamples.csproj

         2.  In the Solution Explorer in VS right click References and select Add Reference

         3.  In the box that pops up select the .NET tab then select IdentityMine.Windows and IdentityMine.Windows.Essentials and select OK.  This will add the correct .dll's to the project.

         4.  Build and Go 

     To add reference assemblies in Blend:

         1.  Load the Sample project by opening Carousel3DSamples.csproj

         2.  On the Project tab under Files right click on References and select Add Reference

         3.  In the box that pops up browse to C:\Program Files\Reference Assemblies\IdentityMine Blendables\Essentials Mix\v1.0\ and select IdentityMine.Windows and IdentityMine.Windows.Essentials and select Open.  This will add the correct .dll's to the project.

         4.  Build and Go 

    This should build the samples correctly.  Let me know if this ends up not being the problem and we'll look further into it.

    Thanks!

    Kurt

    Filed under: ,
  • 08-02-2007 12:06 PM In reply to

    Re: Carousel3D Namespace problem

     Worked!

     

    Thanks,

     

    Steve 

  • 06-05-2008 10:56 PM In reply to

    • tkd
    • Top 25 Contributor
    • Joined on 06-05-2008
    • Posts 10

    Re: Carousel3D Namespace problem

    I'm going to hijack this thread :-). I had the same problem with the samples and the solution fixed it. I've downloaded the three installs for Essentials, Layout and 3D. 

    The problem I now have is that Carousel3D is not available as a component to drop on my form. When I go to Tools| Choose Toolbox Items, I go to the WPF tab and sort by NameSpace. I can then see all the IdentityMine stuff together. I can see Carousel in the Panels namespace. But I do not see Carousel3D at all. I see all the components in Essentials like Pie and Zoombox. Just no Carousel3D. Actually I don;t see any components for the 3D namespace either, only Windows, Essentials and Layout.

     

  • 06-06-2008 11:01 AM In reply to

    Re: Carousel3D Namespace problem

    This is (or at least was when we last looked at it) a limitation of the tools (VS and Blend).  The types that are displayed in those lists and in the toolbox must derive from UIElement in order to be drug onto the design surface.  Carousel3D inherits up through ModelVisual3D and ItemsControl3D in the 3D mix inherits UIElement3D.  We are looking at some ways around this, but for now you will initially need to add these controls directly in XAML and then you should be able to use the tool editors to set property values, etc.

    Thanks,

    Josh

  • 06-06-2008 3:27 PM In reply to

    • tkd
    • Top 25 Contributor
    • Joined on 06-05-2008
    • Posts 10

    Re: Carousel3D Namespace problem

    Yes, I copied the references from one of the existing examples and it worked ok, once i realised it needed to be in a viewport ;-)
Page 1 of 1 (7 items)
Copyright © 2007 IdentityMine, Inc.  | Careers  | Policies  | License  | News & Press