Integrating Visual Studio 2010

Hi!

Last night, I finally broke down and bought a copy of Visual Studio for development in C#. I went into my Unity Preferences and selected Visual Studio as my preferred editor and right-clicked on a C# file. It opened Visual Studio for me and I set my preferences within Visual Studio. I shut down my PC after a night of working and this morning, I booted everything up. I selected my file that I was coding from last night, and I saw a progress bar said it was loading Visual Studio, but instead of VS loading, MonoDevelop came up instead. I double checked my preferences within Unity and it still said that I was using Visual Studio.

I am not using the Beta version of Unity 3.5 just yet. Does anybody know how I can get my Visual Studio back as my preferred editor?

Thanks!!

This has happened to me a few times, try going to assets and clicking Sync MonoDevelop Project (although this actually syncs the project with VS if it’s selected as the main editor). Trying opening the solution yourself from your project folder first as well before trying to open up a script.

Hi,

I tried both of your suggestions, but MonoDevelop continues to insist to load.

Try to open your project folder, delete all .csproj and .sln files, and then do Sync MonoDevelop Project.