windows-10

How to attach to IIS process (w3wp.exe) on Windows 10/IIS 10?

℡╲_俬逩灬. 提交于 2019-11-30 21:34:30
问题 Using Visual Studio 2013 in Windows 8.1, I've been used to debug applications hosted in IIS by attaching to the w3wp.exe process running the Application Pool. After upgrading from 8.1 to 10, I can no longer see any w3wp.exe processes in the Attach to Process dialog even if the Show processes from all users checkbox is checked. What is the process name for application pools in IIS 10? Maybe there's another way to debug IIS applications in Windows 10? UPDATE: The issue was that all w3wp.exe

ShellIconOverlayIdentifiers and windows10

笑着哭i 提交于 2019-11-30 20:42:34
Icon overlays are becoming an annoying problem for me. On windows10 it seems like you can have 11 (or is it 10?) overlay icons set, others are ignored. This is very low number that is easily used even by one service. So windows just takes first N settings as by alphabetical order which started the following petty trend. This is my registry: As you can see, companies started adding spaces to get to the front of the order. In recent update dropbox added third space already! Question: 1) Is there a way to use something else than alphabetical order to tell windows which N settings (as much as

Run Shiny App from Shortcut Windows 10

允我心安 提交于 2019-11-30 20:19:38
问题 I'm trying to create a shortcut on the desktop to run a Shiny app. I am stuck on creating a batch file to execute this and after scouring the web, I still haven't been able to get it to work. I am on Windows 10. At the moment I have a folder on the desktop called "test" with contents: ui.R server.R run.R test.bat Within test.bat, I have: "path to R.exe" CMD BATCH "path to my r script" I double click on test.bat, and it flashes a window before closing. How can I get this to work? Thank you

UWP problems with multiple views

你。 提交于 2019-11-30 20:13:07
I am writing an app which should be able to run multiple views to edit different documents each in their own window. I've wrote some code which works, but I'm having some problems with it. The code I wrote is based upon the Multiple Views sample provided by Microsoft ( https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/MultipleViews ). I have mainly two problems. The first one is if I close the main view, that is the first window that was open when the application was launched, then I cannot open any new views/windows by clicking in the app tile or opening an associated

Uwp navigation example and focusing on control

蹲街弑〆低调 提交于 2019-11-30 19:50:21
I use uwp navigation example as an example for my application navigation. I need to set the focus on TextBox. I try it on uwp navigation example . For BasicPage I add this code: <StackPanel Orientation="Vertical"> <TextBox x:Name="Test" /> <TextBox x:Name="Test1" /> </StackPanel> public BasicPage() { this.InitializeComponent(); this.Loaded += BasicPage_Loaded; } private void BasicPage_Loaded(object sender, RoutedEventArgs e) { Test1.Focus(FocusState.Programmatic); } Test1 does not receive the focus. I try this code in a "normal" windows universal app - it is work. What do you advise? It is

How to create and install X.509 self signed certificates in Windows 10 without user interaction?

柔情痞子 提交于 2019-11-30 19:08:21
The problem Create and install temporary certificates to sign code in my development environment. This has to be done with an unattended script (without user interaction). The legacy script Right now, I have this script that creates the certificates using the deprecated tool makecert : makecert -r -pe -n "CN=My CA" -ss CA -sr CurrentUser -a sha256 -cy authority -sky signature -sv MyCA.pvk MyCA.cer certutil -user -addstore Root MyCA.cer certutil -addstore Root MyCA.cer makecert -pe -n "CN=My Company" -a sha256 -cy end -sky signature -ic MyCA.cer -iv MyCA.pvk -sv MySPC.pvk MySPC.cer pvk2pfx.exe

UWP - .NET Native tool chain compilation error

依然范特西╮ 提交于 2019-11-30 18:46:52
问题 I've developed a simple and small Universal Windows App that uses EF7 and SQLite. It compiles and runs smoothly when the option "Compile with .NET Native tool chain" is unchecked . If I check the option "Compile with .NET Native tool chain" , I get the following compilation error: Error Type 'System.MarshalByRefObject' was not included in compilation, but was referenced in type 'Microsoft.Data.Entity.Design.OperationExecutor'. There may have been a missing assembly. After this there's a lot

Which .Net version does windows 10 have built-in? [closed]

江枫思渺然 提交于 2019-11-30 18:20:01
I want to know which .Net version does windows 10 have built-in? like Windows 7 comes with 3.0 and 3.5 .Net pre-installed by default. pun Here is a link to Microsoft Article that answers " What version of the .NET Framework is included in what version of the OS? " Windows 10 (all editions) includes the .NET Framework 4.6 as an OS component, and it is installed by default. It also includes the .NET Framework 3.5 SP1 as an OS component that is not installed by default. The .NET Framework 3.5 SP1 can be added or removed via the Programs and Features control panel. .NET 4.6 should normally be

SplitView.PaneClosed event is available but not for PaneOpened

扶醉桌前 提交于 2019-11-30 18:08:00
问题 According to the https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.controls.splitview.paneclosed.aspx there is no PaneOpened event for the SplitView control, only PaneClosed event for the SplitView control that exists. I have a Button control inside a SplitView pane that needs to change in size according whether the pane is opened or closed. So my plan is I will place a piece of code that will change the button size wider in the PaneOpened event, and restore it back to the

Visual Studio 2015 does not start, missing .Net Framework 4.6

雨燕双飞 提交于 2019-11-30 18:06:13
I created a virtual machine with Hyper-V and installed Windows 10 Technical Preview on it, due to necessity I had to install Visual Studio 2015 RTM with all features. No sooner said than done! After the setup process, I restarted, as usual, the machine and wanted to start Visual Studio, but it didn't work, telling me: ".Net Framework 4.6 is missing, please install or repair" I checked the installation. .Net Framework 4.6 is already installed. I also downloaded the .Net Framework 4.6 Preview and Visual Studio .Net Framework 4.6 Installers (Offline+Web) but all telling me it is already installed