Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UWP app does not start with AI 2 #210

Closed
ghost opened this issue Mar 15, 2016 · 1 comment
Closed

UWP app does not start with AI 2 #210

ghost opened this issue Mar 15, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 15, 2016

I've just upgraded Application Insights to version 2, and I've just had an issue: my app does not launch anymore!

Here's my App.xaml.cs (I'm using Template10)

    sealed partial class App : BootStrapper   {
    public App()
    {
        WindowsAppInitializer.InitializeAsync();
        InitializeComponent();
        SplashFactory = e => new ExtendedSplash(e);
    }

    public override async Task OnInitializeAsync(IActivatedEventArgs args)
    {
        // set sync context for ui thread so async void exceptions can be handled, keeps process alive
        AsyncSynchronizationContext.Register();
        await Task.CompletedTask;
    }
}

OnInitializeAsync is called with AI 1.2.3, and when upgrading to v2, breakpoint is not hit

@SergeyKanzhelev
Copy link
Contributor

@izikl please do not use AI 2.0 for UWP applications. There will be migration story from AI 1.2 to Hockey App SDK soon. Sorry for inconvenience.

See this post: https://azure.microsoft.com/en-us/blog/transitioning-mobile-apps-from-application-insights-to-hockeyapp/ and this post: http://hockeyapp.net/blog/2016/03/11/welcome-application-insights-users.html

TimothyMothra added a commit that referenced this issue Oct 25, 2019
TimothyMothra pushed a commit that referenced this issue Oct 25, 2019
Fix dotnet-test-xunit dependency which causes tests to fail in net451…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants