windows-10

How to remove the Win10's PATH from WSL

天大地大妈咪最大 提交于 2019-11-28 09:20:10
I use Windows Subsystem Linux(Ubuntu 18.04) in my Win10, and I install a Maven in it. Besides, I install a maven in Win10 before. Now when I used mvn compile in WSL, it told me that maven compile fail. I use which mvn and find that it references to the Maven installed in Win10. Besides, I run env and find that Win10's Path is added to the WSL's Path. I don't want to use any thing in Win10's Path when I use WSL, how should I do? Biswapriyo For Windows build LOWER than 17713: WSL uses WSL_DISTRIBUTION_FLAGS Enumeration to configure its behavior and interoperability between Windows and Linux side

CouchDB fails to start after applying Windows 10 Creators Update

半腔热情 提交于 2019-11-28 08:30:21
问题 I'm running CouchDB 2.0 on Windows for development purposes. After applying the Windows 10 Creators Update, the CouchDB service doesn't start anymore. When I try to start it manually, I get a generic "unable to start service" error message. 回答1: CouchDB 2.0 on Windows uses the Non-Sucking Service Manager (NSSM) to run itself as service. Apparently, NSSM has problems after the creators update has been applied: 2017-04-26: Users of Windows 10 Creators Update should use prelease build 2.2.4-101

Windows 10 Mobile Error: DEP6200

假装没事ソ 提交于 2019-11-28 08:09:05
问题 I am trying to deploy a Windows 10 app to a Lumia 635 running 10.0.10586.11 and I get this error: Error : DEP6100 : The following unexpected error occurred during bootstrapping stage 'Connecting to the device 'DEVICE GUID'.': SEHException - External component has thrown an exception. Error : DEP6200 : Bootstrapping 'Device' failed. Device cannot be found. The data necessary to complete this operation is not yet available. Unlike most, I am capable of deploying to an Emulator, just not the

How to set Content Security Policy in Windows Universal apps

无人久伴 提交于 2019-11-28 07:36:35
问题 I don't even know if that's what I need, but after several days of this MSDN Forum post with no answers at all I thought I'd give a shot in SO. My problem : I have many Windows 8.1 and Windows Phone 8.1 HTML/Javascripts apps that have a little <script> sentence in the <head> of every html page. I started migrating my apps to Windows 10 as a single Universal Windows app but I get the following error: CSP14312: Resource violated directive 'script-src ms-appx: data: 'unsafe-eval'' in Host

how to deploy windows phone 10 application to a device?

佐手、 提交于 2019-11-28 07:29:40
I am using a Nokia lumia630 device, which uses latest windows 10 insider preview build available. i created a sample windows UWP application and took a build of the same.The output of the build is an Appx. How can i install this Appx to my device? Anyone having any idea? Deploying apps to Win 10 Mobile is a bit difficult when using the command line tool. A great alternative is the Device Portal that is available under the “For Developer” settings.Its available with the latest build. Now You can connect to the device using a web browser and manage apps via the Apps page with no pairing/pin

x:Static in UWP XAML

梦想的初衷 提交于 2019-11-28 07:29:28
An app I'm working on requires a ConverterParameter to be an enum. For this, the regular way to do would be: {Binding whatever, Converter={StaticResource converterName}, ConverterParameter={x:Static namespace:Enum.Value}} However, the UWP platform x: namespace does not seem to have the Static extension. Does anyone know if there's a solution that does not rely on x:Static for comparing an enum in binding? This works for me in a UWP: <Button Command="{Binding CheckWeatherCommand}"> <Button.CommandParameter> <local:WeatherEnum>Cold</local:WeatherEnum> <Button.CommandParameter> </Button> There is

Windows 10 UAP back button

馋奶兔 提交于 2019-11-28 07:27:41
How would I handle the back button for windows mobile 10 and the back button for windows 10 tablet mode? I've been looking everywhere but can't find any examples for it. This topic is one of the examples used in the Guide to Universal Windows Platform apps . I strongly suggest reading that when getting started with Universal apps. For the button on the page header use Windows.UI.Core.SystemNavigationManager and set the AppViewBackButtonVisibility property to show or hide the button and handle the BackRequested event to perform the navigation. Windows.UI.Core.SystemNavigationManager

Maven build and maven-failsafe-plugin - The forked VM terminated without properly saying goodbye

不羁的心 提交于 2019-11-28 07:22:26
问题 I use Docker and https://github.com/fabric8io/docker-maven-plugin for my integration tests. On my Windows 10 ( after updating to Windows 10 1709 ) machine I faced the following error with my Maven 3.5.0 build: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.20.1:verify (default) on project api: There are test failures. [ERROR] [ERROR] Please refer to D:\Projects\example\api\target\failsafe-reports for the individual test results. [ERROR] Please refer to dump

How can I detect if my app is running on Windows 10

ⅰ亾dé卋堺 提交于 2019-11-28 07:11:25
I'm looking for a means to detect if my C# app is running on Windows 10. I had hoped that Environment.OSVersion would do the trick, but this seems to return a Version of 6.3.9600.0 on Windows 8.1 and Windows 10. Other solutions such as this don't seem to distinguish between Windows 8 and Windows 10 either. Any suggestions? Why do I need to do this? Because I'm using a WinForms WebBrowser control to host an OAuth page that crashes and burns in older IE versions (my app connects to a user's Nest account ...). By default, the WebBrowser control emulates IE7. Using a Registry key, you can tell it

Will Microsoft Edge and Windows 10 support HTA?

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-28 07:09:12
问题 I'm working on an HTML Application for Windows 8.1, and, as our office soon will use Windows 10, I'm wondering if MS Edge and Windows 10 still support HTA. 回答1: No. However, you can still run legacy HTAs in IE9 mode. For new development using web technologies, Microsoft is recommending a switch to Windows Store Apps. Here's what Microsoft had to say about HTA support in IE10 and later: The Internet Explorer team is increasingly focused on standards compliance, and markup-based behaviors are