Problems loading package

While probing the DSL tools and figuring out how to use them I came accross an issue that I need to get resolved. The issue has to do with loading the package (and is something I most likely caused by using the same combination of CompanyName.ProjectName on all my samples).

Problem is that when I try to debug my DSL the debugger prompts me with the message 'Package Load Failure'. Inside the message are some details regarding my packagename (CompanyName.ProjectName.Designer.MyPackage, CompanyName.ProjectName.Designer) and the GUID. The package names with different GUIDS pop up (as stated I used the same combination on multiple sample projects).

I hope someone can point me into the right direction, I have tried cleaning out the registry, resetting my VS settings (also EXP), but still no resolve.



Answer this question

Problems loading package

  • Perky Swenson

    In my case i have a more serious problem. After migrating from VS2005 Beta 2 to Final this message about load faliture pops even on standart (generated with wizard) models. I select "Start without debugging", get several messages about load faliture, then get a message that debugging project could not be found, then a couple load falitures again, and thats all... Debugging project became marked as "unavailable".

    Maybe i did something wrong while migrating Any suggestions


  • Gary Schultz

    Thnx, this helped me find the issue. Apparently the 'Validate all' does not check all 'restricted keywords'. I changed an element within my model to 'ModelElement', changing it back solved my issue.


  • Aravind Adla

    Additional information: when you forget to include a referenced resource in the resource file or wrongly name a resource within the resource file (especially the toolbar items or ToolbarItemCaptions) this same behaviour occurs.
  • TTKoshi

    Remco Jorna wrote:
    Additional information: when you forget to include a referenced resource in the resource file or wrongly name a resource within the resource file (especially the toolbar items or ToolbarItemCaptions) this same behaviour occurs.

    Turns out this is what my problem was. I went through (ugh, quite tedious) and ensured all my "-Id" attributes pointed at real things in my resources. It works again. Thanks for the help, Remco!



  • Sunlighter

    I just ran into pretty much the same thing. I was trucking along, building my DSL, and suddenly it won't load the package any longer. Help

  • mhd617

    I've had this error before and it was because I had named a relationship the same as a connector.
  • Problems loading package