windows-10

Windows 10 Universal App - Type exists in both “Windows.Foundation.UniversalApiContract”

心不动则不痛 提交于 2019-12-05 00:10:33
somehow (I have not even done anything) I get many erros in Visual Studio 2015 but I cant understand what the problem really is. It says that a lot of "types" exists in both "Windows.Foundation.UniversalApiContract" libraries. Can somebody help me? What can I do to rescue my solution and my project? I've tried to clean and rebuild it sometimes and this doesn't helped. Looks like you are referencing both the Windows 10 SDK metadata (UAP) and the Windows 8.1 SDK metadata (Windows). Are you mixing old and new binaries, or an old project file? Try to create a new project from scratch and added

Device ID in a UWP app (threshold 1)

倾然丶 夕夏残阳落幕 提交于 2019-12-05 00:09:46
问题 In Phone 8.1 you could get the device ID using HardwareIdentification, and even though the documentation says it exists for Desktop apps, it does not exist for a UWP app. What is the alternative or a way to get a hardware ID for a UWP? 回答1: You're running into a common issue when migrating an app from Windows (Phone) 8(.1) to the Windows Universal Platform . The reason you're not seeing the HardwareIdentification is pretty simple: You don't reference the required sources! You only see

Default credentials for Jenkins after installation

旧城冷巷雨未停 提交于 2019-12-05 00:06:59
I have downloaded Jenkins on Windows10. When i try to access jenkins, it is asking for username and password. I have read the threads on the same issue. But I do not find any secrets folder or config.xml file under Jenkins folder. pat Username is admin . Password should be located in: $JENKINS_HOME/secrets/initialAdminPassword You can view the password using: cat /var/lib/jenkins/secrets/initialAdminPassword or cat $JENKINS_HOME/secrets/initialAdminPassword If you're using Jenkins inside of a Docker container, like I am, the following commands might be useful. docker exec -it ${jenkins

VirtualBox: Cannot access the kernel driver

℡╲_俬逩灬. 提交于 2019-12-04 23:50:52
问题 When I try to launch VM in Oracle VirtualBox on Windows 10 it says "Cannot access the kernel driver". I tried complete reinstall (remove everything and install), repair installation (repair in the installer) and installing 2 drivers manually (VBoxUSBMon and VBoxDrv). Nothing worked. I'm using VirtualBox 4.3.12 because I was not able to launch newer version on Windows 10 for some reason. 回答1: The problem is with the installer. The new location of the driver is at C:\Program Files\Oracle

Visual Studio 2015 slow

二次信任 提交于 2019-12-04 23:34:39
Hi I just did a new installation of windows 10 and installed visual studio 2015 ultimate. What I immediately noticed is that visuals studio 2015 is extremely slow for any action I take it has a 1-2 second delay. Opening a javascript file, writting some code, trying to open source control they all behave the same way.I have installed Web Essentials and Web Compiler on it addons that I have been using frequently in visual studio 2013. I know my question is vague but I can not seem to find what the source of the problem might be.I looked online and could not find anything o help. Does anyone now

DwmExtendFrameIntoClientArea strange behaviour on Windows 10

六眼飞鱼酱① 提交于 2019-12-04 23:04:52
问题 I'm having some trouble extending the window frames using DwmExtendFrameIntoClientArea on Windows 10. The images below show the behaviour I'm getting: The white titlebar colour is extended from the top, while from the sides and the bottom it extends the coloured edge of the window. If I set the margins all to -1 to extend the frames all the way, the window is filled with white and loses its coloured edge altogether: This result is very inconsistent, I was expecting the white colour to be

Xunit Unit Tests will not run

爷,独闯天下 提交于 2019-12-04 22:37:17
I am completely stuck on this issue. So my team has a unit test project in a services test project. The tests are discovered in the test explorer pane however when I try and run the tests I get these errors: 'Multiple test adapters with the same uri 'executor://xunit/VsTestRunner2' were found. Ignoring adapter 'Xunit.Runner.VisualStudio.TestAdapter.VsTestRunner'. Please uninstall the conflicting adapter(s) to avoid this warning' '[xUnit.net 00:00:00.0251250] Skipping: (could not find dependent assembly 'Microsoft.Extensions.DependencyModel, Version=1.1.0')' 'No test is available in C:\. Make

repositories.cfg could not be loaded in Windows 10 [closed]

时间秒杀一切 提交于 2019-12-04 22:27:47
while installing native-script i got repositories.cfg could not be loaded error , please help me debugging it. It would help me if you can give the way to download the file externally. The code i used was..... @powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString(' https://www.nativescript.org/setup/win '))" during installation it gets stuck saying c:\user\user-name.android\repositories.cfg cannot load file Try this: Error resolved by creating an empty repositories.cfg file. Reference 来源: https://stackoverflow.com/questions/47028626

How do I run the Visual Studio (2017) Installer?

送分小仙女□ 提交于 2019-12-04 22:19:19
It's probably really obvious once you know the answer, but I can't find it anywhere. I'm not talking about making an installer, I'm talking about running the installer that lets me modify which features of Visual Studio 2017 are installed. The main screen looks like this: the screen I need is this one: In Visual Studio 2017, there is a menu entry for "Extensions and Updates" under the Tool menu that doesn't take me to this application. There is also a "NuGet Package Manager" which isn't even close. In my Windows 10 start menu, I see Visual Studio 2017 itself, and a folder named "Visual Studio

Can I sync scrolling between multiple Listview items in UWP?

拥有回忆 提交于 2019-12-04 21:59:40
How can I link 2 Listview components, so that their scrolling is in sync (when I scroll one, the other scrolls too at the same time)? So basically I need a way to: 1) Monitor the scrolling event of Listview1 2) Set the same scrolling offset to Listview2 I found some examples here on Stackoverflow but they either refer to WPF, or WinRT and they are not compatible with my app. Thank you! What you have described in your question can be done by the following steps: Find the ScrollViewer inside the ListView (check out GetScrollViewer from this answer ). Subscribe to the ViewChanged event. Inside