Scenario:
XBAP Applications does not open in browser when run using Visual studio 2013. Instead, this gives download option..
Solution:
XAML browser applications (XBAPs) run within a partial-trust security sandbox that is restricted to the Internet zone set of permissions.
So, we need to configure Visual Studio to run the XBAP applications in browser..
Steps to configure:
XBAP Applications does not open in browser when run using Visual studio 2013. Instead, this gives download option..
Solution:
XAML browser applications (XBAPs) run within a partial-trust security sandbox that is restricted to the Internet zone set of permissions.
So, we need to configure Visual Studio to run the XBAP applications in browser..
Steps to configure:
To configure Microsoft Visual Studio to debug an XBAP :
- With a project selected in Solution Explorer, on the Project menu, click Properties.
- In the Project Designer, click the Debug tab.
- In the Start Action section, select Start external program and enter the following:C:\WINDOWS\System32\PresentationHost.exe
- In the Start Options section, enter the following into the Command line arguments text box:-debug filenameThe filename value for the -debug parameter is the .xbap filename; for example:-debug c:\example.xbap
Reference: https://msdn.microsoft.com/en-us/library/bb613597(v=vs.110).aspx
No comments:
Post a Comment