win-universal-app

Launch exe file generated by Visual Studio 2015

若如初见. 提交于 2020-01-30 02:40:06
问题 I need to get a runnable .exe file from a simple Windows 10 universal app developed in VisualStudio 2015 community edition. This worked before on a windows 7 PC with Visual Studio 2012 (or maybe 2013), the .exe was located at MyProject/bin/x64/Debug, and I was able to run it. Now, with Visual Studio 2015, I can still find the .exe file, but it gives me an error when I try to run it: This application can only run in the context of an app container. Is there a way to export an executable,

Launch exe file generated by Visual Studio 2015

青春壹個敷衍的年華 提交于 2020-01-30 02:39:50
问题 I need to get a runnable .exe file from a simple Windows 10 universal app developed in VisualStudio 2015 community edition. This worked before on a windows 7 PC with Visual Studio 2012 (or maybe 2013), the .exe was located at MyProject/bin/x64/Debug, and I was able to run it. Now, with Visual Studio 2015, I can still find the .exe file, but it gives me an error when I try to run it: This application can only run in the context of an app container. Is there a way to export an executable,

different screen and different view

删除回忆录丶 提交于 2020-01-25 19:45:23
问题 I want to have a different view with different screen in UWP, For example I have a grid with three columns in UWP app, inside the three columns it has two textboxes and button or other control. I want to change the Grid's column and row based on the screen size. When the screen size is more than 1000, the grid will have one row with three columns . when is more than 600 it will have two row, or it will have three row. 回答1: In UWP app, if you want to show different content/view based on the

different screen and different view

家住魔仙堡 提交于 2020-01-25 19:45:11
问题 I want to have a different view with different screen in UWP, For example I have a grid with three columns in UWP app, inside the three columns it has two textboxes and button or other control. I want to change the Grid's column and row based on the screen size. When the screen size is more than 1000, the grid will have one row with three columns . when is more than 600 it will have two row, or it will have three row. 回答1: In UWP app, if you want to show different content/view based on the

UWP - exclude navigation from back button stack

别等时光非礼了梦想. 提交于 2020-01-25 03:13:05
问题 I have 3 pages. Page A, B and C. The situation looks like this: On all 3 screens I'm working with one object e. g. Car . Those to buttons mean that if I click such a button, I will navigate to the page by Frame.Navigate(typeof(...), Car) passing the Car reference. On back button press I want to just go back without passing any parameters. The problem is that when I press to C and then to B e. g. 5 times, then when navigating via back button from page B it goes like this. C -> B -> C -> B -> C

Deployed SQLite database is empty after deployment of Universal App

穿精又带淫゛_ 提交于 2020-01-24 14:16:20
问题 I use in SQLite database in UWP. It has a few tables and is located in Assets folder and has build action marked as "Content". Under development machine it works fine. But after deployment to MS Windows 10 tablet it has the error SQLite error 1 no such table Companies It corresponds to the code using (MobileContext db = new MobileContext()) { companiesList.ItemsSource = db.Companies.ToList(); ... } var createdResult = Database.EnsureCreated(); // It gives false so I assume based on https:/

CachedFileUpdater doesn't work in OneDrive app on mobile?

落花浮王杯 提交于 2020-01-23 09:14:22
问题 There is a Cached File Updater contract which allows apps like OneDrive or DropBox to keep files in sync with remote repository when users change them though file pickers. It works roughly like this: User gets a file using FileOpenPicker. User changes file. The source app gets notification that file is changed and uploads new file to backing storage. However, while in official DropBox app this scenario works perfectly, in OneDrive app it doesn't. I'm getting UnauthorizedAccessException when

How to draw an arc in universal windows app

和自甴很熟 提交于 2020-01-23 02:57:04
问题 I need an arc (circle segment) in my universal windows application, but i just cant figure it out how to make it. There are only circle and rectangle shapes available. My goal is to create an arc that is showing the given percent, line 50% 66% etc. 回答1: If you want something like this: Check my solution (tested on Windows 8.1 and Windows 10 UWP): https://github.com/arek-kubiak/ArcControl/tree/master I hope it will be helpful for you :) Be careful, control automatically adjusts the height and

Universal App design : how to use these controls Pivot or panorama ,Listview or Listbox?

こ雲淡風輕ζ 提交于 2020-01-17 08:21:30
问题 I have just started to develop in universal app. I have developed app in Windows 8 store apps and also developing Windows Phone 8 and Windows Phone 8.1 (SilverLight) Apps. Question is related to universal app in Windows and Single UI which is created in App. Share folder. 1. Is there any control in universal app like Pivot or panorama as like windows phone 8 and windows phone 8.1 (silverlight) have ? 2. which is best to design for data binding Listview or Listbox ? 3. In c# we can write like

Universal App design : how to use these controls Pivot or panorama ,Listview or Listbox?

橙三吉。 提交于 2020-01-17 08:21:21
问题 I have just started to develop in universal app. I have developed app in Windows 8 store apps and also developing Windows Phone 8 and Windows Phone 8.1 (SilverLight) Apps. Question is related to universal app in Windows and Single UI which is created in App. Share folder. 1. Is there any control in universal app like Pivot or panorama as like windows phone 8 and windows phone 8.1 (silverlight) have ? 2. which is best to design for data binding Listview or Listbox ? 3. In c# we can write like