So I was excited when i read about default use of VS2025 CE, happily downloaded unity 5.2 installed VS alongside.
I open my “old” 5.1 project ready for some out of the box VS support, so mono develop is still set as External script editor, OK VS is not available as an option in the drop down for selecting external editor.. No big deal i just set it manually to
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe
OK, so now visual studio loads when i click the script files. But moving between unity and VS causes constant “sln file has been changed by external program, do you want to reload” prompts, they are not related to any specific action, i don’t add any new files from unity and still this prompt.. Also whenever i close a file in vs and reopen it by clicking in unity, i get “the line endings are inconsistent, should we fix them…” . No sign of any neat integration yet.
After a quick google it seems i must install Visual Studio 2015 Tools for Unity, alright looks like i missed something. OK done! Nothing changed, same irritating prompts.
Also according to this
I should be able to see Unity Project Explorer from VS, not visible in my view menu, same with Unity Error List.
So after reading this
it tells me I should have this text in the bottom left corner, which I don’t .
What I have tried:
*Repairing VS tools for unity
*Creating a brand new unity project.
These are the steps I take in order to view the Unity Explorer:
Start Unity
In the opening dialog enter the details for a new project
Click the Asset Packages button below the 3D and 2D options
Select Visual Studio 2015 Tools from the list of packages
Click the Create Project button
In Unity, open the About window and look for Microsoft Visual Studio Tools for Unity 2.1.0.0 enabled in the bottom left
In the Project panel create a new script file
Double-click that script file to open it in Visual Studio
You should see the Unity Project Explorer option in the View menu
One other thing to check is:
Open Visual Studio 2015
Go to Help\About Microsoft Visual Studio
Scroll to the bottom of the list and look for Visual Studio Tools for Unity 2.1.0.0
If you can’t see that then there might be an issue with the tools integration.
UPDATE #1:
If you have an existing project where you didn’t select the Visual Studio 2015 Tools package from the New Project dialog, then you can open that project, right-click somewhere in the Project panel, go to Import Package from the context-menu and you should see Visual Studio 2015 tools
Thx for the tips. Although according to http://unityvs.com/documentation/native-support/
importing the package into your unity project is no longer needed in 5.2. Will try the other tips when m home.
I already had VS 2015 RTM installed. I just upgraded from Unity 5.1 to 5.2.0f3 and I just had to double-click on a C# script from Unity for it to open in VS. I make no other changes, just upgraded Unity.
@twDuke That is a good point. When they said it was integrated I thought it was more of “it comes pre-installed”, but I’ve just tried a sample project without including the package and I still see the Unity Explorer. My previous post then could be considered the “old way” of doing it.
I had to manually select devenv.exe since it did not show up in Unity Preferences.
About does not show the info mentioned by MotoSV, with or without the “Visual Studio 2015 Tools” package imported.
I wanted to drop a note here after a few hours of troubleshooting.
After installing Unity, VS 2015, and VS Tools, if you do not see the info in the About, restart your computer. That seems to be the one thing that fixed it for me. I think the installer should recommend a restart after completion, because this was unexpected.
Additionally, elsewhere I saw users having issues with ReShaper, this was not the case for me as I do not have it installed.