Author Topic: error opening xaml files in Visual Studio 2010  (Read 11532 times)

myen

  • Newbie
  • *
  • Posts: 10
error opening xaml files in Visual Studio 2010
« on: June 03, 2013, 01:20:49 pm »
Every time that I try to open an xaml file in VS2010, I get the following error message and nothing shows in the designer:

Could not load file or assembly 'Microsoft.Practices.Prism, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

Someone please advise what is the cause of this and how to resolve this issue.

Stelzi79

  • Newbie
  • *
  • Posts: 19
    • My mercural-fork on Bitbucket
Re: error opening xaml files in Visual Studio 2010
« Reply #1 on: June 06, 2013, 07:29:45 am »
I think you miss a required assembly. See http://msdn.microsoft.com/en-us/library/gg406140.aspx under System Requirements. You probatly need the "Silverlight 5 Tools for Visual Studio 2010". When you download and install this Toolset then you won't get any errors any more.
My changes to the official version:
MY mercurial fork on bitbucket

emre

  • SambaPOS Developer
  • Samba Team
  • Hero Member
  • *****
  • Posts: 1564
Re: error opening xaml files in Visual Studio 2010
« Reply #2 on: June 08, 2013, 05:49:54 am »
Can you build solution?

myen

  • Newbie
  • *
  • Posts: 10
Re: error opening xaml files in Visual Studio 2010
« Reply #3 on: June 09, 2013, 10:01:18 am »
I have tried your suggestion and getting some of the xaml files to open but pages like shell.xaml, app.xaml, common.xaml STILL not opening in design view.

stanleysct

  • Newbie
  • *
  • Posts: 10
Re: error opening xaml files in Visual Studio 2010
« Reply #4 on: June 21, 2013, 08:25:33 pm »
Ya, me too. I use Visual Studio 2012 also cannot open in design view. Any solution??? :'( :'(