How to read/interpret a raw C# stack trace correctly?

I bet Eric Lippert will come later and give a better answer, but in case that won’t happen – here is my take, because I also got interested in this. The meaning of “d”, “c” and similar symbols I got from this answer by Eric Lippert. 1) MyProject.ViewModels.SomeViewModel.<OnLogin>d__69.MoveNext() This one is relatively simple. OnLogin is … Read more

How to create a working trusted and or self-signed certificate for a Windows 10 UWP application via Visual Studio 2019, 2017 and 2015

The answer provided by @nico has correct statements but made me realize there was more to the issue than I was initially describing. So I cleaned up the question title and question to provide a better question and subsequent answer. Scouring the web I found many of these answers in so many different places, e.g. … Read more

How to exit or close an UWP app programmatically? (Windows 10)

You can use the CoreApplication class. It provides a static exit method: public void CloseApp() { CoreApplication.Exit(); } However, the documentation states the following: Note Do not use this method to shut down an app outside of testing or debugging scenarios. Sadly, the reason behind that is left unkown. Further more, you can use the … Read more

How to exit or close an UWP app programmatically? (Windows 10)

You can use the CoreApplication class. It provides a static exit method: public void CloseApp() { CoreApplication.Exit(); } However, the documentation states the following: Note Do not use this method to shut down an app outside of testing or debugging scenarios. Sadly, the reason behind that is left unkown. Further more, you can use the … Read more

Delete NoUIEntryPoints-DesignMode packages

You can use the following PowerShell command: Get-AppxPackage -Publisher “CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US” | ? {$_.IsDevelopmentMode -eq “True”} | Remove-AppxPackage This does 3 steps: Gets all installed AppX packages published by Microsoft. Filters them by those marked as DevelopmentMode. Removes the results. I just wasted a bunch of time trying to figure … Read more

Setting window size on desktop for a Windows 10 UWP app

Try setting PreferredLaunchViewSize in your MainPage‘s constructor like this: public MainPage() { this.InitializeComponent(); ApplicationView.PreferredLaunchViewSize = new Size(480, 800); ApplicationView.PreferredLaunchWindowingMode = ApplicationViewWindowingMode.PreferredLaunchViewSize; } As @kol also pointed out, if you want any size smaller than the default 500×320, you will need to manually reset it: ApplicationView.GetForCurrentView().SetPreferredMinSize(new Size(200, 100));

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)