I’m turning crazy since I’ve upgraded to Unity5. I’m not able to setup an IDE without having very annoying behaviors. I am using Unity Personal 5.2 with Windows 7 Pro.
Visual Studio
No matter how I check or uncheck the “Detect when file is changed outside the environment” and “Reload modified files unless there are unsaved changes” (and restart VS), it keeps annoying me with the “The solution *** has been modified outside the environment” popup. How is this even possible ? Especially when both options are disable. When I check again the option they are disabled, no problem with this. Is there another option at a different place that is overriding the Option => Environment => Documents setting?
MonoDevelop (built-in)
MonoDevelop on the other hand is reloading the solution almost every-time I open a file, reordering my file tabs and sometime trying to close some! This is incredibly annoying. When you have a lot of files (tabs) open, the order you set-up is very important! I tried to play with the Options => Projects => Load/Save “Load previous solution on startup” and “Load user-specific settings with the document” checkboxes but it changes nothing.
Xamarin
Being desperate I tried the MonoDevelop/Xamarin Studio 5.9+ that I found on this forum even if it’s not updated anymore. It has no solution reloading problem… but impossible to copy/paste from outside of the editor due to a GTK bug (known problem).
Am I the only one experimenting these strange VS and Mono built-in behaviors? Should I install older versions of MonoDevelop or Visual Studio? Find another IDE? Format and reinstall everything?
Thank you in advance for helping me to avoid the asylum ^^ !
I’m not sure what you’d expect to achieve by ignoring changes made outside the VS environment - these changes are most likely by the Unity process and ignoring/overwriting those changes from VS is likely not a good idea.
The problem is that this popup is coming almost every-time, even if NOTHING changed in the files that are opened! That’s the crazy part. Maybe Unity Editor is modifying the meta files and this is messing with VS even if the meta files are not actually opened?
When a solution is open in VS, I’d consider all files “open”, not for editing, but they are open in terms of being part of the solution that is open (and being built and analysed in the background).
After having read a couple of posts on this forum that were talking about problems with Unity 5.2 and VS, I tried to install Unity 5.1… and now MonoDevelop is working perfectly fine! It’s not reopening the whole solution almost every-time I switch back from Unity to MonoDevelop and my file tabs stays at the position I chose.
I will try VS later to see if it also solved its crazy popup behavior.
Did anyone find an answer for this constant VS pop up telling me “The solution has been modified outside the environment”? It’s almost constant and very annoying.
I think Unity recreates the project files and/or reconfigures them which is the issue. The issue is the solution / project changing, not individual files.
The problem is still there. (Unity 5.2.2f1, VS Ultimate 2013 and no I don’t want to upgrade to 2015 or anything else)
It comes to be pretty annoying!!!
in visual studio, select Tools → Options. In the Options dialog box, select Environment → Documents. And then check the “Auto-load changes, if saved” to be true
and if something modified, vs will auto apply but not ask me every time … it’s really make me very annoy… but sorry i really don’t know other way to solve this problem:sweat_smile:
Has anyone found a solution to this problem? I decided to give Visual Studio 2015 a go with a return to Unity and I am getting really sick of having to tell Visual Studio to update the files every time I create a new script in Unity. Is there some way to telling Visual Studio 2015 that “every file in these script folders should be added to the solution automatically without asking”??
The solution ‘xxxxxx’ has been modified outside the environment.
The problem is, the “environment” is Unity and it is Unity that is creating these files. Unity should be telling Visual Studio to include these files. I never had this kind of aggravation with MonoDevelop and am about to uninstall Visual Studio and go back to that program.
I feel you. I wish there was an IDE option for Unity development that would be as feature-rich and functional as Eclipse is for Java development. Even when they work (eg. don’t have the unbelievably awful can’t copy-paste bug!!), they are still lacking in a number of ways compared to Eclipse.