How to open .dbml in designer mode with VS?

51,694
  1. Quit devenv
  2. Launch Visual Studio Installer
  3. Modify VS2017
    enter image description here
  4. Click on the Individual components tab and scroll down to LINQ to SQL tools (within Code tools group.)
    enter image description here
  5. Click Modify.
  6. Launch devenv again and you should be able to open .dbml in the designer we all love to hate.
Share:
51,694

Related videos on Youtube

Drag and Drop
Author by

Drag and Drop

As a French, I don't understand the singular "they", use anything else when referring to me. For singular they I will just assume it's either Answerers or Commenters. Pronouns: Anything but not "they"!

Updated on September 18, 2022

Comments

  • Drag and Drop
    Drag and Drop almost 2 years

    After installing Visual Studio 2017, my LINQ To SQL .dbml definitions open in a XML editor instead of the built in designer.

    How do I configure VS to open .dbml in Designer mode instead of XML editor?

    • Frank Thomas
      Frank Thomas about 7 years
      do you have any other versions of VS on that box?
    • Drag and Drop
      Drag and Drop about 7 years
      Yes I do have a Vs 2013 and dbml open in designer mode.
    • Frank Thomas
      Frank Thomas about 7 years
      I've had issues with some designers when installing multiple versions of VS. For instance, when I installed 2012 next to 2010, all my DB designers started failing (much as you describe). The two versions used a pair of dlls of differant versions stored in the same location. Even uninstalling 2012 did not fix it; I had to copy the dlls from a coworkers box who had not installed 2012 in order to get 2010 working again.
    • marc40000
      marc40000 about 5 years
      FYI: The same problem exists in VS 2019. Also the solution provided by Coxy works equivalently
  • Lanklaas
    Lanklaas about 6 years
    Thanks. I used the quick launch (CTRL+Q), typed linq to sql and found it.