Visual Studio 2017 - Toolbox not loaded and hanging - visual-studio

I have just installed Visual Studio 2017 in my Windows 10.
I got error in initializing the Toolbox and it keep hanging.
Is there something I can do with?
I have launched the VS 2017 with Administrator, but this doesn't resolved the issue.

I had the same issue. I uninstalled Azure stuff and Clang/C2 and Toolset for Visual 2015.3 v140 and Xamarin stuff and added Apache Ant. After that it worked. So some of the above seams to resolve the issue. I will not do further investigation, because for me it is OK without that stuff.

Had the same problem. I did have Xamarin installed but not Android SDK, because I had it already installed for various other tools.
Turns out this is caused by Xamarin trying to access Android SDK, which isnt there. Solution seems to be to either remove Xamarin or install Android SDK, according to development community forum.
Unfortunatly, installing Xamarin and going into Xamarin/Android Settings to point to existing Android SDK (without it) also seems to hang VS2017.
HOWEVER...
If you want to keep Xamarin and use your own Android SDK/NDK, what you can do is:
Lauch Visual Studio 2017 Installer
Install Xamarin and Android SDK (dont need to install NDK as well)
Launch Visual Studio 2017
Go into Tools / Options / Xamarin / Android Settings (It wont hang
now)
Point to your existing Andoid SDK / NDK and Java runtime you want to
use
Close VS2017
Go back to Visual Studio Installer
Uninstall Android SDK
Before that I tried to define an ANDROID_HOME environment variable and tried to set the paths in registry, neither of those helped. This fixed the problem for me.

I tried all the voodoo solutions, removed every extension (xamarin included) and every package except the core .net and C# VS, which I updated to the latest version available v15.9.30. Same problem.
The solution for me was to uninstall an office plugin/tool from a previous visual studio.
The problem app was "Microsoft Visual Studio 2010 Tools For Office Runtime (x64)". After I uninstalled it, the problem was gone.

Related

Archive is disabled in Visual Studio 2015

I am able to archive the app using xamarin studio on Mac. But in Visual studio 2015 it is diabled. I have uninstalled and reinstalled whole VS2015 and xamarin. I am using windows 10 machine. Please help
I found the problem. I also noticed that tools->Anrdoid-> Android SDK manager was disabled too. Somehow Android sdk tools folder was empty. I copied the batch file and it works now.

Xamarin installation

We watched a Xamarin installation video by Jason D, downloaded XamarinInstaller.exe version3.6 and ran it. We noticed that unlike the video, we are only seeing the Andriod SDK and the Xamarin for Visual Studio components in our options and missing the GTK# and Xamarin Studio. The install finished successfully so we don't know whether we have everything we need or not.
The reason we think this is because when we launch VS, we don't see any Xamarin.Forms type projects, for example.
Can someone tell us if we may be missing some pieces?
Thanks in advance for any help.
1.- Remove all
2.- instal VisualStudio 2015
3.- run xamarin installer
Did you installed the extension correctly that binds xamarin with visual studio?
Open Control Panel > Programs, search for your edition of Visual Studio and then click the Change/Uninstall button at the top of the window. Wait for a moment while the Visual Studio Installer launches, and then repair the installation.
Updated: I have followed the below steps for Visual studio 2015. Hope that it will work for other versions of Visual studio.
To install Xamarin framework into Visual studio successfully, please follow the below steps,
Visual studio 2015 community edition installation:
To download VS2015 Community edition ISO (Size is around 7GB), check
http://www.kunal-chowdhury.com/2015/07/download-visualstudio-2015.html
To install VS2015 Community edition, please follow the below link, http://www.howtosolutions.net/2015/08/solving-installation-is-stuck-problem-in-visual-studio-community-edition/
Offline installation would be more faster (around 1 to 2 hours).
If any further issue comes, repair MS Visual C++ 2015 redistributable.
Finally, VS 2015 will be installed quickly.
Xamarin framework Installation:
To download Xamarin, visit https://www.xamarin.com/download
You can download Xamarin Installer.
Launch Xamarin installer, it will download and install the below components,
Java 8.
Android SDK, NDK and emulator images.
Xamarin Framework.
To store the setup of components, launch Xamarin installer and while it starts downloading, disconnect internet.
It will abort and open Manual installation instructions. Connect to internet again and you can save setup.exe for all components from manual wizard and install it for later purpose.
After Xamarin is installed, launch Visual studio 2015.
You can create Xamarin projects, under Visual C# -> Cross platform option.
Revert back for queries, if any.

Xamarin won't install in current of Visual Studio 2015

I have tried uninstalling Xamarin, and reinstalling Visual Studio 2015, and it keeps failing.
this below
results in this
Is there anywhere I can grab that missing package directly. I have the Visual Studio installer downloading the packages from the internet. If I can install that package manually (aka, an MSI), then I believe it should be ok. Xamarin (as part of Visual Studio) won't install until this ancient SDK installs.
I also tried Xamarins' installer, but it never shows up in Visual Studio 2015, likely because of this dependency failing.
Some other things I have tried :
Common issues in Visual Studio 2015 setup
StackOverflow: Install Xamarin on Visual Studio 2015
Xamarin: Installing Xamarin on Windows
Uninstalling Xamarin
try to open the SDK Manger from your PC ( as an administrator ) and install the missing packages
Actually android sdk is failing to download, maybe because of slow or unstable internet connection or the download path which xamarin is using is available anymore.
Go to- http://www.xamarin.com/download and get a separate xamarin installer for your visual studio and install from it.
If it again don't fails to install android sdk then go to https://developer.android.com/studio/index.html and download sdk separately, remember the sdk's install path, you can configure visual studio later.

