I downloaded visual studio's latest release and installed it successfully but
when I run my xamarin forms project and open Android Device Manager in Visual Studio 2017 and run the emulator it says:
You are attempting to accelerate the emulator using Intel’s HAXM, but
you have Hyper-V enabled in your system settings. Disable Hyper-V by
running:
bcdedit /set hypervisorlaunchtype off
in an elevated command prompt and restart your computer before trying
again.
However I run this command bcdedit /set hypervisorlaunchtype off two to three times and restarted the PC but that is not working. Also I tried to find Hyper-V in windows feature but it is not present there. What could be the solution here? Thanks!
Related
I want to create a xamarin app, but i can't enable Windows Hypervisor Platform, because it is not listed. How should I enable it?
Uncheck Hyper-V.
Then in Visual Studio go to Tools-Android-Android SDK Manager-Tools-Extras-Intel X86 ... and install this.
Start cmd and run:
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V-All
Then reboot
I followed the instructions on Deploy Visual Studio Test Agent Task to deploy my job on Mac OSX agents.
My Mac OSX is 10.12, PowerShell is 6.0 and I have already installed .NET Core on Mac and also updated the openSSL followed by instructions.
My VSTS is: https://vivicai.visualstudio.com
Following command is for Windows, what’s the equivalent for Mac OSX?
netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=yes
After running following command in Mac OSX, it always shows the error,
what can I do to fix the error? Thank you very much.
ConfigureWinRM.ps1 {FQDN} https
It is not supported for Mac OSX.
Test: Visual Studio Test Agent Deployment
Demands and prerequisites
This task requires the target computer to have:
Windows 7 Service Pack 1 or Windows 2008 R2 Service Pack 2 or higher
.NET 4.5 or higher
PSRemoting enabled by running the Enable-PSRemoting PowerShell script
Install and configure test agents
Requirements
Windows 10
Windows 8, Windows 8.1
Windows 7 Service Pack 1
Windows XP Service Pack 3
Windows Server 2012, Windows Server 2012 R2
Windows Server 2008 Release 2, Service Pack 1
I add, build the Cordova Windows App successfully using:
cordova platform add windows
cordova build windows -- --apx=8.1-phone --arch=x86
However, when I tried to run the windows app on the simulator:
cordova emulate windows -- --apx=8.2-phone --arch=x86
It always said:
Found package: C:\project\platforms\windows\AppPackages\CordovaApp.Windows_1.0.0.0_x86_debug_Test\CordovaApp.Windows_1.0.0.0_x86_debug.appx
Found certificate: C:\project\platforms\windows\AppPackages\CordovaApp.Windows_1.0.0.0_x86_debug_Test\CordovaApp.Windows_1.0.0.0_x86_debug.cer
Before installing this app, you need to do the following:
- Install the signing certificate
Administrator credentials are required to continue. Please accept the UAC prompt and provide your administrator password if asked.
There is no promt for me to type the password of Admin after that. There is nothing I can do except "Ctrl-C" to break.
I open the folder:
C:\project\....\CordovaApp.Windows_1.0.0.0_x86_debug.cer
I installed the certificate, and re-do all the above steps. Nothing changes.
Could you help?
For more information:
cordova requirements
Requirements check results for windows:
Windows OS: installed Windows 10
MSBuild Tools: installed 12.0
Visual Studio: installed 14.0
Windows SDK: installed 8.1
Windows Phone SDK: installed 8.1
I found that the best way to debug a Windows app using Apache Cordova is to use Visual Studio debugger directly. So, just open Visual Studio, open your Windows Cordova project and run it on the device you need to test (current machine, simulator or device). It will works fine.
As Odonno says it does work a bit more smoothly when you just use Visual Studio however I was able to get it working via ionic CLI by manually installing the certificate. The double click install of the cert reported success but didn't actually install the cert.
Open the management console (or type 'certificate' on windows 10 to
see it pop up)
Naviagate to trusted root certificates
Right click on the folder and click import
Install the cert found in your app/platforms/windows/apppackages/xyz/ folder
Now you can successfully run the app via the ionic cli.
So I wanted to force an uninstallation of VS2015 Enterprise with "vs_enterprise.exe /uninstall /force", but I get an error message:
Update for Microsoft Windows (KB2999226) : The storage control blocks were destroyed.
I tried to restart my PC, so that Windows can apply that update, but it didn't work, the uninstall process always exits with that error.
I have no idea how to proceed.
When I tried to uninstall Visual Studio 2015 Community Edition I first when to the Control Panel > Programs and Features, tried to uninstall it that way.
Then found the following link:
force uninstall a visual studio 2015 preview or release candidate
Then navigated to C:\ProgramData and typed:
dir /s vs_community.exe
It generated this useful path info:
C:\ProgramData\Package Cache\{50b32652-69d2-4b93-9316-edcd12067b8b}
Then used Windows Explorer to go to that folder, Shift + Right Click > Open command window here and ran:
vs_community.exe /uninstall /force
I then got this error screen after a LONG time...
Then saw the below question:
removing visual studio components left behind after an uninstall
So I tried to run:
vs_community.exe /repair
It ended up hanging and I force quit it after about a half hour. Then I ran:
vs_community.exe /uninstall /force
This time I checked the error log, and found the following line very near the bottom.
Applying execute package: Windows7_MSU_x64, action: Uninstall, path: 2999226, arguments: '"C:\windows\SysNative\wusa.exe" /uninstall /kb:2999226 /quiet /norestart'
Thought I had to install the KB2999226 update because of the error:
Update for Microsoft Windows (KB2999226) : The storage control blocks were destroyed.
So I installed it, but vs_community.exe still wouldn't force uninstall. I probably already had the update installed, but can't find out because my windowsupdate.log file only goes back a month or so? Anyhow, my installing of the update probably didn't change anything.
According to the following articles:
sysnative folder 64 bit windows
File System Redirector - MSDN
The Windows7_MSU_x64 was trying to get to the C:\Windows\System32 folder, but because I have a 64-bit version of Windows 7, it was trying to reach the C:\windows\SysNative folder, because it is an auto-redirect to the real System32 folder. For some reason I don't have a SysNative folder, so...
I then went to Windows Update and uninstalled the KB2999226 update and went back to:
C:\ProgramData\Package Cache\{50b32652-69d2-4b93-9316-edcd12067b8b}
Ran the following again:
vs_community.exe /uninstall /force
This time it worked and I got the screen:
I had the same issue (WINDOWS 7) and I solved by making sure the following KB's were installed:
KB3139923
KB3072630
Having one installed without the presence of the other was causing the issue.
In case anyone encounters this again, the following did the trick for me:
Download and install KB2999226 from
https://www.microsoft.com/en-us/download/details.aspx?id=49093
Create a symbolic link from c:\Windowss\SysNative to c:\Windows\System32 using the following command line:
mklink /D c:\Windows\SysNative c:\Windows\System32
Running the following command from command prompt:
"C:\ProgramData\Package Cache\{68432bbb-c9a5-4a7b-bab3-ae5a49b28303}\vs_professional.exe" /uninstall /force
The {6844...} part might be different on different machines and the vs_professional.exe might be located at different location but I guess anyone should be able to search for it inside the "PackageCache" folder
I had just the same issue. But for me nothing here has worked.
The only way worked for me was the standard way through the Windows Uninstall panel. The only difference here you have to reboot and uninstall it again until the option disappeared from the panel.
The below steps fixed it for me.
First uninstall KB2999226:
wusa.exe /uninstall /kb:2999226 /quiet /norestart
Download and re-install KB2999226 (the one we just uninstalled above):
https://www.microsoft.com/en-us/download/details.aspx?id=49093
Uninstall Visual Studio from admin shell (you can use the install exe you originally used for the install):
vs_community.exe /uninstall /force
I have just started Windows Application Development and have installed Visual Studio 13 and Microsoft sdk 8.I am experiencing problems in Deploying the the app on the emulator.It says that Hyper V is not enabled on my pc. When i searched this error on the internet i found out thAt hyper v is windows 8.1 pro only feature and i have windows 8.1 single language and i don't want to upgrade because of monetary reasons.
So i just to know is there another way through which i can proceed app development on my computer either by using another emulator or any other way possible.
I read about oracle vm also but couldn't figure out to connect it to my visual studio 2013.
You could develop on a VirtualBox virtual machine which has a trial version of Windows 8 installed. You install the trial Windows 8, Visual Studio and SDKs on the VM, and do all development there. It's slower, but it works for us.
To make the creation and maintenance of the virtual machine image easier, there are some things you can do. First, start with a vm image from the IE team. Next you can install Chocolatey and find and install packages for Visual Studio and the SDKs you need. If you use source control and use these technologies, provisioning a new development VM should become very quick.
The recipe I use to make development Windows boxes goes something like this:
On your machine
Install Chocolatey
In elevated Powershell: iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
Run elevated: choco install virtualbox
Download Win8.1 virtual box image and run it
On the Win8.1 VM
Install Chocolatey (as above)
Run the following in an elevated command to provision:
choco install virtualbox.extensionpack
choco install visualstudio2013professional
choco install windows-sdk-8.1
dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All