Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.04 KB

File metadata and controls

26 lines (17 loc) · 1.04 KB

Agent Runtime Rules

Flutter and Dart Invocation (Windows)

Always use full executable paths when running Flutter or Dart commands in this workspace to avoid sandbox/path timeout issues.

Preferred fast commands (do not use .bat wrappers by default):

  • Dart:
    • C:\Users\Marius\dev\flutter\bin\cache\dart-sdk\bin\dart.exe
  • Flutter:
    • C:\Users\Marius\dev\flutter\bin\cache\dart-sdk\bin\dart.exe C:\Users\Marius\dev\flutter\bin\cache\flutter_tools.snapshot

Example checks:

  • Dart version:
    • cmd /c ""C:\Users\Marius\dev\flutter\bin\cache\dart-sdk\bin\dart.exe" --version"
  • Flutter version:
    • cmd /c ""C:\Users\Marius\dev\flutter\bin\cache\dart-sdk\bin\dart.exe" "C:\Users\Marius\dev\flutter\bin\cache\flutter_tools.snapshot" --version --suppress-analytics --no-version-check"

Notes:

  • Use these absolute commands instead of PATH-resolved dart / flutter.

  • Flutter may need access to C:\Users\Marius\dev\flutter\bin\cache\lockfile; if sandbox blocks this, run with elevated permissions.

  • always use explicit type annotations.