Hi,
working on CI for my project and I need to generate Assembly-CSharp.csproj in command line, but can’t find how to do it. I’m not sure if I need to use Unity.exe or mdtool.exe. Can someone point me in the right direction?
Thank
Hi,
working on CI for my project and I need to generate Assembly-CSharp.csproj in command line, but can’t find how to do it. I’m not sure if I need to use Unity.exe or mdtool.exe. Can someone point me in the right direction?
Thank
Found it!
I can execute the method:
EditorApplication.ExecuteMenuItem(“Assets/Sync MonoDevelop Project”);
from the unity command line.
The menu item has been renamed to "Assets/Open C# Project" in newer versions. Another solution is also discussed here: https://forum.unity3d.com/threads/manually-generate-sln-and-csproj-files.445621/
– mpartel