Configuring Unity to use Visual Studio 2013

For my game project for Windows Phone, I am using Unity and C#. I need to configure Unity to use Visual Studio 2013. I tried the following steps in Unity:

  1. Edit->Preferences
  2. External Tools
  3. Browse…
  4. C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\
  5. Selecting “devenv.exe”
    but when I try to open a script, a window named Visual Studio 2010 shell is opened describing that “invalid lisence. Need to reinstall”. and then MonoEditor(default) is opened. I am using Visual Studio 2013. How I can solve this problem? Thanks in advance. :slight_smile:

browse? there shouldn’t be a browse option for Visual Studio … there should be a pull-down list of “external script editors”, choose visual studio from there… if its’ not listed, my guess is you would need to reinstall either visual studio or unity.

or better yet, get UnityVS and be able to do real debugging in visual studio with unity.

Hi,

not sure whether you’ll like this, but I personally solved it by uninstalling MonoDevelop :).

Which Unity version are you on? I think this was fixed at some point, though I’m not too sure whether it’s out to public yet.

I’ve given up on trying to get it to start VS. Here’s what I do once it is setup in Unity as you’ve described:

  1. Open Unity.
  2. Start VS.
  3. Open the solution in VS (pin it after the first use in the start page so you don’t have to hunt for it after the first time).
  4. Then it has always opened double clicked script files in VS from then on.