windows-10

Jenkins on Windows 10 with Bash

一笑奈何 提交于 2019-12-21 17:28:05
问题 I'm currently setting up a Jenkins server on Windows 10, in the hope of being able to make the build scripts more cross platform I was hoping to take advantage of the bash environment that is available in Windows 10. I hoped this could be done just by setting the path to the shell in Jenkins to be the bash executable, however I've encountered some problems with trying to get this to work. Firstly when I set the path to be C:\Windows\System32\bash.exe but Jenkins didn't seem to be able to see

How to resolve “ 'IAsyncActionWithProgress<>' is defined in an assembly that is not referenced” in Windows UAP app

ぃ、小莉子 提交于 2019-12-21 12:21:43
问题 I am developing a Windows UAP app in Visual Studio Ultimate CTP 2015 (latest one available in site). I am facing issues while using await on Functions returning IAsyncActionWithProgress<>, IAsyncAction<> , IAsyncOperation<> and IAsyncOperationWithProgress<>. I am getting the following error Error CS0012 The type 'IAsyncActionWithProgress<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken

improper scaling of Qt Desktop application in windows 10

为君一笑 提交于 2019-12-21 12:13:49
问题 I'm writing a simple Qt (Widgets) Gui application for windows 10. I'm using the 5.6.0 beta version of Qt. The problem I'm having is that it isn't scaling right to the screen of my surfacebook at all: It's a bit hard to tell because SO scales the image, but notice how small the dock widget title bar controls are relative to the window title bar controls. This link from Qt talks about scaling, but it's mostly focuses on qml/qtQuick and mobile applications in general, and additionally seems to

Creation of the virtual directory failed with error: cannot write configuration file applicationhost.config

别等时光非礼了梦想. 提交于 2019-12-21 09:25:46
问题 I'm just simply trying to open up a VS 2017 project. When I open the solution, I get the following error message: Creation of the virtual directory http://localhost:58051/failed with the error: Filename: \?\C:\Users\Visual Studio 2017\Projects\Testing\Version 2.0.vs\config\applicationhost.config Error: Cannot write configuration file I've checked the folders along the file path and they are not encrypted. All the folders along the file path have a black box for the Read Only attribute. When I

Is Universal Windows Platform the replacement of WinRT of Windows 8 and Windows Phone apps?

老子叫甜甜 提交于 2019-12-21 07:24:13
问题 Is Universal Windows Platform the replacement of WinRT of Windows 8 and Windows Phone apps? I mean, there was a WinRT platform to develop metro apps exclusively for Windows 8. Now, that is replaced by UWP, isn't it? 回答1: That is correct, UWP is the new platform for ALL Windows devices going forward (Win 10+). However WinRT is not replaced by UWP but is instead an extension on top of it, making UWP a much broader set of APIs that can be used across even more devices. As Microsoft themselves

Can't Install Visual Studio 2010 on Windows 10

房东的猫 提交于 2019-12-21 07:06:31
问题 When I run the VS2010 installer, nothing opens. I checked my running processes and I do not see anything new in there either. I have tried running it in compatibility mode for 8, 8.1, and 7. I have also tried running it as an administrator. Same problem. Opening the setup causes nothing to happen. I am on the latest Windows 10 build (10122), the previous build did not work either. Does anyone have any ideas or know how to fix this? Thank you. Edit: I'm actually having the same problem in a

chmod WSL (Bash) doesn't work

不羁岁月 提交于 2019-12-21 06:56:27
问题 Running bash on windows 10, the simple syntax below works when I SSH to my webserver, but not when I exit out and am on my local machine. It doesn't give me an error, but I can see permissions are unchanged. I have to checked that I am set up as an administrator on my computer. Is this an error or is this just a consequence of the local operating system being windows? IF the later, it makes me question the value of using bash on windows if common operations such as this won't work. $chmod 644

Visual Studio Cordova - You may not have the required environment or OS to run this project

只愿长相守 提交于 2019-12-21 06:29:46
问题 I have a problem in Visual Studio 2015 Community - Apache Cordova. I try to run a simple application both in Debug mode as in Release mode and is generated the following error: *2> ANDROID_HOME=F:\AndroidSDK 2> JAVA_HOME=C:\Program Files (x86)\Java\jdk1.7.0_55 2>C:\Temp\BlankCordovaApp1\BlankCordovaApp1\platforms\android\cordova\node_modules\q\q.js:126 2>throw e; 2>^ 2>Error: Device communication timed out. Try unplugging & replugging the device. 2>at null._onTimeout (C:\Temp\Excluir

Visual Studio Cordova - You may not have the required environment or OS to run this project

青春壹個敷衍的年華 提交于 2019-12-21 06:29:15
问题 I have a problem in Visual Studio 2015 Community - Apache Cordova. I try to run a simple application both in Debug mode as in Release mode and is generated the following error: *2> ANDROID_HOME=F:\AndroidSDK 2> JAVA_HOME=C:\Program Files (x86)\Java\jdk1.7.0_55 2>C:\Temp\BlankCordovaApp1\BlankCordovaApp1\platforms\android\cordova\node_modules\q\q.js:126 2>throw e; 2>^ 2>Error: Device communication timed out. Try unplugging & replugging the device. 2>at null._onTimeout (C:\Temp\Excluir

Powershell: Getting GPS Coordinates in Windows 10 - Using Windows Location API?

落花浮王杯 提交于 2019-12-21 05:41:24
问题 I'm looking for a way to gather internal GPS data from a powershell script using Windows Location API, as the Windows Location Platform is no longer able to satisfy the need. Previously, there was a com object to use. Is there a way for this to be accomplished in Windows 10? 回答1: An example of using the System.Device.Location method, this should be what you're looking for. Add-Type -AssemblyName System.Device #Required to access System.Device.Location namespace $GeoWatcher = New-Object System