zhang qinglian
zhang qinglian

Reputation: 1743

How to run a Dart Console Application?

I just follow https://www.dartlang.org/docs/dart-up-and-running/ch01.html to run a Dart console application,but the result is ‘HTML file could not be found’.

Upvotes: 1

Views: 1205

Answers (1)

Günter Zöchbauer
Günter Zöchbauer

Reputation: 657058

If you want to know how to start it from DartEditor, just right-click the file in the Files view and choose Run. If you click the Run button in the toolbar, probably the previously launched file is launched (didn't use DartEditor since 1/2 year)

If you want to launch it from command line just run dart bin/main.dart

Upvotes: 3

Related Questions