NEO-Tutorial icon indicating copy to clipboard operation
NEO-Tutorial copied to clipboard

Cannot Follow the Tutorial at Development_Compile.html

Open lawrenceong001 opened this issue 6 years ago • 2 comments

hello,

when I try to follow the tutorial, I'm faced with a number of challenges:

  1. in Visual Studio 2019, there is no "generate" -> "generate solutions". what we have instead is "Build" -> "Build Solution". I used that instead.
  2. after the build, there was no NEP5.avm generated.
  3. however, after i run "neon SmartContractDemo.dll --compatible", I did get a NeoContract1.avm file.
  4. using the Neo-gui to deploy, i'm unable to find the 0.json file. I simply used the 1.json
  5. when loading a contract, there is no option "required to create a storage area", but there was one called "Need Storage". I selected that instead.
  6. I was then told i did not have enough gas when i invoked it.

how can they be resolved?

lawrenceong001 avatar Oct 15 '19 01:10 lawrenceong001

@lawrenceong001 I believe it only works with Visual Studio 2017

jmseigneur avatar Oct 15 '19 07:10 jmseigneur

thanks @jmseigneur. note that for #4, I cannot find the 0.json file. this doesnt seem to be related to the version of visual studio.

@lawrenceong001 I believe it only works with Visual Studio 2017

thanks @jmseigneur. note that for #4, I cannot find the 0.json file. this doesnt seem to be related to the version of visual studio.

lawrenceong001 avatar Oct 15 '19 23:10 lawrenceong001