- Home /
Error CS1617 Langversion '4'
Hi.I want to build my solution in monodevelop (F8) but it says:
Error CS1617:Invalid option ‘4’ for /langversion; must be ISO-1, ISO-2, 3 or Default (CS1617) (Assembly-CSharp)
I installed VS2010,this error ocurred and i updated to VS2015.But its still here.What should i do?
Answer by ninuxw · Oct 10, 2017 at 01:53 PM
@NoEyesGaming This helped me:
In Mono Develop:
Right click on the assembly-csharp of your project -> Options. Under Build -> General change the drop box "C# Language Version".
I hope it helps you.
I'm using Unity 2017.1.1f1.When I change it, it automatically reimports ALL project.So didn't work I think.Thanks anyway :)
Sorry to hear it didn't work. Anyway for me its not the ideal solution as it reverts back after unity recompiled the protect, so its very tedious :S