I have run into this before but have forgotten how to fix this. This appeared when I went to v21.5 this morning. It stops the compile process. This is showstopper for me at the moment.
Here is the error message.
S - 2266 - The .\Login1.htm file of the custom directory is older than the corresponding standard template file. Check that the content is correct for the version of Instant Developer you are using to compile and update it to the current date. Double click on this message to open the files
Any suggestion for the fix is appreciated. I have tried matching the login1 files by dates but without success.