windows-10
Xunit Unit Tests will not run
Installing or updating “xunit.runner.visualstudio” package did the trick for me. Until that, it was not working with framework 462.
Vagrant cannot find box [closed]
Try this $ sudo rm /opt/vagrant/embedded/bin/curl https://github.com/Varying-Vagrant-Vagrants/VVV/issues/354
GetWindowRect returns a size including “invisible” borders
Windows 10 has thin invisible borders on left, right, and bottom, it is used to grip the mouse for resizing. The borders might look like this: 7,0,7,7 (left, top, right, bottom) When you call SetWindowPos to put the window at this coordinates: 0, 0, 1280, 1024 The window will pick those exact coordinates, and GetWindowRect … Read more
How to make Eclipse behave well in the Windows 10 taskbar and program search?
This is an updated version of icyitscold’s answer that doesn’t require uninstalling/reinstalling eclipse. 1) Unpin any eclipse icons 2) Run “eclipse.exe -clean” to clear the cache and then close eclipse 3) Modify ./plugins/org.eclipse.epp.package.xxxxx/plugin.xml The folder varies based on which version of eclipse you are using: j2ee, java, c++ etc. Change the appName property – call … Read more
How can I detect if my app is running on Windows 10
Answer Use Environment.OSVersion and add an application manifest file with relevant supportedOS elements uncommented. e.g. add this under <asmv1:assembly> <compatibility xmlns=”urn:schemas-microsoft-com:compatibility.v1″> <application> <!– Windows 10 –> <supportedOS Id=”{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}”/> <!– Windows 8.1 –> <supportedOS Id=”{1f676c76-80e1-4239-95bb-83d0f6d0da78}”/> <!– Windows Vista –> <supportedOS Id=”{e2011457-1546-43c5-a5fe-008deee3d3f0}”/> <!– Windows 7 –> <supportedOS Id=”{35138b9a-5d96-4fbd-8e2d-a2440225f93a}”/> <!– Windows 8 –> <supportedOS Id=”{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}”/> </application> </compatibility> Reason … Read more
How to enable/disable buildkit in docker?
You must adjust the Docker Engine’s daemon settings, stored in the daemon.json, and restart the engine. As @Zeitounator suggests, you should be able to temporarily disable the buildkit with DOCKER_BUILDKIT=0 docker build .. Docker CLI will parse that environment variable and should honor it as that checking is done here in the docker/cli source code. … Read more
Batchfile: What’s the best way to declare and use a boolean variable?
set “condition=” and set “condition=y” where y could be any string or numeric. This allows if defined and if not defined both of which can be used within a block statement (a parenthesised sequence of statements) to interrogate the run-time status of the flag without needing enabledelayedexpansion ie. set “condition=” if defined condition (echo true) … Read more
How to install the Inspect tool on Windows 10?
Since 10.0.15063 the directory of the tools has changed. See the changelog: To improve the developer experience, tools and metadata will lay down in versioned folders. This will allow developers to isolate the SDK and tools between releases. You have to put the version of the Windows SDK between bin and x64 (or x86 or … Read more
Setting up enviroment variables in Windows 10 to use java and javac
Just set the path variable to JDK bin in environment variables. Variable Name : PATH Variable Value : C:\Program Files\Java\jdk1.8.0_31\bin But the best practice is to set JAVA_HOME and PATH as follow. Variable Name : JAVA_HOME Variable Value : C:\Program Files\Java\jdk1.8.0_31 Variable Name : PATH Variable Value : %JAVA_HOME%\bin