Page 1 of 1
How to install Visual Studio Community on Windows 10 inside VirtualBox 6?
Posted: 19. Apr 2019, 13:56
by rodrigoguariento
I've downloaded Visual Studio (Community) Installer, and in a real machine with Ubuntu 18.04LTS with VirtualBox 6, and inside a Windows 10 Enterprise, I got the message when I've tried to install Visual Studio Community 2019: "this product is not compatible with this version of windows. try updating windows first." but, I ended up updating Windows right now, no more updates. This Windows is clean, I end up installed it. Suggestions? In a real machine with the same Windows 10 installs normal.
Re: How to install Visual Studio Community on Windows 10 inside VirtualBox 6?
Posted: 19. Apr 2019, 16:09
by mpack
We are not in a position to tell you what Visual Studio is complaining about, perhaps a Visual Studio support forum would be a better place to ask that.
That said, ISTM the most likely reason would be attempting to run a 64bit installer in a 32bit guest OS. From there I'd assume that you installed a 32bit guest OS because you couldn't see how to install a 64bit one, in which case the following FAQ would apply:
FAQ: I have a 64bit host, but can't install 64bit guests.
Re: How to install Visual Studio Community on Windows 10 inside VirtualBox 6?
Posted: 21. Apr 2019, 01:31
by BillG
Since Visual Studio on a host prevents VirtualBox from running, I would guess that it requires hardware virtualization. It won't get that in a vm running under VirtualBox.
Re: How to install Visual Studio Community on Windows 10 inside VirtualBox 6?
Posted: 21. Apr 2019, 05:51
by socratis
BillG wrote:It won't get that in a vm running under VirtualBox.
Slight correction... in theory it could work if you have 1) an AMD CPU and 2) VirtualBox > 6.0.0. See "
Nested virtualization: Success stories (and failures)".
I will amend the first post (and maybe modify the title) to not simply mention "Nested Virtualization", but to include cases where the guest needs VT-x/AMD-V, such as these...
| Edit: Linked thread is not called "Nested virtualization, VT-x/AMD-V in the guest: Success stories (and failures)" |
Re: How to install Visual Studio Community on Windows 10 inside VirtualBox 6?
Posted: 21. Apr 2019, 10:38
by mpack
BillG wrote:Since Visual Studio on a host prevents VirtualBox from running, I would guess that it requires hardware virtualization. It won't get that in a vm running under VirtualBox.
Would that stop it installing? Surely it would just cause a debug option to be lost? I'd expect a warning dialog perhaps (if that install package was selected), with an option to continue.