windows-10

Windows 10 Store: You cannot submit pre-compiled .NET Native packages

烈酒焚心 提交于 2020-04-11 04:07:08
问题 I'm trying to release my application targetting Windows 10 (Universal Windows) based in Cordova to existing Windows Phone 8.1 store record. After generating app package through Store - Create App Packages I get 19 MB file named CordovaApp.Windows10_1.3.2.0_x86_x64_arm.appxbundle . Then I upload this file to App Packages and get. CordovaApp.Windows10_1.3.2.0_x86_x64_arm.appxbundle 18.9 MB Package acceptance validation error: You cannot submit pre-compiled .NET Native packages. Please upload

WlanHostedNetworkStartUsing or how windows 10 builtin mobile hotspot works

回眸只為那壹抹淺笑 提交于 2020-04-10 16:49:53
问题 I'm trying to write a program which creates hotspot. I'm using WlanHostedNetworkStartUsing but it returns ERROR_INVALID_STATE . And yet when I call WlanHostedNetworkInitSettings it returns succsess. According to documemtation (last paragraph in Remarks section) it should to create a virtual wireless connection under Control Panel\Network and Internet\Network and Sharing Center but it doesn't. I've searching a bit and found this: When I run netsh wlan show drivers it puts: Driver : Intel(R)

WlanHostedNetworkStartUsing or how windows 10 builtin mobile hotspot works

ぃ、小莉子 提交于 2020-04-10 16:47:49
问题 I'm trying to write a program which creates hotspot. I'm using WlanHostedNetworkStartUsing but it returns ERROR_INVALID_STATE . And yet when I call WlanHostedNetworkInitSettings it returns succsess. According to documemtation (last paragraph in Remarks section) it should to create a virtual wireless connection under Control Panel\Network and Internet\Network and Sharing Center but it doesn't. I've searching a bit and found this: When I run netsh wlan show drivers it puts: Driver : Intel(R)

Registering an Application to a URI Scheme in windows 10

…衆ロ難τιáo~ 提交于 2020-04-07 16:09:08
问题 A few years back I developed a Silverlight Component called from within an ASP.net web app, that uses PInvoke to access a USB (Serial COM port) on the client machine to allow for sending commands to some scanner hardware. With the advent of Windows 10 and the inevitable demise of Silverlight I am looking for alternatives to accessing hardware on the client PC (This is all Intranet Web Application stuff where we have a lot of control over the implementation) Currently I am looking at

Can desktop app desktop-bridged via Visual Studio call UWP APIs?

荒凉一梦 提交于 2020-03-26 05:14:40
问题 I'm a bit confused about calling Calling UWP APIs from a desktop app. The last sentence of the first paragraph of this link states: a WPF, Windows Forms, or Win32 app cannot call UWP API unless the app is packaged in an MSIX package. Using VS2019 I have desktop-bridged my WPF app (developed in VS2019 ). This process created a folder (under ...\AppPackages folder) whose contents are shown below. Double clicking the .appxbundle from this folder, I can successfully sideload the app on my Windows

Debugging UWP .NET app: Unhandled exception at 0x79A1CFAC (SharedLibrary.dll) in MyApp.exe: 0x00001007

三世轮回 提交于 2020-03-25 12:34:20
问题 I've built a Xamarin.Forms app and when I try to debug its UWP frontend in Debug|AnyCPU mode I get this exception at launch: Unhandled exception at 0x79A1CFAC (SharedLibrary.dll) in MyApp.exe: 0x00001007 Visual Studio wouldn't let me copy all the details to the clipboard so I had to take a screenshot: If I run it in Debug|x64 mode I get a completely different exception: Unhandled exception at 0x00007FFFEA232EC0 (Windows.UI.Xaml.dll) in MyApp.exe: 0xC000027B: An application-internal exception

Zookeeper admin server Port

こ雲淡風輕ζ 提交于 2020-03-23 05:44:17
问题 Installed zookeeper 3.5.6 bin on windows. Getting error: Unable to start AdminServer, exiting abnormally org.apache.zookeeper.server.admin.AdminServer$AdminServerException: Problem starting AdminServer on address 0.0.0.0, port 8080 and command URL /commands Where do I find the AdminServer configuration properties to fix this. In my conf directory the .cfg does not have anything, and I cant find anything anywhere else either?? The documentation is referring to zookeeper.admin.serverPort

How to run powershell script using task scheduler in silent/hidden mode?

佐手、 提交于 2020-03-18 05:35:08
问题 I am trying to run powershell script using task scheduler and it pops up powershell cmd window. Is there a way to disable this while running the script? I am on powershell v5.0 I've tried -WindowStyle Hidden but still powershell cmd window pops up. Any guidance welcome. Thank you. 回答1: Since powershell.exe is a console program, you can't execute it normally without its console window appearing (although you can hide it shortly after it starts by using -WindowStyle Hidden , as you have noted).

Cannot run web application on Windows 10 using IIS Express

青春壹個敷衍的年華 提交于 2020-03-17 05:37:20
问题 I am developing a web application using ASP.NET MVC (a rather simple application, having just a single controller and a few routes; there´s nothing fancy in it). In the beginning I used Visual Studio 2013 and Windows 8/8.1. A couple of days ago I switched to Windows 10 and I am having trouble to run the application on my local development machine (I have both Visual Studio 2013 and 2015 installed, but I continue using Visual Studio 2013 for this project). When I start a new instance for

Different binding behavior for string[] and List<string>

雨燕双飞 提交于 2020-03-02 00:33:47
问题 I try to understand (without success) why binding behaves differentially when source object is string[] and List<string> . I have two lists, their only difference is ItemsSource - in one case array in second List : XAML code: <StackPanel Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> <Button Content="Modify items" Click="Button_Click"/> <StackPanel Orientation="Horizontal"> <StackPanel.Resources> <DataTemplate x:Key="ItemTemplate"> <TextBlock Text="{Binding}" FontSize="16"/