windows-8

Cannot resolve Assembly or Windows Metadata file 'System.Data.dll'

那年仲夏 提交于 2019-12-23 09:59:49
问题 I just created a new windows 8 app in c#/XML and download mongodb c# driver and add its reference in my project and follows the rest of tutorial , but when i try to run my app now its saying Cannot resolve Assembly or Windows Metadata file 'System.Data.dll' Type universe cannot resolve assembly: System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089. Please help me thanks in advance . 回答1: Looks like system.data is unavailable to metro apps. The general consensus seems

How do I find out if a file is already created in a StorageFolder

北城余情 提交于 2019-12-23 09:49:05
问题 If I have a metro StorageFolder, I can get a file using GetFileAsync(fileName). However, how do I know if the file exists in the first place? Right now, I catch an exception but it does not seem like the right thing to do. 回答1: According to Microsoft, they want us to catch the exception. The reasoning they gave me is that them providing a File.Exists API would open you up to race conditions where the file's existance might change between when you check and when you try to use the file.

can not hit breakpoint inside of .js file

江枫思渺然 提交于 2019-12-23 09:12:04
问题 I upgraded to win 8. Now I run my VS 2012 under admin privileges and I'm creating a website in MVC 4. I checked different solutions online and none have worked. I have a javascript file in my solution but when I put a breakpoint in it, at runtime I see "no symbols have been loaded for this document". I had this issue couple years back with VS 2008 and somehow it resolved. I don't remember if I did change anything at all. Now it's back! except i'm not on win XP and VS 2008. the .pdb files are

“Visual Studio Extensions for Windows Library for Javascript” Won't Update

家住魔仙堡 提交于 2019-12-23 09:06:26
问题 Pounding on the update button in this screenshot does nothing. Nothing is downloaded, installed, etc. No message, nothing at all! Clicking "Release Notes" and "More Information" also does nothing. Searching for this update yields nothing useful, too. What ever shall I do? 回答1: Is Google Chrome your default browser by chance? I see the same behavior in that case, but not when IE or Firefox is. What Wade suggested earlier is precisely the file that pressing that button would have downloaded for

Tablet WPF Windows Desktop Application - Scrolling issue

∥☆過路亽.° 提交于 2019-12-23 08:58:10
问题 I'm running my desktop application WPF on tablet ASUS ME400 Intel Atom Z2760. All working properly, but when I use scrollviewer, scroll movement with finger (abilitate panning mode horizontalOnly) at the end of scroll with finger, the window moves and you see the taskbar for a moment. The effect is not seen if I scroll with my finger, did not arrive until founded in the scrollbar. How i can avoid this window movement? How I can lock my windows and do not permit to move when I scroll at the

How can I do multiple animations in a single storyboard in C#/XAML?

杀马特。学长 韩版系。学妹 提交于 2019-12-23 07:29:44
问题 I'm trying to make a simple Windows Store game in C# and XAML, one that involves hexagonal tiles moving about. This is mostly to help me learn C# and XAML as I've never worked with graphics or even UI coding before. I've got a method that can move a single hex to the target coordinates, but looking at it now I realize that it is impossible to do multiple moves at once, which is absolutely necessary. I feel like there's got to be something fundamentally off in my approach, multiple objects

How ro store image locally once it was downloaded by Image control in Windows 8?

寵の児 提交于 2019-12-23 05:51:15
问题 My Windows Store (aka Windows 8) application uses the default Grid Application template to show the items. The item template there includes an image with overlaid text information. To diminish the size of application I do not store the images for every item, instead I save an Uri with absolute path (http) to the webserver where the image resides. I modified the standard template to bind to the image Uri (I had to convert the Uri to string for this to work properly) and now whenever I start

Which features are allowed for company store accounts and not individual?

£可爱£侵袭症+ 提交于 2019-12-23 05:47:18
问题 To publish an app in the Windows 8 store, you must have a store account. There are two types of accounts: individual and company. These accounts are NOT identical. Some declarations in your app's manifest cannot be used if your have an individual account. Which declarations cannot be used if your have an individual account? 回答1: Here is a full list of differences between the individual and company accounts for the Windows Store that I've been gathering. To address your specific question,

Binding data from WCF into a MVVM client always empty

跟風遠走 提交于 2019-12-23 03:57:06
问题 I'm making my first Windows 8 client. This is also the first time I've used async methods to load a property so please forgive me if this is a noobie question. I have a WCF service and started from the Split Page template in visual studio for the client (but I'm going to pretty much replace everything). When I get the data into my Views directly inside of the "SplitPage" code behind everything is loaded properly and shows up. However, when I try to use MVVM the property doesn't have any items

Binding data from WCF into a MVVM client always empty

北城余情 提交于 2019-12-23 03:57:03
问题 I'm making my first Windows 8 client. This is also the first time I've used async methods to load a property so please forgive me if this is a noobie question. I have a WCF service and started from the Split Page template in visual studio for the client (but I'm going to pretty much replace everything). When I get the data into my Views directly inside of the "SplitPage" code behind everything is loaded properly and shows up. However, when I try to use MVVM the property doesn't have any items