uwp

Payload contains two or more files with the same destination path

烈酒焚心 提交于 2019-12-24 01:44:08
问题 I created a new UWP MSTest Project and I added a reference to my main application. When I build the solution, get the an error: Payload contains two or more files with the same destination path Along with the conflicting files. I checked the copy to local for the files and they are set to Do not copy . Here's a sample of the error messages: Severity Code Description Project File Line Suppression State Error Payload contains two or more files with the same destination path 'Assets

UWP App Failing WACK with Multiple Errors

落花浮王杯 提交于 2019-12-24 01:18:07
问题 In the past I have successfully developed and deployed a few UWP apps to the MS Store. Currently getting a large number of unexpected failures, of types that I've never had before, when trying to pass the WACK test. I started this specific project in Nov 2017. Technically it's not that advanced, from a code perspective I'm not doing anything I haven't successfully passed through WACK before. VS 2017 Community v15.8.8 Project Target (& Min) version: Windows 10 Anniversary Edition 10.0; Build

UWP Radial Progress Bar Image Fill

雨燕双飞 提交于 2019-12-24 01:06:59
问题 I am using the Radial Progress Bar from the UWP ToolKit. I want to use this progress in a game that I creating. I have an image that I want to fill the foreground of the progress bar with. No matter what I try I cannot get the image to fill in the progress bar, in the manner a progress bar fills in. I am currently trying to scale the image in the foreground but that isn't quite the effect I am going for. XAML: <toolKit:RadialProgressBar Width="316" Height="316" Minimum="0" Maximum="100" Value

Is it possible for individual listviewitems selected, pointerover and pressed states to be controlled by the data bound item

浪子不回头ぞ 提交于 2019-12-24 01:06:06
问题 I'm currently trying to style a ListView so each of the items inside it can control their own background color, PointerOver, Pressed and Selected states. I have figured out that I can set the Background of the ListViewItem to Transparent and let the DataTemplate for my item control the Background. But what I'm struggling with is the VisualStates of the ListViewItem . They just won't seem to style correctly. What I've tried so far is so far is putting my Binding code for the colors inside the

UWP client socket block when try to connect on Java server (release mode)

 ̄綄美尐妖づ 提交于 2019-12-24 01:04:44
问题 I have a UWP StreamSocket client writted in C # on Windows and I have a Java server socket listening on port 8080. In Visual Studio, in debug mode, all work very well, my server received good data. But, in release mode, the app is unable to connect to a socket. I have added modes : internetClient , internetClientServer and privateNetworkClientServer into Package.appxmanifest file but there are no improvements. Here is my code to connect to a socket host = 127.0.0.1 and port = 8080 for the

Special characters (like Ü,Ä,Ö) are not correctly displayed at runtime in case of using Template10

↘锁芯ラ 提交于 2019-12-24 00:59:44
问题 Have an issue by using the Template10 for UWP apps. If i want to display special characters at design time everything seems to be ok. At runtime special characters would not be displayed correctly as you can see in screenshots. <!-- page header --> <controls:PageHeader Content="Übersicht"> <controls:PageHeader.SecondaryCommands> <AppBarButton Click="{x:Bind ViewModel.GotoSettings}" Label="Settings" /> <AppBarButton Click="{x:Bind ViewModel.GotoPrivacy}" Label="Privacy" /> <AppBarButton Click=

How to share filtered image in UWP C#

别等时光非礼了梦想. 提交于 2019-12-24 00:59:37
问题 I have an image processing windows 10 application. I am applying filters on that image and showing it on the image element. This is how I am applyting filter and setting it as a source to MainImage element. ProcessImage processImage = new ProcessImage(sourcePixels, width, height); byte[] blurEffect = processImage.BlurEffect(width, height); WriteableBitmap blurImage = new WriteableBitmap((int)width, (int)height); using (Stream stream = blurImage.PixelBuffer.AsStream()) { await stream

How to detect exit for UWP

若如初见. 提交于 2019-12-24 00:57:55
问题 Is there any way to detect current UWP going to exit ? (close by user or kill the process) I want to send some request to the server about the application will disconnect, also want to save some data before it exit. 回答1: There is no way to detect such case or to prevent user from terminating your app. If you want to save the state or do something before exit, use Suspending event: The Suspending event is the only indication your app will receive prior to termination (if it happens). Because

UWP app show/hide Button using binding

人盡茶涼 提交于 2019-12-24 00:57:16
问题 I have a List view which shows the project names and some buttons for each project which do different actions like adding a comment viewing images for that project etc.. Depending on the project some projects will have some of these buttons disabled sometimes. And some buttons will not be visible in some projects. So there are two things I want to achieve using data binding in this code. Depending on some boolean variables of the ProjectModel, I need to change the visibility of the buttons. I

UWP : Print with out Printer Popup Dialoag

依然范特西╮ 提交于 2019-12-24 00:55:50
问题 Am developing an application using UWP. I need to add PRINT feature.I have sample code to print. It is showing Print Popup dialoag.But Can any one suggest how to print with out that print popup. How to do it programmatically click Print button. 回答1: In UWP app if you want to use a Windows Driver Printer than I am sorry the only option is to print using the Print Popup dialog. If you want to print to a specific printer without print dialog then there are two ways- The printer should be OPOS