Visual studio can't attach to Unity Editor after Xamarin install - visual-studio

After I installed the Xamarin tools from this link: https://www.xamarin.com/vs-download?utm_source=visualstudio&utm_medium=referral&utm_content=download&utm_campaign=installer
My Visual Studio 2015 Community Edition is not attaching to My Unity Editor (x64, v5.3.5). It simply builds the project, which it's not supposed to do, Should be going through UnityEditor and attaching to it.
Visual Studio has no problems finding the Editor, as I can see the Unity instance from my "Attach to Unity" combobox.
I had no previous problems attaching my debugger before the Xamarin install.

I'm having this problem too, as well as others. At the moment the only solution is to deinstall Xamarin.
I did file a bug to the Visual Studio and Xamarin team:
https://bugzilla.xamarin.com/show_bug.cgi?id=42023
Here's another question, covering the same topic.
Visual Studio Debugger not attaching to Unity

Related

Xamarin templates missing in Visual Studio 2017 enterprise

I had Visual Studio 2017 community before and Xamarin templates were there. I installed Visual Studio 2017 enterprise and now I do not see Xamarin templates like:
BlankApp(Xamarin.form Portable) and BlankApp(Native shared)
I have repaired Visual Studio and also updates but still same. Please advise how to fix it if anyone got same issue.
There is some changes on VS 2017 15.6.4, click Mobile App(Xamarin.Forms), and click OK, A window will appear allowing you to choose a Share Project or a .NET Standard:
Here is about the Share Project, and here is about the .Net Standard.

Xamarin option disappeared from new projects

I have successfully installed xamarin, i created one application by it, after i installed visual c++, framework 4.5 and repaired the visual studio one time during the installation, Xamrin option disappeared from new projects.
Ok, Open the visual studio click on Help->About Microsoft Visual studio
check. Is there xamarin is available or not, if not go to control panel and update the visual studio.

xamarin is not showing in visual studio 2013

I installed Xamarin first and then installed Visual Studio 2013. But when I open Visual Studio it doesn't show the Xamarin components when I try to create a new project for Xamarin.
What I should do so that I can work on Xamarin with the help of Visual Studio 2013?
For this you must install "Extensions for Visual Studio" plug in, which is delivered with Xamarin. So you must run XamarinInstaller again - but you don't have to uninstall anything, just run it again.
Update: As I see, they offer on their website "Visual Studio tool for Xamarin". So try this one.

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 ?

Error when installing Visual Studio 2015 Tools for Unity 5.3.1f1

I have both Unity 5.3.1f1 and Microsoft Visual Studio 2015 Community edition properly installed and running (I've been using them separately for a while now). However, now that I try to install Visual Studio 2015 Tools for Unity, the installation process crashes giving me the following error:
"Microsoft Visual Studio 2015 Tools for Unity Setup Wizard ended
prematurely because of an error. Your system has not been modified. To
install this program at a later time, run Setup Wizard again. Click
the Finish button to exit the Setup Wizard".
Of course, I already restarted my computer. I even uninstalled Visual Studio and Unity and then installed them again (that is really painful by the way). Nothing changes.
Can anyone help me on? I don't even know how to get support for something on the boundary like the Visual Studio Tools for Unity.
Here is a screen capture of the error:
From unity 5.2 and up i guess you don't need Visual Studio Tools for Unity as Unity from version 5.2 has native support for Visual Studio (same applies on 5.3.1f1).
i use Unity and visual studio with the tools
a link that can be helpful on what i said:
Native support for VSTU 2.1 in Unity 5.2
http://unityvs.com/documentation/native-support/

Resources