Automatically uninstall and then reinstall Windows 8.1 App package while start debugging

When you start debugging by using F5, Visual Studio builds and deploys the app in a respective packages in the local storage, and then starts the app. If you stop  the debugging, you can run the app from installed location or if you execute it from Visual Studio again, Visual Studio just update the packages with updated components ( if
Continue Reading →

Dealing with Front and Rear Camera in a Windows Store Application

In the previous post you have learned about the 5 simple steps to getting started with Camera in Windows Store App.  By following those steps you should be able to get preview of video from the default camera from the device. When we developed apps for Tablets and most of the tablets has multiple cameras ( mainly front and rear ), it
Continue Reading →

Getting the Item container corresponding to the selected item in XAML – Windows Store App

While building Apps using XAML, in many instances you may encounter this problem where you need to get an access for the container element from an ItemControl elements. For an example, you have GridView Control, and which has some grouped element as part of Item DataTemplate. If you handle only the GridItemClick event with command pattern (Using ICommand), you won’t
Continue Reading →

TypeScript – Emit Error: Write to file failed | How to Resolve ?

Recently I came across this problem while configuring the TFS build server for Typescript. You may encounter “Emit Error: Write to file Failed” error while Typescript Complier (TSC) compiles the TS files and generate the associated JavaScript files . This happen due to the already pre-existing compiled JavaScript files that are already checked in, and they are in locked /
Continue Reading →

Better Debugging for Office App – Using JavaScript Console in Visual Studio

In the previous post I discussed about, Using DOM Explorer to Inspect your Office App in Visual Studio . While DOM Explorer helps you on inspect elements, applying CSS on the fly and many more things, playing around with JavaScript code , debugging it again difficult when the App is hosted on any of the Office Client.  When the Office
Continue Reading →