- Home /
How do I fix the duplicate files problem in MonoDevelop?
MonoDevelop-Unity counts some files twice in a project of mine. This is very annoying, both for the "go to declaration" feature, and for the search (who finds twice anything who it would find).
Not every file behaves this way, only some of them. Again, no idea why.
No clue how it happened, it also happened in other projects a few months ago, and it just went away… I don't know, weeks later? No idea what "fixed" that either.
I've tried to "Sync MonoDevelop Project" from Unity, and I also don't know if it's Unity's fault or MonoDevelop's.
Unity 4.6 (but it did happen with 4.3 too). MonoDevelop-Unity 4.0.1 "unity version".
Answer by Lohoris2 · Jan 11, 2017 at 04:09 PM
After more than two years and zero answers anywhere, I've finally fixed it.
Unless I'm mistaken, this disappeared after I deleted the "Release" configuration, from Mono project's configuration.
As you can see, Release is there again, so I guess after I deleted it, it got re-created properly, or something.
And now it has stopped working again, and this fix isn't effective any more.
Your answer
Follow this Question
Related Questions
Why do placing a preprocessor directive inside another causes my script to lose proper indentation? 1 Answer
Monodevelop Go to declaration bug 3 Answers
"Classic" namespace "UnityEditor" error 4 Answers
Is there a workaround for the MonoDevelop collapsing bug? 1 Answer
Why is Unity 4.3 so unstable? 0 Answers