SambaPOS Forum

English Boards => V3 Development => Topic started by: myen on June 03, 2013, 01:20:49 pm

Title: error opening xaml files in Visual Studio 2010
Post by: myen 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.
Title: Re: error opening xaml files in Visual Studio 2010
Post by: Stelzi79 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 (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.
Title: Re: error opening xaml files in Visual Studio 2010
Post by: emre on June 08, 2013, 05:49:54 am
Can you build solution?
Title: Re: error opening xaml files in Visual Studio 2010
Post by: myen 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.
Title: Re: error opening xaml files in Visual Studio 2010
Post by: stanleysct on June 21, 2013, 08:25:33 pm
Ya, me too. I use Visual Studio 2012 also cannot open in design view. Any solution??? :'( :'(