k-ujihara / NCDK

The Chemistry Development Kit ported to .NET
https://kazuyaujihara.github.io/NCDK/
GNU Lesser General Public License v2.1
35 stars 11 forks source link

compile error #3

Closed greatlse closed 6 years ago

greatlse commented 6 years ago

when I want to build the NCDK solution, many syntax errors appeared.

my build env: vs 2015 win7 os

like: Severity Code Description Project File Line Suppression State Error CS1003 Syntax error, ',' expected NCDK D:\program\NCDK\NCDK\Beam\Core\AtomImpl.cs 123 Active

Severity Code Description Project File Line Suppression State Error CS1026 ) expected NCDK D:\program\NCDK\NCDK\Beam\Core\Configuration.tt.cs 372 Active

Severity Code Description Project File Line Suppression State Error CS1003 Syntax error, ',' expected NCDK D:\program\NCDK\NCDK\Beam\Core\Element.cs 605 Active

so, how to fix these errors? Thank you very much.

k-ujihara commented 6 years ago

NCDK is written in C# 7 not in C# 6. It means Visual Studio 2017 is required to compile it.

C# 7 can be used on Visual Studio 2015 by replacing compiler but I don't know well.
How to use c#7 with Visual Studio 2015?