Showing posts with label Windows 10 UWP. Show all posts
Showing posts with label Windows 10 UWP. Show all posts

Tuesday, June 7, 2016

Error CS0234 The type or namespace name 'ApplicationInsights' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

Error CS0234 The type or namespace name 'ApplicationInsights' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
To fix this issue run the following command in the Package Manager Console 
Install-Package Microsoft.ApplicationInsights.WindowsApps

Friday, February 26, 2016

Template 10 Library for Windows UWP

A rich library of helpers, services, and base classes for new and
existing Windows UWP apps to maximize awesomeness and minimize boilerplate garbage.
This library has a companion Visual Studio Extension also called "Template 10".
To install Template 10 Library for Windows UWP XAML/.NET apps on Windows 10, run the following command in the Package Manager Console 

 Install-Package Template10 

More info:
https://github.com/Windows-XAML/Template10/wiki

http://blog.jerrynixon.com/2015/04/implementing-hamburger-button-with.html#more



Saturday, December 26, 2015

How to Enable Back Button In Windows 10 UWP

Enable back button in the app title bar Windows 10 UWP

In Windows 10 UWP the back button is disabled by default. If you need back button in the application title bar you need to enable it. I will show how to enable this button.

 Write the following code to enable the back button.

 protected override void OnNavigatedTo(NavigationEventArgs e)
  {

            Frame rootFrame = Window.Current.Content as Frame;

            if (rootFrame.CanGoBack)
            {
                // If we have pages in our in-app backstack and have opted in to showing back, do so
                SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility = AppViewBackButtonVisibility.Visible;
            }
            else
            {
                // Remove the UI from the title bar if there are no pages in our in-app back stack
                SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility = AppViewBackButtonVisibility.Collapsed;
            }
        }

How to upload app to macOS

1. Open Terminal Press Cmd (⌘) + Space , type Terminal , and hit Enter . 2. Navigate to Your Build Output Directory Your .app file is likel...