Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Unity 4.3.0 and Visual Studio 2008 Pro

Discussion in 'Editor & General Support' started by Ali-Be, Nov 13, 2013.

  1. Ali-Be

    Ali-Be

    Joined:
    Aug 29, 2012
    Posts:
    11
    Hi,
    After upgrading Unity to version 4.3.0, I can't open project in Visual Studio 2008 Pro. After double click on script, Unity is trying to open in Visual Studio but at the end it opens in Mono Develop. I have tried also to open solution file created by Unity, but no success :-/
    Is it a bug or Unity 4.3.0 stopped supporting Visual Studio 2008 ?
     
  2. Lukas H

    Lukas H

    Joined:
    Jan 16, 2009
    Posts:
    394
    I have the same problem and reported it one month(!) ago. I'm sad to see it didn't get fixed for the 4.3 release as they "were able to reproduce it"
    In case any Unity dev is reading this case 568656.
     
  3. Alexey-Stashin

    Alexey-Stashin

    Joined:
    Dec 28, 2012
    Posts:
    2
    Same problem. "Starting Visual Studio.." loading popup, but then Mono Develop opens.
     
  4. Kazimieras

    Kazimieras

    Joined:
    Jul 24, 2013
    Posts:
    16
    Hey guys,
    we have this issue as active and our developers are still working on this. Also, thanks for a bug report, Lukas H. We appreciate your help very much! :)
    As workaround we suggest to install newer version of Visual Studio. Some of you might have bought team licenses and still want to use Visual Studio 2008. Well, sorry guys, you might have to wait till the next Unity update or you just can keep using older Unity version.

    Cheers
     
  5. chi

    chi

    Joined:
    Mar 1, 2010
    Posts:
    18
  6. Lukas H

    Lukas H

    Joined:
    Jan 16, 2009
    Posts:
    394
    Thanks. Using an older version isn't really an option as I am working with the new 2D sprite system. Upgrading 2008 is a bit expensive So I guess I'll have to open the created solution manually untill there is a new Unity version out :)
     
  7. Deleted User

    Deleted User

    Guest

    Just remember that to open a solution that Unity has made for MonoDevelop in VS2008, you have to change "Format Version 11.00" to "Format Version 10.00" at the top of the sln file.
     
  8. Kazimieras

    Kazimieras

    Joined:
    Jul 24, 2013
    Posts:
    16
    Last edited: Nov 26, 2013
  9. MaoFerrero

    MaoFerrero

    Joined:
    Aug 4, 2013
    Posts:
    2
  10. XtraBigFish

    XtraBigFish

    Joined:
    Jun 30, 2014
    Posts:
    3
    There is workaround to this. It may or may not work for you but it worked for me. I have Visual Studio 2008 installed along with Unity 4.5. I had the same problem whereas in my existing Unity project, after changing my external script editor tool to 'Visual Studio 2008' (from 'MonoDevelop'), Unity will try and launch Visual Studio 2008 but then launches MonoDevelop instead.

    The problem:
    When you use MonoDevelop for your project for the first time, MonoDevelop creates two .sln files in your project root directory and they are not compatible with Visual Studio 2008. They may be compatible with later versions of Visual Studio. If you try double clicking one of the two .sln files, Visual Studio 2008 doesn't get launched.

    Solution:
    1. Create a new project, change preference to 'Visual Studio 2008' before creating / editing a script.
    2. For an existing project that used MonoDevelop in the past - first, manually launch Visual Studio 2008, create a new solution, and then add the existing {project name}-vs.csproj file that are located in the root directory of your Unity project. Save the solution and replace the both .sln files (you might want to rename the existing ones in case things goes wrong). I'm not sure which .sln file is associated to VS or MonoDevelop so I replaced both. You'll find that MonoDevelop will still be able to launch those Visual Studio 2008 .sln files.

    Hope this helps.
     
  11. Dave_Voyles

    Dave_Voyles

    Joined:
    Feb 7, 2014
    Posts:
    32
    If you are looking for Visual Studio, shoot me an email.

    I'm an evangelist at Microsoft, working with startups and indie developers, so I can likely set you up with a copy of Visual Studio through our BizSpark program. We've also got tons of tutorials and content for Unity devs too. Here's one I did on using Prime[31]'s Azure Leaderboards.

    Here's some info on BizSpark.

    Perks of the program:

    • http://wootstudio.ca/startups/bizspark.aspx
    • Windows 8 / Windows Phone developer accounts
    • Visual Studio Ultimate 2013
    • Windows 8
    • Office 365
    • $150 / month Azure credits
    • Website hosting, virtual machines, databases, and mobile services
    • 90 Days of pluralsight + DigitalTutors training (Awesome for Unity)
    • Free marketing support with Microsoft
    • UnityVS, for debugging Unity games within Visual Studio