uwp

The “ParseILMergeInfoTask” task failed unexpectedly

耗尽温柔 提交于 2019-12-24 10:02:03
问题 The program is executing properly without any error in Debug configuration But in Release configuration it throws an error. The "ParseILMergeInfoTask" task failed unexpectedly. System.Exception: File 'SharedAssemblyILMergeInfoFilePath' passed to argument 'x86\ret\SharedAssemblyILMergeInfo.csv' does not exist. at Microsoft.Build.ILTasks.ParseILMergeInfoTask.Execute() at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() at Microsoft.Build.BackEnd

UWP C# Windows 10 IoT Alarm Clock

半腔热情 提交于 2019-12-24 09:57:59
问题 I am trying to write an alarm clock app that can set multiple alarms to trigger output pin on Raspberry Pi. Is there any reference project out there I can refer to? or does windows 10 alarm & clock app reference code is available for reference? I want to find out how to save the individual alarm and display them. do i use a DispatchTimer to monitor the all the alarms set? Thanks. Updated: The alarm setting intended look like this. portion of my code to create the appointment is as below. But

Clear all cookies from WebView

╄→гoц情女王★ 提交于 2019-12-24 09:45:36
问题 I am currently developing an application for Windows Phone 10 using UWP, in which I need a WebView that will set up several cookies in the process. The WebView can be instantiated many times, and I have noticed that the cookies do not get cleared on multiple instantiations, which makes it a bit difficult for my workflow (say, for instance, a user has to log in using the WebView, then when re-instantiating, the old state will be there). I have tried using the clearTemporaryWebDataAsync to now

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

UWP Listview with itemswrapgrid setting width based on items content

廉价感情. 提交于 2019-12-24 09:28:25
问题 I have an Listview with togglebuttons in datatemplate in UWP. I have configured the listview as itemwrapgrid. I am trying to assign diffrent width for items based on toggle buttons content length. Can anyone help me to do this. <ListView x:Name="lstVw1" IsMultiSelectCheckBoxEnabled="True" Margin="0,20,0,0"> <ListView.ItemsPanel> <ItemsPanelTemplate> <ItemsWrapGrid Orientation="Horizontal" Width="Auto" HorizontalAlignment="Stretch"></ItemsWrapGrid> </ItemsPanelTemplate> </ListView.ItemsPanel>

How to customize the datagrid in UWP apps

≡放荡痞女 提交于 2019-12-24 09:00:00
问题 I am currently implementing an UWP application. The mockups for the application includes design for displaying an image and text in same column within data grid and highlighting the grid column for few seconds based on some condition. As far as I know there is no control available for DataGrid in UWP, so please suggest me if there is any other Grid available in market which I can used as an alternative for datagrid or we need to customize the DataGrid to meet our requirements? 回答1: Yes, there

How to minimize Application window programmatically on UWP

十年热恋 提交于 2019-12-24 08:55:07
问题 How to minimize Application window programmatically on UWP, as if the user clicked on the minimize button on the app bar? Let's say in my app user clicked a button to perform some processing, and now there's nothing left to do but wait until it finishes. In that case I would like to minimize my app automatically. How to do that? This is for C++ Windows Universal App. 回答1: This is not supported today. Programmatic suspension is an item on our backlog that has not been scheduled/prioritized yet

OfflineLicensesChanged event is never raised when trial license expires for a Windows 10 Store app

家住魔仙堡 提交于 2019-12-24 08:47:19
问题 I'm trying the following code for my Win32 app converted to UWP for the Windows 10 Store. The app is posted in the store under a trial license for 7 days. The goal of the code below is to receive a notification when the app's trial period expires: #include <Windows.Services.Store.h> #include <wrl.h> #include <wrl/event.h> //'hMainWnd' = HWND handle to the app's main window //ComPtr<IStoreContextStatics> storeContextStatics; //... ComPtr<IStoreContext> storeContext; hr = storeContextStatics-

.NETcore, UWP - can't install NuGet package

妖精的绣舞 提交于 2019-12-24 08:37:23
问题 I try to create project using Universal Windows Platform. I did a few of them but after download .NET Core i have problem with NuGet Packages. When i try to Install MySql.Data i get Package restore failed. Output: MySql.Data 6.9.9 is not compatible with UAP,Version=v10.0. Some packages are not compatible with UAP,Version=v10.0. MySql.Data 6.9.9 is not compatible with UAP,Version=v10.0 (win10-arm). Some packages are not compatible with UAP,Version=v10.0 (win10-arm). MySql.Data 6.9.9 is not

UWP exclude dependency DLL to be copied / included into package

强颜欢笑 提交于 2019-12-24 08:34:40
问题 I completed a xamarin forms application and provided to Android Market. No problem everything worked fine. it is live. I tested UWP in debug and release. Created package and made local app certification test using the package, all checks green, passed. I created submission and published into Microsoft Store. it failed certification with the message. Debug configuration test FAILED Debug configuration Error Found: The debug configuration test detected the following errors: The binary