windows-10

Unable to share image using DataTransferManager in Windows 10

泄露秘密 提交于 2019-12-10 15:55:20
问题 Requirement: Share a text and image using DataTransferManager into Facebook in Windows 10. Problem: Unable to share image. Below shown is the code I used, private async void DataTransferManager_DataRequested(DataTransferManager sender, DataRequestedEventArgs args) { DataRequestDeferral deferral = args.Request.GetDeferral(); args.Request.Data.Properties.Title = "Sharing sample"; args.Request.Data.SetText("Testing share in universal app"); var imageUri = "http://cdn.vrworld.com/wp-content

SourceTree not working after Windows 10 Fall Creators Update

删除回忆录丶 提交于 2019-12-10 15:43:00
问题 After install Windows 10 Fall Creators Update, sourcetree stop working. When I try to open nothing happens. I've already try to reinstall but no success. 回答1: It was a bug! Affects Version/s: 2.2.4.0, 2.3.1.0 They released version 2.3.5.0 which includes a fix for this issue. You can download it here: https://downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-2.3.5.0.exe 来源: https://stackoverflow.com/questions/46847809/sourcetree-not-working-after-windows-10-fall-creators

Default printer is not returned in windows 10

 ̄綄美尐妖づ 提交于 2019-12-10 15:29:07
问题 I have updated my windows environment from 8 to 10 and found that the default printer is not being returned and a different one is returned instead. I have turned off the "Let windows manage my default printer" setting, but still not getting the default printer. I have the following code: private void testPrinter() { PrintService[] array = PrintServiceLookup.lookupPrintServices(null, null); for(PrintService ps : array){ System.out.println(ps.getName()); } } In this test, I get a list of

Get CPU, RAM and GPU information - UWP App

筅森魡賤 提交于 2019-12-10 15:28:49
问题 Is possible get the information of the CPU, GPU and RAM of a computer, in a UWP app? E show this information in a textblock. I want to know the processor model (for example: Intel Core i7 xxxx), and total RAM 回答1: I want to know the processor model (for example: Intel Core i7 xxxx), and total RAM If in this case, UWP app cannot meet your demands. In UWP you can not get the system CPU , GPU and RAM information since it is sandbox. For RAM, UWP can only access to information on current app's

How to consume duplex wcf service in Windows Universal App

江枫思渺然 提交于 2019-12-10 14:19:51
问题 How can I consume wcf service with duplex contract in Windows universal app? I'm getting PlatformNotSupportedExcetpion: Operation is not supported on this platform. runtime exception when trying to consume duplex wcf service in Windows Universal App, targeting Windows 10 (10.0; Build 10240) According msdn it is supported API. If it is not possible, how should I proceed in my scenario? I have two applications (console and windows universal xaml app) running on the same machine and I need two

Why Slack is causing Windows 10 BSOD?

天涯浪子 提交于 2019-12-10 13:44:24
问题 I have experienced BSOD every time I have resumed laptop from sleep. I have analyzed the minidump using WinDbg and the causing processes is always Slack.exe . I have googled a bit I have found https://www.tenforums.com/bsod-crashes-debugging/80584-0x139-bsods-daily-when-waking-up-sleep.html. Their suggestion is not to use Windows 10 Slack version or close it before going to sleep. What is the real reason that Slack.exe is causing this BSOD? I assume that Slack does not directly contain any

Ignoring Self-Signed Certificates from Powershell Invoke-RestMethod doesn't work (it's changed again…)

十年热恋 提交于 2019-12-10 13:35:25
问题 After using standard solutions for ignoring certificate verification, Invoke-RestMethod is returning: Invoke-RestMethod : A system error occurred and has been logged. Please try again later or contact your administrator. I just noticed this failure today, so I think it has something to do with a Powershell update. By "standard solutions" I mean: [System.Net.ServicePointManager]::ServerCertificateValidationCallback = { $true } which stopped working a few months ago, and setting the callback

dotnet restore works locally but fails when building Docker container

感情迁移 提交于 2019-12-10 13:29:40
问题 If I create a new console application using dotnet classlib -lang f# -o hello-docker , cd into the directory and then run dotnet restore , everything works as expected. However, if I add a Dockerfile with the following content FROM microsoft/dotnet:2-sdk WORKDIR /hello COPY hello-docker.fsproj . COPY *.fs ./ RUN dotnet restore RUN dotnet build ENTRYPOINT [ "dotnet", "run" ] and run docker build . , it fails to reach nuget.org with the following message: /usr/share/dotnet/sdk/2.0.0/NuGet

Does Windows Edge browser drop the Compatibility mode?

怎甘沉沦 提交于 2019-12-10 13:24:57
问题 We've been using the x-ua-compatible meta tag in our html, in IE , to force the client to IE-9 . Will this no longer work? This article would suggest the meta tag will not be ignored and forced to the new Edge mode. http://blogs.windows.com/msedgedev/2014/11/11/living-on-the-edge-our-next-step-in-helping-the-web-just-work/ 回答1: That article is old and Microsoft has changed their stance later (approx. February-March). Edge will not be burdened with IE compatibility features. It will only have

SettingsPane not found in Windows 10 build

你离开我真会死。 提交于 2019-12-10 12:55:59
问题 I am building a new Windows 10 UWP (Universal Windows Platform) app using Visual Studio 2015. Actually I am porting my Windows 8.1 app, but I did so by creating a whole new project and manually pulling in each class. My app is failing to build with the following error: The type or namespace name 'SettingsPane' could not be found (are you missing a using directive or an assembly reference?) The C# file in question does have a using statement for Windows.UI.ApplicationSettings , and I also get