Error Server/ScriptComiler.cs

felipe muniz

Citizen
Jan 28, 2018
5
1
0
38
C#:
Server/ScriptCompiler.cs(816,32): error CS1644: Feature `declaration expression' cannot be used because it is not part of the C# 6.0 language specification
Server/ScriptCompiler.cs(817,32): error CS1644: Feature `declaration expression' cannot be used because it is not part of the C# 6.0 language specification
Server/ScriptCompiler.cs(872,42): error CS1644: Feature `declaration expression' cannot be used because it is not part of the C# 6.0 language specification
Server/ScriptCompiler.cs(885,53): error CS1644: Feature `declaration expression' cannot be used because it is not part of the C# 6.0 language specification
Compilation failed: 4 error(s), 0 warnings
Can someone help me? Its on Ubutun 18.
 

The Real Keith

Silver Donator
Feb 5, 2015
103
32
28
uorevealed.com
Shard Name
UO Revealed
Donate
Donate money to this user
The error message is pretty telling, but it looks like you're using a compiler that only uses c# 6.0. I'd grab the latest roslyn compiler and try compiling again .
Use roslyn csc compiler for C#7