windows-10

How to build Windows 10 appxupload(ready to submit to store) package by command line

柔情痞子 提交于 2019-12-10 18:38:23
问题 Tried with msbuild command line as msbuild App1.sln /t:Publish /p:Configuration=Release and also tried as described in http://blogs.msdn.com/b/wsdevsol/archive/2014/02/12/create-a-windows-store-appx-package-and-sign-it.aspx, only appx packages are built which cannot be used to submit to store. 回答1: Try to add the /p:AppxPackageIsForStore=true parameter. 回答2: We're using option: /p:UapAppxPackageBuildMode=StoreUpload There's a good related blog post here: https://blogs.msdn.microsoft.com

win10 app - animating in a new item at top of list

廉价感情. 提交于 2019-12-10 18:37:36
问题 I'm making a news feed app, which periodically adds new content to the top of the list. When I check for new items, there might be dozens or just one. What I'd like is for the oldest of the new items to peek into view so they can continue scrolling up for newer stories. Sadly this doesn't come for free with the platform. However whats interesting is that it does come for free at the bottom of the list. If you add items to the bottom of the list they peek in properly with a nice animation. If

How to strip quotes from the script arguments in batch files?

混江龙づ霸主 提交于 2019-12-10 18:37:00
问题 Suppose you're writing a Batch script in which you want to strip the quotes from a string. If the string is stored in a regular Batch variable, you would do this: set name="John" echo %name:"=% If the string is stored in a positional parameter, you would do this: echo %~1 How would you go about achieving the same effect for script arguments, specifically the %* variable? When I try to use the same notation I use for positional paramters, I get this: > echo echo %~* > script.cmd > script "123"

Updating ListView's ItemsSource via INotifyPropertyChanged

删除回忆录丶 提交于 2019-12-10 18:28:01
问题 While answering other question I've stepped into one thing I try to understand. I've a ListView , which ItemsSource is bound to a property of my page. The page implements INotifyPropertyChanged , the DataContext is set, evrything works, I can see my list rendered on the screen. But if I change something inside one of the elements and raise property changed on the whole collection, the change is not visible on the screen, the getter is called, so the binding works, but nothing changes. Why is

How does this JavaScript open Windows Settings in Firefox?

寵の児 提交于 2019-12-10 18:23:22
问题 After a new install of Firefox 45 Developer Edition, I saw this page. It has a button ("Let's do it") that when clicked, somehow opens up the Choose default apps settings page in Windows 10. https://www.mozilla.org/en-US/firefox/windows-10/welcome/?utm_source=firefox-browser&utm_medium=firefox-browser How is this done? I couldn't find anything through the Developer Console in the labyrinthine code on that page. Besides, I would have thought browsers don't allow JavaScript to open something as

How can I install Application Request Routing ARR 3.0 in Windows 10 Preview?

让人想犯罪 __ 提交于 2019-12-10 18:13:14
问题 When I try to Install Application Request Routing I get an error "IIS Version 7.0 or greater is required to install Microsoft Application Request Rounting 3.0". Windows 10 has IIS 10.0, so it should be possible, but I guess that Microsoft hasn't fixed the version check yet. Are there any workarounds available for this? Windows version: Windows 10 Pro Insider Preview. Build 10074. 回答1: Bit of hacky solution if it suits your requirement. Open MSI file in tool called ORCA and remove Launch

IntelliJ JavaDoc - error - cannot read Input length = 1

时间秒杀一切 提交于 2019-12-10 18:10:02
问题 I know there are plenty of questions about this problem, but no one of the solved it for me! I'm using the Community Edition of IntelliJ and I tried to run JavaDoc through the IDE. Everytime and it doesn't matter fo which file, I run JavaDoc I got the following output: javadoc: error - cannot read Input length = 1 I already figured out, that it might be an encoding problem... I'm working on a Windows 10 maschine. I already tried the following: JavaDoc argfile encoding error Start the terminal

Can you call an external application from a Windows 10 Universal application? c#

▼魔方 西西 提交于 2019-12-10 18:09:27
问题 I have been working on a Minecraft server wrapper for the past week. I was looking forward to making a windows 10 universal app, but in my learning and testing I discovered that System.Diagnostics.Process is not supported in windows 8 store apps. When trying to add the code to my Win 10 dev machine in a 10 project I am being told that it cant be resolved. Is there going to be a way to launch an external process and capture the output into a textbox with Win10 Universal apps or am I out of

EnumWindows function in Win10 enumerates only desktop apps

徘徊边缘 提交于 2019-12-10 17:53:49
问题 The documentation on EnumWindows underscores: Note For Windows 8 and later, EnumWindows enumerates only top-level windows of desktop apps. What is the difference between "desktop apps" and "non desktop apps" ? Is this related to metro apps ? I ask because EnumWindows is behaving somewhat different in Win10 compared with Win7. 回答1: You are correct. EnumWindows will only find windows that belong to programs that aren't Modern (Metro) apps. It will get windows that belong to traditional (desktop

How to tell Microsoft Edge what it should display in reading mode

三世轮回 提交于 2019-12-10 17:43:43
问题 Reading mode in Spartan/Edge seems to choose, somehow, which div on the site to display in reading mode. In many pages, it does not find the appropriate div (like bbc.co.uk). However, on our site, it enables reading mode, but then displays the completely wrong part of the page. So - how can I tell it to take the right part or at least how to disable it on those pages 回答1: You can find information on how to optimize reading view, as well as how to opt-out, here: http://dev.modern.ie/testdrive