Windows Hypervisor Platform is missing - xamarin

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

Related

Intel HAXM is not compatible with Hyper-V?

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!

VSTS 2017: How to deploy task on MacOSX test agent?

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

Running the Cordova Windows app requires the signing certificate installed

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.

WINDOWS APP DEVELOPMENT

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

Installing .net framework 3.5

When I am installing SQL Server 2008 R2 on Windows 8.1 there was an error saying download and install .net framework 3.5 (including 2.0 and 1.0)
And when I'm trying to install .net framework 3.5 from command prompt with following command,
C:\Windows\system32>DISM /Online /Enable-Feature /FeatureName:NetFx3 /All
/Limit Access /Source:c:\Windows\Logs\DISM\dism.log
I got the error
Deployment Image Servicing and Management tool
Version: 6.3.9600.16384
Image Version: 6.3.9600.16384
Enabling feature(s)
[===========================65.8%====== ]
Error: 0x800f081f
The source files could not be found.
Use the "Source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077.
Please help me.......
.NET framework 3.5 and 4.5 are parts of windows 8. so you have to add it using the windows features as described below :
go to your control panel -> Programs and features -> Turn windows features on or off
tick the check box .NET framework 3.5
some time the two KB not show up. the only way to uninstall those two KB is download tools from https://support.microsoft.com/en-us/kb/3005628
after remove those two KB. the 0x800f081f will gone.
In my case I had to update with latest patches (optionals also) the Operating System.
Then I added the W2012 dvd to disk D
And finally run the command (as administrator):
dism /online /enable-feature /featurename:NetFX3 /all /Source:D:\sources\sxs /LimitAccess

Resources