Can't login to Visual Studio Marketplace - visual-studio-code

I want to login to Visual Studio Marketplace.
Running MacOS Sierra 10.12.6 using Google Chrome 62.0.3202.94.
It is basically stuck on this screen for a while...
...then it finishes with this.
Already tried several browsers, incognito / private modes without any success. Of course I contacted Microsoft first, without any progress on the issue.

It was not the VS extension issue, it would be related to the network or the Visual Studio Marketplace site. I could visit it in my side, maybe you could test it later or using different network. View the result.
If it still has this issue, you could get support from the Marketplace directly using "General marketplace help" here:
https://learn.microsoft.com/en-us/vsts/billing/_shared/qa-marketplace-support

I added these DNS servers at System Preferences / Network Settings / Wifi / Advanced / DNS, and now it can resolve login.microsoftonline.com (so I can login to Visual Studio Marketplace).

PC USERS: Check your Windows version
I resolved it today!! The problem was my PC was running Windows 8.0 and since it is no longer supported by Microsoft apparently, you need at least 8.1 to access the marketplace. I had to run the updates for windows a few times, and then by the 3rd restart I was able to access an upgrade to 8.1 and now I can access the marketplace in VS!!

Related

Android Emulator claims “WHPX is not configured”, crashes

The Android Emulator launched from Visual Studio 2019 for Xamarin development throws this message before launching:
WHPX is not configured
Turn on "Windows Hypervisor Platform" feature to switch to the Native Hypervisor and accelerate your emulator.
This is despite that Hyper-V is installed, according to the Microsoft documentation.
This is possibly related to the Emulator crashing after some time with no error message, or displaying this when launched from the Android Device Manager:
Please check if you can update your video driver.
If it doesn't help, try to Edit the AVD and set "hw.gpu.mode=off".
This is on a machine that used to run the emulator previously, just a fresh installation of Windows.
The error message is actually correct. On newer versions of Windows, “Windows Hypervisor Platform” (WHPX) is a separate feature on the Windows Features list.
Even the Microsoft docs have been updated to mention this. (Though it wasn't there when I was dealing with this problem and spent way too much time on it, sigh.)

How to run Visual Studio Code on Samsung Dex?

Does anyone know how to run VS Code on Samsung Dex?
I've tried:
https://medium.com/samsung-internet-dev/writing-software-using-a-phone-e71976f1f18d
Looks like it is possible, but I don't know how. I can see vscode supports linux, does this mean that you can run vscode on Samsung Dex - Note 9 ?
Thanks in Advance.
Visual Studio Code is not natively supported on Android yet. So there is no way to natively run VSCode on Android with your Note 9 and Samsung DeX.
You do however have the following two options available:
When using "Linux on DeX" then you have the option to run Visual Studio Code natively from the Linux environment on Samsung DeX, although do keep in mind that Linux on DeX is now discontinued starting Android 10.
Remotely log into a different Linux, Windows or Mac computer and use VSCode on those computer through your phone on Samsung DeX.
Ofcourse the first option is the best. I recommend using Linux on DeX for this. Right now there isn't a native Android version of VSCode :(
I would recommend to go for fully functional Linux on Android.
You will require
Termux (Playstore)
VNCViewer (Playstore), bVNCViewer(recommended for tablets)
Andronix (Playstore), would recommend to go for premium and modded os, it would just cost you a cup of coffee. Though you can use unmodded os for free. Modded os comes with pre installed VsCode, etc useful stuffs.
Follow Andronix documentation: https://andronix.app/
For a fully functioning visual studio code or code on a samsung tab, you can use github codespaces in a browser tab in Dex mode, this is a paid approach but a reliable one. One other is self-hosted code instances like code-server
As of summer 2020, there is a cloud9 style browser based VSCode service provided by Microsoft Azure:
https://online.visualstudio.com/
You can see it in action here:
https://www.youtube.com/watch?v=rg0VHA_YZUI
i didnt try that, but i think you can find a cloud coding solution, like Stackblitz that is very similar to vscode in appearance(if it's not in fact vscode), or even AWS Cloud9
Try using a VS format with a cloud10 interfase code this will open up a rex code then type your server code in using the YZ trigger and this will give you access.
You can install linux on Samsung phone and tablet and then you will be able to use visual code.
https://www.linuxondex.com

Visual Studio 2015 RC Emulator for Android doesn't start

I have a problem with the Visual Studio 2015 RC Emulator for Android. The emulator is not starting when I'm starting debugging (F5) nor from "Tools > Visual Studio Emulator for Android...". The process is stuck on "Preparing virtual machine" and there is a "Xde.exe" process with 0% CPU usage in Task Manager. This happens for all virtual machines. Previous emulators (pre-RC) were working just fine.
The necessery APIs (19 and 21) are installed according to SDK manager.
I have tried re-installing Visual Studio and also repairing it but it didn't help.
How can I fix that?
Update:
Here are logs: http://pastebin.com/xgyTNkJ9 . The [Critical] The operation was canceled. lines are self explenatory. [Critical] Could not launch 'VS Emulator 5.5" KitKat (4.4) HDPI Phone' device.occured when I killed xde.exe in Task manager.
What's weird is a fact that when I import VHD file from %localappdata%\Microsoft\VisualStudioEmulator\Android\Containers\Local\Devices into Hyper-V manager it works just fine and I can even start it and use it. Unfortunately, I still can't debug application from Visual Studio that way.
Update 2:
So I've reinstalled the Windows on my notebook and same thing happens after installing Visual Studio 2015 RC. So two different hardware, one clean Windows installation and same effect.
This might be a duplicate of Visual studio (2015) emulator for android not working - XDE.exe - Exit Code 3.
I was having the same issue as yourself and this was solved by following the steps provided in this answer: https://stackoverflow.com/a/31698124/1010492.
The key for me was to disable the Network Sharing I had set on my Wi-fi adapter.
You are probably not a member of the Hyper-V Admins group on the computer. Do this:
Open Control Panel > Administrative Tools > Computer Management.
Expand "Local Users and Groups" and then click on "Groups."
Double click on "Hyper-V Administrators" group.
Click "Add" and add your username to the group.
If the group doesn't exist, you can create it using the PowerShell script in this blog post: http://blogs.msdn.com/b/virtual_pc_guy/archive/2010/09/28/creating-a-hyper-v-administrators-local-group-through-powershell.aspx
It may be that you do not have enough memory available to start the Hyper-V VM. If you go to Hyper-V Manager and attempt to start the emulator image, you'll be able to see if it starts at all or if you don't have enough free RAM on the machine.
I came up with a very genuine solution that can fulfill your basic need of running the emulator. All you need to do is follow these steps:
Sign in to https://www.genymotion.com/account/login/
Download Genymotion from there.
First Download and run the Emulator of your own choice from Genymotion.
[Start the Emulator From Start Button][2]
Then Keep it running and Open the Visual Studio.
Open your Solution,and while your Genymotion Emulator Running,You will see that at Play option,you will be having new Emulator device which will be Genymotion Device.
Deploy using that device.
Hurray!! Your Solution is Successful.

Cannot install Google Web Toolkit Developer Plugin in Google Chrome

I am using Windows XP SP2 and Chrome (version 9.0.597.19) but every time I run gwt in developer mode I see:
"Development Mode requires the Google Web Toolkit Developer Plugin..."
No matter how many times I install it.
How can it be that gwt developer mode is not running in google's own chrome in xp sp2?? This is outrageous??!! It is working in FF but is very slow.
Do you have Click-to-activate-plugins enabled in Chrome? I had, and I had to click on the little puzzle piece in the URL-bar and select that all plugins may run on 127.0.0.1.
Google Web Toolkit plugin is for Firefox 3.5.x and 3.6.x and
probably Google Chrome 7. I'm also using Chrome (version 9.0.597.19) which doesn't support GWT plugin
I was having this same problem. Every time I clicked "Download the GWT Developer Plugin
For Chrome" it would start to load and then just stop without anything happening. Eventually I opened the link in a new tab and got a captcha with this message:
"Our systems have detected unusual traffic from your computer network. This page checks to see if it's really you sending the requests, and not a robot."
Maybe you are having the same problem?

Deploying Silverlight applications to WinPhone7 emulator without Visual Studio

As per title, I would like to deploy my application without its Visual Studio project. I would prefer to place all executables/images/manifests in one directory and deploy it without needing the source or opening Visual Studio.
There is a way to do that for XNA apps, but it doesn't work for Silverlight apps for some reason. Other people had the same problem.
EDIT I know Phone Developer Tools are free and I am not trying to eliminate VS from my workflow. I just want to be able to grab the latest binary from the build server and quickly run it up in demo situations.
When you install the latest developer tools you get an application called "XAP Deployment" which can install a pre-built XAP onto either the emulator or the phone.
How to: Use the XAP Deployment Tool for Windows Phone
Visual Studio Express is free, and I think you can get a version of VS2010 now too.