Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. Switched to Silverlight 4, solution can no longer find DockPanel

Switched to Silverlight 4, solution can no longer find DockPanel

Scheduled Pinned Locked Moved WPF
helpannouncementcsharpdotnetwpf
8 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    fjparisIII
    wrote on last edited by
    #1

    In switching to Silverlight 4 for my solution, I also upgraded to the April,2010 release of the toolkit and replaced the System.Windows.Controls.Toolkit.dll in my Debug folder. But I'm still getting two errors when I try to build the solution:

    C:\My Source 2010\PHDWebsite\PHDWebsite\obj\Debug\MainPage.g.i.cs(62,42): error CS0234: The type or namespace name 'DockPanel' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?)

    I have this declaration in MainPage.xaml:

    xmlns:controlsToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit"

    The second is just a warning and is related:

    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9): warning MSB3245: Could not resolve this reference. Could not locate the assembly "System.Windows.Controls.Toolkit, Version=2.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.

    I've checked the System.Windows.Controls.Toolkit.dll and it does contain DockPanel and so does the April toolkit documentation. What do I have to do to resolve this issue that currently has me dead in the water?

    K F J 3 Replies Last reply
    0
    • F fjparisIII

      In switching to Silverlight 4 for my solution, I also upgraded to the April,2010 release of the toolkit and replaced the System.Windows.Controls.Toolkit.dll in my Debug folder. But I'm still getting two errors when I try to build the solution:

      C:\My Source 2010\PHDWebsite\PHDWebsite\obj\Debug\MainPage.g.i.cs(62,42): error CS0234: The type or namespace name 'DockPanel' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?)

      I have this declaration in MainPage.xaml:

      xmlns:controlsToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit"

      The second is just a warning and is related:

      C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9): warning MSB3245: Could not resolve this reference. Could not locate the assembly "System.Windows.Controls.Toolkit, Version=2.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.

      I've checked the System.Windows.Controls.Toolkit.dll and it does contain DockPanel and so does the April toolkit documentation. What do I have to do to resolve this issue that currently has me dead in the water?

      K Offline
      K Offline
      Kunal Chowdhury IN
      wrote on last edited by
      #2

      Hi fjparisIII, I will suggest you to remove the reference of the toolkit assembly from your project. Then add the reference again after saving the project file. Build the solution and check if it solves your problem. Please update me what happened with that.

      Don't forget to Click on [Vote] and [Good Answer] on the posts that helped you.


      Regards - Kunal Chowdhury | Software Developer | Chennai | India | My Blog | My Tweets | Silverlight Tutorial

      F 1 Reply Last reply
      0
      • F fjparisIII

        In switching to Silverlight 4 for my solution, I also upgraded to the April,2010 release of the toolkit and replaced the System.Windows.Controls.Toolkit.dll in my Debug folder. But I'm still getting two errors when I try to build the solution:

        C:\My Source 2010\PHDWebsite\PHDWebsite\obj\Debug\MainPage.g.i.cs(62,42): error CS0234: The type or namespace name 'DockPanel' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?)

        I have this declaration in MainPage.xaml:

        xmlns:controlsToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit"

        The second is just a warning and is related:

        C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9): warning MSB3245: Could not resolve this reference. Could not locate the assembly "System.Windows.Controls.Toolkit, Version=2.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.

        I've checked the System.Windows.Controls.Toolkit.dll and it does contain DockPanel and so does the April toolkit documentation. What do I have to do to resolve this issue that currently has me dead in the water?

        F Offline
        F Offline
        fjparisIII
        wrote on last edited by
        #3

        While waiting for a reply from somebody I continued to try to find the solution. The solution was that my project reference was still pointing to my 3.0 toolkit. Deleted it and added the reference to the 4.0 toolkit.

        1 Reply Last reply
        0
        • K Kunal Chowdhury IN

          Hi fjparisIII, I will suggest you to remove the reference of the toolkit assembly from your project. Then add the reference again after saving the project file. Build the solution and check if it solves your problem. Please update me what happened with that.

          Don't forget to Click on [Vote] and [Good Answer] on the posts that helped you.


          Regards - Kunal Chowdhury | Software Developer | Chennai | India | My Blog | My Tweets | Silverlight Tutorial

          F Offline
          F Offline
          fjparisIII
          wrote on last edited by
          #4

          I just got through replying to myself saying I found the exact same solution you suggested! Sorry for not giving you credit but I think our posts crossed!

          K realJSOPR 2 Replies Last reply
          0
          • F fjparisIII

            I just got through replying to myself saying I found the exact same solution you suggested! Sorry for not giving you credit but I think our posts crossed!

            K Offline
            K Offline
            Kunal Chowdhury IN
            wrote on last edited by
            #5

            Hi fjparisIII, It's good that your problem solved.

            Don't forget to Click on [Vote] and [Good Answer] on the posts that helped you.


            Regards - Kunal Chowdhury | Software Developer | Chennai | India | My Blog | My Tweets | Silverlight Tutorial

            1 Reply Last reply
            0
            • F fjparisIII

              I just got through replying to myself saying I found the exact same solution you suggested! Sorry for not giving you credit but I think our posts crossed!

              realJSOPR Offline
              realJSOPR Offline
              realJSOP
              wrote on last edited by
              #6

              Mark your original message as solved then. Edit your message, and at the end of the subject field, change "[modified]" to "[SOLVED]", and includ the solution at the end of your message, something like this: SOLUTION ----------------- I di this or that to solve the problem.

              .45 ACP - because shooting twice is just silly
              -----
              "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
              -----
              "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

              F 1 Reply Last reply
              0
              • realJSOPR realJSOP

                Mark your original message as solved then. Edit your message, and at the end of the subject field, change "[modified]" to "[SOLVED]", and includ the solution at the end of your message, something like this: SOLUTION ----------------- I di this or that to solve the problem.

                .45 ACP - because shooting twice is just silly
                -----
                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                -----
                "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                F Offline
                F Offline
                fjparisIII
                wrote on last edited by
                #7

                Well, over the last year I've got 50 other questions I marked SOLVED on a reply to the post that solved it. Do you want me to go back and change all those? How about if I just do what you're requesting from now on?

                1 Reply Last reply
                0
                • F fjparisIII

                  In switching to Silverlight 4 for my solution, I also upgraded to the April,2010 release of the toolkit and replaced the System.Windows.Controls.Toolkit.dll in my Debug folder. But I'm still getting two errors when I try to build the solution:

                  C:\My Source 2010\PHDWebsite\PHDWebsite\obj\Debug\MainPage.g.i.cs(62,42): error CS0234: The type or namespace name 'DockPanel' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?)

                  I have this declaration in MainPage.xaml:

                  xmlns:controlsToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit"

                  The second is just a warning and is related:

                  C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9): warning MSB3245: Could not resolve this reference. Could not locate the assembly "System.Windows.Controls.Toolkit, Version=2.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.

                  I've checked the System.Windows.Controls.Toolkit.dll and it does contain DockPanel and so does the April toolkit documentation. What do I have to do to resolve this issue that currently has me dead in the water?

                  J Offline
                  J Offline
                  Joshi Rushikesh
                  wrote on last edited by
                  #8

                  Sometimes it might possible that toolkit is not installed on your system. You can install it from http://silverlight.codeplex.com/releases/view/43528[^] Regards Rushi

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups