Build Mono.dll on windows,

  • Our Unity version is Unity 2017.4.17f1, and I am trying to rebuild mono.dll for windows. The mono version is from

GitHub - Unity-Technologies/mono at unity-2017.3.


  • After I build it in platform x64 from the msvc/mono.sln, I replace the mono.dll in build\WindowsEditor\Data\Mono\EmbedRuntime\ with mono-2.0-bdwgc.dll and mono-2.0-sgen.dll in mono directory name of builds\embedruntimes\win64.

  • However, When I start up Unity, It crash.

  • So, My Question is : Is there anyway to rebuild mono.dll for unity 2017?

,

Ok, I solved it. I checkout another mono svn from : GitHub - dnSpy/dnSpy-Unity-mono: Fork of Unity mono that's used to compile mono.dll with debugging support enabled and then compile it. And the mono.dll work.