Install Xamarin on Visual Studio 2015 with Xamarin on Visual Studio 2013 already installed

I have Xamarin installed on the Visual Studio 2013 on Windows Operating System. It works fine.
There is Xamarin tools in VS2013 as follows:
My problem is as follows:
I have recently installed Visual Studio 2015 on my desktop on Windows operating system. I thought when I opened the VS2015, I expected to see the Xamarin in it, but it does not. Then I installed the Xamarin again, and again and again, but still Xamarin does not show up in VS2015.
I wonder what is wrong? What am I missing?
By the way, I still have VS2013 on my desktop.
No Xamarin tools in VS 2015 as follows:
I even tried the following approach, still no luck.
Control Panel -> Programs -> Programs and Features Choose Xamarin
Click Change -> Next -> Click the desired drop down for each items in the tree view and select "Will be installed on local hard drive."
Click Next
I am even getting the following screen when installation is completed, but still I could not able to see Xamarin in VS2015.
I have installed Xamarin in my Visual Studio 2015 two days ago and it showing Xamarin under Tools. Below I have described the approach which I have followed to install Xamarin in Visual Studio 2015.
Go to Contol Panel >> Program Features >> Visual Studio
2015 >> Change>> Modify
1. Select C#/.Net(Xamarin) under Cross Platform Mobile Development
2. Check if these three red marked items are checked or not.
3. And then press update.It will download all the required packages to run Xamarin on VS 2015.Hope it helps you!!
I recently had horrendous problems trying to install Xamarin on VS2015 + Win10. (I don't have any other VS versions installed.) Even a full install and reinstall left huge holes in the installation. I tried repeatedly and each time the whole dev environment seemed to get itself in a different unusable state.
The fix for me, which is probably hitting a nut with a sledgehammer, was to:
Uninstall Xamarin (via Control Panel|Uninstall).
Uninstall Visual Studio (via Control Panel|Uninstall).
Follow Xamarin's manual uninstallation procedures Full Xamarin Uninstall.
Perform full reinstall of Visual Studio, being sure to tick the boxes shown in the answer by Parth Patel above.
This resulted in a faultless, fully functioning Xamarin environment for me. Overkill, maybe, but worth a go if all else fails.
Here is the solution:
I have deleted all the existing versions of visual studio ( 2010, 2012, 2013) except Visual Studio 2015 and then installed the Xamarin, and then I could able to see Xamarin on Visual Studio 2015.
It is not required to delete previous versions of VS. I have Xamarin Studio, VS 2013 and now VS 2015 and working perfectly. I moved to VS 2015 due to recent purchase of Xamarin by MS and that VS 2015 has Xamarin included.
I believe the issue with this question is was that your VS 2015 install did not include the add ins as pointed out in another answer in this question.
After the VS 2015 install -the only caveat was projects created initially in Xaramin Studio and then Opened in VS 2015 to needed to have the build configuration in the project tweaked. If not you could not get the project to build and then be deployed to an emulator or device for debug testing.
We have a few troubleshooting steps on our Knowledge Base that you can find here:
https://kb.xamarin.com/customer/en/portal/articles/1643349-missing-visual-studio-extensions-after-installation
Note: Some of these steps have older versions listed in the respective paths. You should use the latest version number available.
Before any install or uninstall actions. Try open some sample Xamarin project, in most cases during opening project in VS 15, it will show you, what needs to be installed or what is missing / corrupted.
Xamarin samples
I had some problems with my emulator best way to fix the problems is to uninstall everything (emulators, android sdk, vs, xamarin) and reinstall it.
It is also important to delete other or older versions of visual studio. Then you should probably see you options.
First try to uninstall all the other versions of Visual Studio (VS) 2013 in this case. Then try to reinstall Xamarin.
Visual Studio 2015 is little bit different from 2013 version, I am also using xamarin on visual studio 2015. But that is not listed under tools menu like 2013.
Maybe developers had changed that, you can go to "start a new project"(just like you start new app development), there you can find xamarin/android projects list, there you can start new android projects.
This is strange, I did not have any problem with Xamarin & VS 2015 (community).
You said,
I will see the Xamarin in it
Did you try to create a project or/and add your account in the new VS Installation ?

Visual Studio crashes when trying to associate Cordova app with store

I'm on the latest version of Visual Studio 2015 Community (14.0.24720.00 Update 1) on Windows 10. I'm currently developing a Cordova App for Windows 10, iOS and Android using the Visual Studio Tools.
When I right click on the Project, then go Store > Associate App with the Store, I can successfully log in, see my existing apps and select the one I want, but when I try to actually associate that app with my VS project, VS just crashes.
I've already tried repairing Visual Studio through Add or Remove Programs and also cleaning out my project/solution, but none of this worked.
Any advice?
Thanks!
I had the same issue. Apparently, this is a known problem with VS2015 Update 1 (with the latest Cordova tools support).
The current workaround is to choose "Create App Packages" instead of "Associate App with the store." When you do this, the proper association will be generated and you can test as usual. I was successful using this approach.
The fix in Visual Studio 2015 for this crash is now available in Visual Studio 2015 Update 2. Here's a link to the installer: http://go.microsoft.com/fwlink/?LinkId=691129

Resources