Hi everyone,
We have introduced some new warnings to verify that code is cross-platform. This is in preparation to moving to Linux for 2025.1. The warning was backported to 2024.2 to help identify such code prior to the upgrade. You can find examples of code that is not cross-platform (like the Windows registry) here:
TransactionScope.Close() however is a false positive as this method is indeed portable. This has already been fixed and the warning should go away in the next build.
Not directly relevant to this question but another good resource to reworking absolute paths in custom code (since C:\Folder won’t work on Linux where it would be something like /Folder) is this: