xamarin.uwp

I can not build the generated UWP project by Zebble

非 Y 不嫁゛ 提交于 2019-12-24 10:26:07
问题 I created a sample project using Zebble Extension for Visual Studio. The related projects created successfully but unfortunately when I tried to compile the UWP project, the build process failed with the following error: Validation error. error C00CE169: App manifest validation error: The app manifest must be valid as per schema: Line 10, Column 13, Reason: '$solutionname$' violates pattern constraint of '[-.A-Za-z0-9]+'. The attribute 'Name' with value '$solutionname$' failed to parse. How

unable to get channel uri for UWP Windows notification service

随声附和 提交于 2019-12-24 09:36:41
问题 I am trying to write a code to receive windows push notification in xamarin. so far i am able to get the package SID , application id and client secret key from the windows developer account. later on i have associate my app from visual studio 2017. when i am trying to use following code to get channel uri i am getting errors var channel = await PushNotificationChannelManager.CreatePushNotificationChannelForApplicationAsync(); Error without application id Error with application id i am

Gradient as a Buttons BorderColor?

陌路散爱 提交于 2019-12-23 20:01:23
问题 I want to set a gradient border color for a Xamarin.Forms button. How can I do that? Current: Desire: A few options rise to the top through Google, but none seem to be platform independent AND work for Buttons. To name a couple: -Using a WebView and setting the gradient background using CSS (source: Xamarin forums) -XFGloss looks to be a outstandingly well-designed solution but, unfortunately its scope, as written, appears to be Cell views and Layouts only. Likewise even if this does work for

Irritating blank space between Title Bar and Tabs in Xamarin.Forms UWP project

我与影子孤独终老i 提交于 2019-12-22 11:06:31
问题 I'm practically new to Xamarin.Forms and I'm developing a rather simple cross-platform application. The app displays good enough in Android, but in UWP there is a stupid blank space. The project consists of a TabbedPage with 4 NavigationPages inside it, in order to push and pop pages inside them. After a little digging into UWP platform specifics, I was able to change the style of my tabs. I've been looking 3 days now for a solution, and it's driving me crazy. The only solution that I have

Xamarin Form - How to open documents in uwp desktop application

寵の児 提交于 2019-12-22 01:15:09
问题 I want to open the documents like pdf, office , image, txt, rtf inside the uwp desktop application. is there any control in toolbox which open this type of documents ? :( thanks in advance :) 来源: https://stackoverflow.com/questions/57177253/xamarin-form-how-to-open-documents-in-uwp-desktop-application

How to add a ContentView to a Click Event?

混江龙づ霸主 提交于 2019-12-20 06:21:53
问题 My assignment is to create a program that displays two buttons and my name and current time/date on the main screen. The goal is to have a passage appear once one of the buttons are pressed that will make use of the entire screen. So far, I have created the main page with the labels and buttons. However, I am very lost as to how to display the passage with respect to the button clicked. I am using the empirically fitting text way to make the best use of the screen. I have created a FontCalc

Xamarin Form - How to make UI Responsive in UWP

我是研究僧i 提交于 2019-12-19 05:08:18
问题 I am developing the DMS application in uwp desktop application. I have developed the design.but my designs are not responsive.I am gone through so many UI responsive articles but i am not able to make the ui responsive.:( I am uploaded my one project module please go through it and let me know whats wrong in it.I want to make ui responsive form login page to add new user. link Download the UWPUIResponsive zip file. thanks in advance.:) 回答1: Xavier Xie - MSFT's reply is correct. And I checked

How to get the value of advanced power settings

核能气质少年 提交于 2019-12-13 06:29:45
问题 I try to read/get those advanced settings values such as Put the computer to sleep on my UWP application and follow this article How to get the value of advanced power settings but in UWP it is not working because the example is only for Windows 8.1 and WPF. Anybody have tried this kind of features in their application? My goal only for this is to get the values from the corresponding settings. 回答1: I don't think it's easily achievable. There's no out of the box API exposed to retrieve such

How to solve error of “returned exit code 1” while building UWP xamarin based app in Visual Studio?

佐手、 提交于 2019-12-13 03:50:15
问题 I am facing following error while publishing my UWP Xamarin based app on Windows Store. Package acceptance validation error: This package wasn't built for submission to the Microsoft Store. Make sure you're uploading a Release build with the .NET Native tool chain enabled. To remove "Windows Store" error, I have made following changes in my project After this it start another error as following while building project: 1: Error: NUTC1056:Internal Compiler Error: 0x8000ffff. Error encountered

Switching between pages causes crashes on Windows 10 Mobile

左心房为你撑大大i 提交于 2019-12-13 03:47:53
问题 I'm using Xamarin Forms (2.3.4.247) and my application is using "HamburgerMenu". To switch between pages i'm using it's code: private FirstPage firstPage; //it's i get from the constructor private SecondPage secondPage = new SecondPage(); private ThirdPage thirdPage = new ThirdPage(); private async void ItemSelectedMethod() { var root = App.NavigationPage.Navigation.NavigationStack[0]; if (SelectedItem == Items[0]) { if (!IsFirstChoose) { App.NavigationPage.Navigation.InsertPageBefore