win-universal-app

Is there a SharpDx Template, for a Windows Universal App?

与世无争的帅哥 提交于 2019-12-18 17:30:22
问题 I tried to write a game for Windows and Windows Phone 8.1, with SharpDx. But when I try, to add a Windows Phone 8.1 Version to my already existing Windows 8.1 Game, I get a few errors and the App doesn't work. Now the question: Is there an SharpDx Template in XNA Style for a Windows Universal App, like the Template I got for my only Windows 8.1 Game (from the SharpDx Visual Studio Extension)? 回答1: No there isn't, yet. What you should do is open an issue (https://github.com/sharpdx/SharpDX

How to maximise a Windows 10 Universal Application's window to full screen when running on a desktop?

若如初见. 提交于 2019-12-18 16:49:56
问题 When building a universal application using Windows 10 (or Windows 8.1 WinRT), is it possible to force the application's main window to maximise on launch? This is obviously natural behaviour for the application when running on a mobile device but not when running on the desktop. This is certainly possible using WinForms: How do I make a WinForms app go Full Screen How to display a Windows Form in full screen on top of the taskbar? But I haven't so far managed to find anything in the

How to Implement In-App Purchases in Windows 10 Apps?

為{幸葍}努か 提交于 2019-12-18 13:19:48
问题 I want to integrate in-app purchasing in my windows universal app. I do the following thing before coding. Make App on Windows Dev Center Add products with details in IAPs section and submit to Store as you can see in Image After that I use the following code in my app to get list of products of In-App purchasing and button to purchase product. I also used CurrentApp instead of CurrentAppSimulator in my code but it goes in exception. private async void RenderStoreItems() { picItems.Clear();

How to Determine Which Dll Dependency is Failing to Load in Windows Store/Universal Apps?

旧城冷巷雨未停 提交于 2019-12-18 13:11:45
问题 When running a UWP project I'm working on I receive the following dialog. "Unable to activate Windows Store app 'MyAppsMangledName'. The 'MyExeName' process started, but the activation request failed with error 'The App didn't start'." The Visual Studio output has the following. The thread 0x3d4c has exited with code -1073741515 (0xc0000135). The thread 0x3b50 has exited with code -1073741515 (0xc0000135). The program 'MyExeName' has exited with code -1073741515 (0xc0000135) 'A dependent dll

How to use WCF services in Windows 10 Universal App?

廉价感情. 提交于 2019-12-18 12:30:31
问题 My Windows 8.1 app uses WCF services. I need to port my app to Windows 10 UWP app. But cannot add service reference. This message appears when I add a service reference: Data service client code-generation failed. Specified Windows Store Framework '.NETCore,Version=v5.0' is not supported. Only .NETCore 4.5 and above is supported. How to solve my problem? 回答1: Thank you for @gregkalapos 1. Create Windows 8.1 Portable class library 2. Choose like this 3. Add Service Reference to newly created

Is it possible to send Toast notification from console application?

落爺英雄遲暮 提交于 2019-12-18 12:23:27
问题 Is it possible to send Toast notifications from console application using ToastNotificationManager ? I know that it is possible to send Toast notifications from Windows Universal app: var toast = new ToastNotification(doc); ToastNotificationManager.CreateToastNotifier().Show(toast); *doc - Toast stored in XML string To use ToastNotificaionManager I need Windows.UI.Notifications library which I can't reference in console application project. The library I mentionet before is actualy used by

how to implement chart control in Windows 10 UWP

那年仲夏 提交于 2019-12-18 12:17:48
问题 I need to implement linear graph. Is there any chart control for Windows 10 UWP? Any suggestions? Thanks 回答1: Syncfusion provides free license to independent developers for their Essential Studio suite. They have some great visualization tools. You can check them here: https://www.syncfusion.com/products/uwp You can find more information about its free license at following link: https://www.syncfusion.com/products/communitylicense 回答2: Filip Skakun has made a great library that has several

Multiple instances of a Windows Universal App (Windows 10)

痴心易碎 提交于 2019-12-18 11:53:29
问题 I'm beginning to develop apps for the Universal Windows Platform (Windows 10), and I'm making an app that needs to be able to run on multiple instances. I've seen that this is possible with the universal apps as there are some apps that can already do this (e.g. Calculator, Edge). I have already tried searching on Google, on Microsoft's API reference, and here to no avail. I'd really appreciate your help. 回答1: UWP/store apps use no multiinstance, but use multi-view style. (Edge is an

font size scaling in Windows Store Universal App (W8.1 + WP8.1)

时间秒杀一切 提交于 2019-12-18 10:35:53
问题 How do i scale text in Windows Store Universal App (W8.1 + WP8.1)? Basically, the app should look the same regardless which device/resolution is used. The current situation is that layout (dynamic grid based layout) and images scale well except of the text (font size). The text displayed looks nice for WVGA resolution (480 × 800) but is incredible small for 1080p resolution. I already read a lot of stuff like Guidelines for scaling to pixel density or Guidelines for supporting multiple screen

How to get StackTrace without Exception in Windows Universal 10 App

你说的曾经没有我的故事 提交于 2019-12-18 05:59:31
问题 I know it was possible to use: System.Diagnostics.StackTrace t = new System.Diagnostics.StackTrace(); but that seems to not work anymore, as it needs an Exception-Object. 回答1: Try Environment.StackTrace. Just remember to be careful with what your logic afterwards is as stacks can change in unpredictable ways. Some discussion here: https://github.com/dotnet/corefx/issues/1420 回答2: Check out this discussion on .NET Core's github: Where have StackTrace and StackFrame gone?. This class isn't