How do I use the new Visual Studio Features?

I don’t see it in my available editors and doing a “sync visualstudio project” under assets does nothing (obvious probably).

Thanks!

Do you have VS 2008 installed correctly?

I see VS 2008 in there and its working without any problem

Of course. I have it installed, correctly though I don’t know what that could mean. It “works” though.

Should I do a clean install of unity? I downloaded 2.6 this evening and simply installed it.

What I did was create a new blank project in unity. Clicked sync visual studio project. Fired up visual studio.Used open project in Visual studio and browsed to the new Blank Unity project. Solutions and project files should be in the folder.

Within unity I just created a standard c# script then right click on the script and sync with VS. VS then says the project was modified outside of visual CS and asks if you want to reload, press yes, and away you go.

:slight_smile:

Doesn’t work for me just yet.

When you go to prefs and see the available list of editors, does VS 2008 show up there?

Not here. :frowning:

shows up for me.
perhaps a express restriction? don’t know, have VS 2008 Pro

I have pro as well.

Anyone know how to get rid of something dumb I put in the possible editors drop down menu?

I was trying to get it to work (trying to find the visual studio editor .EXE)

Nope, Just Uniscite and a “browse” option. You don’t need to do that though.

  1. Create a blank project in unity.

  2. Select ASSETS from menu and click SYnc VisualStudio Project

  3. Fire Up Visual C# Express and browse to the unity temp project you just created and open the solution in the folder in Visual C#. Click Open Project and select the solution file. You should now see it in the solution explorer.

4)Go back to unity and create a c# script.

As soon as you do that Visual Studio will pop up with a message stateing the project has been modified from the outside and asks if you want to reload. Click yes. It will reload the solution and within the ASSETS folder in the soltuion explorer you should see your new script you just created in unity.

That’s it. :slight_smile:

Snap!
I was assuming it would launch VS 2008 for me. If open it manually, everything is fine. :slight_smile:

It seems to be working for Mondevelop 2.2 beta 2 as well! :smile:

Is this supposed to work with VS2005? Nothing happens for me, even when I already have it open…

I assumed you opened the .csproject file?

No it requires at least VC# 2008 Express and you need to start it and compile something at least once so its fully setup or it will potentially not be recognized correctly.

(see the documentation on visual studio integration)

Actually the documentation page also would have pointed out that the preference based integration will not work with Express but requires VS Pro