Where can I find the System.Windows.Controls.Layout.Toolkit assembly?

Locked Where can I find the System.Windows.Controls.Layout.Toolkit assembly?

  • Thursday, December 06, 2012 12:34 AM
     
     

    I upgraded one of my apps to VS 2012 apps to Preview 2 and the reference to:

        System.Windows.Controls.Layout.Toolkit

    is missing.

    Please advise.


    Garth Henderson - Vanguard Business Technology

All Replies

  • Thursday, December 06, 2012 2:18 AM
     
     

    Hi Garth,

    That should have been part of the Silverlight installation. Can you verify that Silverlight 5 is installed on the machine?

    -Pierson

  • Thursday, December 06, 2012 3:02 AM
     
     

    Yes, the SL 5 SDK 5.0.61118.0 is installed on the machine.

    SL 5 runtime version is 5.1.1.0411.0

    Here's a screenshot of Preview 2 when I bring up the Add Reference.  The Layout is missing:

    Here's the VS 2012 screenshot for the same solution showing the Layout assembly (from another machine, of course):

    I am porting the project concurrently onto 2 separate machines with VS 2012 Preview 2:  one with Windows Server 2008 R2 and the other with Windows 8.

    I have 2 other devel boxes that I use for VS 2012 devel.   I am trying my best to keep a controlled environment.

    Please let me know if I can provide any additional information to help resolve this.


    Garth Henderson - Vanguard Business Technology

  • Thursday, December 06, 2012 3:16 AM
     
     

    Here's the message that I get during the build:

    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "System.Windows.Controls.Layout.Toolkit, Version=5.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.


    Garth Henderson - Vanguard Business Technology

  • Thursday, December 06, 2012 3:30 AM
     
     
    I have seen that issue before... when upgrading SL 4 projects to SL 5 ... I am sorry but can't recall the exact solution.. think I found solution on net ... may involve editing project, just can't be certain.

    Johnny Larue, http://www.softlandingcanada.com

  • Thursday, December 06, 2012 3:43 AM
     
     

    Thanks, John.

    Do you see the Layout in your P2 SL 5 reference list?

    Because I'm going side-by-side with Win 8 and Win Server 2008 R2 machines, I have replicated this behavior exactly on both boxes.

    Just to be clear, I'm not migrating from LS 4 to LS 5.  The project that I'm adding the HTML5 client to is a production VS 2012 project (already using SL 5). 

    This isn't a show stopper for me at this time, I simply removed the 2 Screens that used the missing toolkit. 


    Garth Henderson - Vanguard Business Technology

  • Thursday, December 06, 2012 10:11 AM
    Moderator
     
     Answered
    The Silverlight Toolkit is not installed with any Visual Studio edition that I know of. You'll need to manually install it (the Silverlight 5 version) from the above link.

    Justin Anderson, LightSwitch Development Team

  • Thursday, December 06, 2012 6:38 PM
     
     
    Thanks, Justin.  I should have remembered that.   Sorry for bugging everyone.

    Garth Henderson - Vanguard Business Technology

  • Sunday, December 09, 2012 1:10 PM
     
     
    But you see, this is such a common problem, as variations of it permeate these forums. Is there a list of assemblies (with versions) along with the way(s) they are distributed? Please, there really should be.