Unity rewrite sln file causing Assembly-CSharp error
Hi, since 2 week, unity keep crashing with that error :
FileNotFoundException: Could not load file or assembly 'Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
It seems that when Unity rewrite my sln file it cause that kind of problem, and it's become redundant and really annoying. I saw that looking my git client as you can see :
When Unity replace the red lines with the green i encounter this error. I'm not really sure that this is the source of my problem, but it prevents me from coding my game...
Always manually replacing that become tedious, moreover, this does not seem to solve the problem anymore
Can you help me please?
Answer by Dizy · Jun 18, 2017 at 09:35 PM
I found a solution and post it here if someone need :
Thanks to a good Sir, i downloaded a file which prevent Unity ro rewrite my solution file.
You just have to add a script in your Asset/Editor folder of your project.
Your answer
![](https://koobas.hobune.stream/wayback/20220612123921im_/https://answers.unity.com/themes/thub/images/avi.jpg)