Skip to content

[Bug]: Case-sensitive search causing file search failure. #52

@danielb0

Description

@danielb0

Contact Details

dmbaum@gmail.com

IDE version

1.7.0 2/19/2026

What happened?

In ZXProjectBuilder.cs, line 406 " var codeFile = files.FirstOrDefault(f => f.AbsolutePath == Path.GetFullPath(mainFile));" the search is case sensitive. This will cause no file to be found if the case of the filename is different in the project file and the file directory, leading to codeFile being null. The error message that this creates is very misleading. The search in this case either needs to be case-insensitive in Windows, or the error messages need to accurately describe the error to allow the user to take action.

Error and Warning messages

Main file path not found. More than 256 chars?

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions