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. The Lounge
  3. VS2012 and Existing WPF Solutions

VS2012 and Existing WPF Solutions

Scheduled Pinned Locked Moved The Lounge
helpcsharpwpfquestion
26 Posts 9 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.
  • R Offline
    R Offline
    realJSOP
    wrote on last edited by
    #1

    I tried to open a WPF app at work with VS2010, and none of the forms display (it says there was an error and I have to reopen the designer). The only thing that's different on the system is Friday's addition of VS2012. Has anyone else seen something similar? One of the errors is "Unexpected record in Baml stream. Trying to add to Setter which is not a collection or has a TypeConverter." EDIT: Confirmed problem - when I open the project up in VS2012, the form is displayed as expected. With VS2010, the designer chokes and refuses to display it.

    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
    -----
    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
    -----
    "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

    P OriginalGriffO J 5 Replies Last reply
    0
    • R realJSOP

      I tried to open a WPF app at work with VS2010, and none of the forms display (it says there was an error and I have to reopen the designer). The only thing that's different on the system is Friday's addition of VS2012. Has anyone else seen something similar? One of the errors is "Unexpected record in Baml stream. Trying to add to Setter which is not a collection or has a TypeConverter." EDIT: Confirmed problem - when I open the project up in VS2012, the form is displayed as expected. With VS2010, the designer chokes and refuses to display it.

      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
      -----
      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
      -----
      "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

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      Can't help you I'm afraid as I'm not "upgrading" to VS2012.

      *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

      "Mind bleach! Send me mind bleach!" - Nagy Vilmos

      CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

      R 1 Reply Last reply
      0
      • P Pete OHanlon

        Can't help you I'm afraid as I'm not "upgrading" to VS2012.

        *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

        "Mind bleach! Send me mind bleach!" - Nagy Vilmos

        CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

        R Offline
        R Offline
        realJSOP
        wrote on last edited by
        #3

        It looks like we're going to have to uninstall it. Something similar happened to me at home as well in one of my own WPF projects.

        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
        -----
        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
        -----
        "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

        P F 2 Replies Last reply
        0
        • R realJSOP

          I tried to open a WPF app at work with VS2010, and none of the forms display (it says there was an error and I have to reopen the designer). The only thing that's different on the system is Friday's addition of VS2012. Has anyone else seen something similar? One of the errors is "Unexpected record in Baml stream. Trying to add to Setter which is not a collection or has a TypeConverter." EDIT: Confirmed problem - when I open the project up in VS2012, the form is displayed as expected. With VS2010, the designer chokes and refuses to display it.

          ".45 ACP - because shooting twice is just silly" - JSOP, 2010
          -----
          You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
          -----
          "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

          OriginalGriffO Online
          OriginalGriffO Online
          OriginalGriff
          wrote on last edited by
          #4

          If it's any consolation, VS2010 decided it didn't like my Winforms app this morning and it took me about an hour to "persuade" it to show the main form in the designer. :mad:

          Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

          1 Reply Last reply
          0
          • R realJSOP

            It looks like we're going to have to uninstall it. Something similar happened to me at home as well in one of my own WPF projects.

            ".45 ACP - because shooting twice is just silly" - JSOP, 2010
            -----
            You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
            -----
            "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

            P Offline
            P Offline
            Pete OHanlon
            wrote on last edited by
            #5

            The only WPF fix that was in there that was of any real interest was the solution to the airspace issue, and as we've redesigned our interfaces to avoid this, it's all moot anyway.

            *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

            "Mind bleach! Send me mind bleach!" - Nagy Vilmos

            CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

            1 Reply Last reply
            0
            • R realJSOP

              I tried to open a WPF app at work with VS2010, and none of the forms display (it says there was an error and I have to reopen the designer). The only thing that's different on the system is Friday's addition of VS2012. Has anyone else seen something similar? One of the errors is "Unexpected record in Baml stream. Trying to add to Setter which is not a collection or has a TypeConverter." EDIT: Confirmed problem - when I open the project up in VS2012, the form is displayed as expected. With VS2010, the designer chokes and refuses to display it.

              ".45 ACP - because shooting twice is just silly" - JSOP, 2010
              -----
              You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
              -----
              "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

              J Offline
              J Offline
              JimmeP
              wrote on last edited by
              #6

              One thing to check is if the references of any of the assemblies now point to the framework version 4.5 instead of 4? We had that problem when moving from 3.5 to 4.0...

              R 1 Reply Last reply
              0
              • R realJSOP

                It looks like we're going to have to uninstall it. Something similar happened to me at home as well in one of my own WPF projects.

                ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                -----
                You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                -----
                "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

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

                I've been planning on pulling 2012 down this coming weekend. I suppose your issues mean I should be safer and use a VM for this instead of a side-by-side install with 2010 on my main development machine.

                I wasn't, now I am, then I won't be anymore.

                T 1 Reply Last reply
                0
                • J JimmeP

                  One thing to check is if the references of any of the assemblies now point to the framework version 4.5 instead of 4? We had that problem when moving from 3.5 to 4.0...

                  R Offline
                  R Offline
                  realJSOP
                  wrote on last edited by
                  #8

                  JimmeP wrote:

                  One thing to check is if the references of any of the assemblies now point to the framework version 4.5 instead of 4? We had that problem when moving from 3.5 to 4.0...

                  How could installing VS2012 possibly change the solutions themselves? If the solution is set to use .Net 4 (or earlier), VS2012 has no business changing it until I tell it to. Besides, the problem was discovered before even firing up VS2012 for the first time, and in a copied version of the solution.

                  ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                  -----
                  You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                  -----
                  "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

                  A M 2 Replies Last reply
                  0
                  • R realJSOP

                    I tried to open a WPF app at work with VS2010, and none of the forms display (it says there was an error and I have to reopen the designer). The only thing that's different on the system is Friday's addition of VS2012. Has anyone else seen something similar? One of the errors is "Unexpected record in Baml stream. Trying to add to Setter which is not a collection or has a TypeConverter." EDIT: Confirmed problem - when I open the project up in VS2012, the form is displayed as expected. With VS2010, the designer chokes and refuses to display it.

                    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                    -----
                    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                    -----
                    "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

                    P Offline
                    P Offline
                    Pete OHanlon
                    wrote on last edited by
                    #9

                    Just to check - your VS2010 installation does have SP1 installed doesn't it?

                    *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

                    "Mind bleach! Send me mind bleach!" - Nagy Vilmos

                    CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                    R 1 Reply Last reply
                    0
                    • P Pete OHanlon

                      Just to check - your VS2010 installation does have SP1 installed doesn't it?

                      *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

                      "Mind bleach! Send me mind bleach!" - Nagy Vilmos

                      CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                      R Offline
                      R Offline
                      realJSOP
                      wrote on last edited by
                      #10

                      Oh yeah - that was the first thing I checked... I reported the bug, but I'm not expecting much from MS Connect - they'll probably ask me what I had for breakfast... or what color my car is...

                      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                      -----
                      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                      -----
                      "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

                      P 1 Reply Last reply
                      0
                      • R realJSOP

                        JimmeP wrote:

                        One thing to check is if the references of any of the assemblies now point to the framework version 4.5 instead of 4? We had that problem when moving from 3.5 to 4.0...

                        How could installing VS2012 possibly change the solutions themselves? If the solution is set to use .Net 4 (or earlier), VS2012 has no business changing it until I tell it to. Besides, the problem was discovered before even firing up VS2012 for the first time, and in a copied version of the solution.

                        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                        -----
                        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                        -----
                        "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

                        A Offline
                        A Offline
                        Andrew Rissing
                        wrote on last edited by
                        #11

                        John Simmons / outlaw programmer wrote:

                        How could installing VS2012 possibly change the solutions themselves? If the solution is set to use .Net 4 (or earlier), VS2012 has no business changing it until I tell it to.

                        "Madness? This is MICROSOFT!!" :D For some reason, that just came to me.

                        R 1 Reply Last reply
                        0
                        • R realJSOP

                          Oh yeah - that was the first thing I checked... I reported the bug, but I'm not expecting much from MS Connect - they'll probably ask me what I had for breakfast... or what color my car is...

                          ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                          -----
                          You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                          -----
                          "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

                          P Offline
                          P Offline
                          Pete OHanlon
                          wrote on last edited by
                          #12

                          John Simmons / outlaw programmer wrote:

                          Oh yeah - that was the first thing I checked...

                          Given that you'd installed VS2012, I would have thought the first thing you'd have checked was that you had enough ammo to hand. After all, if you're going to shoot yourself in the foot, you might as well do it in style.

                          *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

                          "Mind bleach! Send me mind bleach!" - Nagy Vilmos

                          CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                          R 1 Reply Last reply
                          0
                          • A Andrew Rissing

                            John Simmons / outlaw programmer wrote:

                            How could installing VS2012 possibly change the solutions themselves? If the solution is set to use .Net 4 (or earlier), VS2012 has no business changing it until I tell it to.

                            "Madness? This is MICROSOFT!!" :D For some reason, that just came to me.

                            R Offline
                            R Offline
                            realJSOP
                            wrote on last edited by
                            #13

                            I suppose that's true - afterall, they removed the Start button from Windows...

                            ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                            -----
                            You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                            -----
                            "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

                            T 1 Reply Last reply
                            0
                            • R realJSOP

                              I tried to open a WPF app at work with VS2010, and none of the forms display (it says there was an error and I have to reopen the designer). The only thing that's different on the system is Friday's addition of VS2012. Has anyone else seen something similar? One of the errors is "Unexpected record in Baml stream. Trying to add to Setter which is not a collection or has a TypeConverter." EDIT: Confirmed problem - when I open the project up in VS2012, the form is displayed as expected. With VS2010, the designer chokes and refuses to display it.

                              ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                              -----
                              You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                              -----
                              "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

                              P Offline
                              P Offline
                              Pete OHanlon
                              wrote on last edited by
                              #14

                              If you plan to continue developing for .NET 4, you really shouldn't use VS2012. The reason I say this is because of this[^] post. For those who don't want to read it, .NET 4.5 is an in place upgrade to .NET 4. In doing this, there are fixes to the .NET 4 binaries that mean that your application won't see bugs on machines with 4.5 that may well exist on machines with .NET 4 binaries installed. This could well lead to hidden bugs in your application.

                              *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

                              "Mind bleach! Send me mind bleach!" - Nagy Vilmos

                              CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                              R 2 Replies Last reply
                              0
                              • P Pete OHanlon

                                John Simmons / outlaw programmer wrote:

                                Oh yeah - that was the first thing I checked...

                                Given that you'd installed VS2012, I would have thought the first thing you'd have checked was that you had enough ammo to hand. After all, if you're going to shoot yourself in the foot, you might as well do it in style.

                                *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

                                "Mind bleach! Send me mind bleach!" - Nagy Vilmos

                                CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                                R Offline
                                R Offline
                                realJSOP
                                wrote on last edited by
                                #15

                                I have purged it from my work system. :/

                                ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                -----
                                You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                -----
                                "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

                                1 Reply Last reply
                                0
                                • P Pete OHanlon

                                  If you plan to continue developing for .NET 4, you really shouldn't use VS2012. The reason I say this is because of this[^] post. For those who don't want to read it, .NET 4.5 is an in place upgrade to .NET 4. In doing this, there are fixes to the .NET 4 binaries that mean that your application won't see bugs on machines with 4.5 that may well exist on machines with .NET 4 binaries installed. This could well lead to hidden bugs in your application.

                                  *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

                                  "Mind bleach! Send me mind bleach!" - Nagy Vilmos

                                  CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                                  R Offline
                                  R Offline
                                  realJSOP
                                  wrote on last edited by
                                  #16

                                  Holy crap on a cracker...

                                  ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                  -----
                                  You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                  -----
                                  "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

                                  P 1 Reply Last reply
                                  0
                                  • R realJSOP

                                    Holy crap on a cracker...

                                    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                    -----
                                    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                    -----
                                    "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

                                    P Offline
                                    P Offline
                                    Pete OHanlon
                                    wrote on last edited by
                                    #17

                                    Possibly the best description I've read of it.

                                    *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

                                    "Mind bleach! Send me mind bleach!" - Nagy Vilmos

                                    CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                                    R 1 Reply Last reply
                                    0
                                    • P Pete OHanlon

                                      Possibly the best description I've read of it.

                                      *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

                                      "Mind bleach! Send me mind bleach!" - Nagy Vilmos

                                      CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                                      R Offline
                                      R Offline
                                      realJSOP
                                      wrote on last edited by
                                      #18

                                      I can't claim ownership of the phrase, and must thank Penny on Big Bang Theory (from the episode where Sheldon got a groupie, and Penny walked in on her giving Sheldon a pedicure).

                                      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                      -----
                                      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                      -----
                                      "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

                                      P 1 Reply Last reply
                                      0
                                      • R realJSOP

                                        JimmeP wrote:

                                        One thing to check is if the references of any of the assemblies now point to the framework version 4.5 instead of 4? We had that problem when moving from 3.5 to 4.0...

                                        How could installing VS2012 possibly change the solutions themselves? If the solution is set to use .Net 4 (or earlier), VS2012 has no business changing it until I tell it to. Besides, the problem was discovered before even firing up VS2012 for the first time, and in a copied version of the solution.

                                        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                        -----
                                        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                        -----
                                        "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

                                        M Offline
                                        M Offline
                                        Matt T Heffron
                                        wrote on last edited by
                                        #19

                                        You do know that the .Net 4.5 BCL does NOT co-exist with 4.0. It replaces the 4.0 BCL when it installs! The 4.5 BCL installs with VS 2012.

                                        1 Reply Last reply
                                        0
                                        • R realJSOP

                                          I can't claim ownership of the phrase, and must thank Penny on Big Bang Theory (from the episode where Sheldon got a groupie, and Penny walked in on her giving Sheldon a pedicure).

                                          ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                          -----
                                          You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                          -----
                                          "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

                                          P Offline
                                          P Offline
                                          Pete OHanlon
                                          wrote on last edited by
                                          #20

                                          That's where I heard it before. I can't believe I didn't make the connection.

                                          *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

                                          "Mind bleach! Send me mind bleach!" - Nagy Vilmos

                                          CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                                          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