neo-project / neo-devpack-dotnet

NEO Development Pack
MIT License
78 stars 98 forks source link

Split Neo.Compiler.CSharp #996

Open shargon opened 2 months ago

shargon commented 2 months ago

Currently the compiler is Neo.Compiler.CSharp, however, it is an exe file, and we could distribute a nuget package that allows compiling without having to run the exe, as is done by referencing said project in the current unit tests.

Proposed solution:

cschuchardt88 commented 2 months ago

You can use something similar to build-tasks

Ref: https://github.com/cschuchardt88/neo-express/blob/master/src/build-tasks/NeoCsc.cs

shargon commented 2 months ago

I think that it's better if we export the package and it's installed by dotnet tool install, then you can use the compiler easier