Skip to content

Cannot compile when generated command line is too long #61

@ramon-rocha

Description

@ramon-rocha

For large projects with many files or a deeply nested structure, the add-in can not compile the project because the generated command line is too long.

This problem exists when trying to compile using either MSBuild or the native MonoDevelop language binding method.

While not directly preventable, we can be smarter about using relative paths whenever possible to mitigate this issue. Alternatively, we can create a temporary file to hold the list of of .cobra file names and pass that to the compiler instead using the -files: compiler parameter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions