Search code examples
delphidelphi-11-alexandria

How to see the projects we trust in Alexandria?


In Alexandria, when I try to compile a project that have build events, I receive this warning

enter image description here

How can I see the list of the project that I have already trusted with "Always trust this project"? where this info is stored?


Solution

  • Stored in the registry in a value keyed by the ProjectGuid from the .proj file with the project name as the data value.

    HKCU\Software\Embarcadero\BDS\22.0\Compiling\TrustedBuildEvents
    

    Not sure how secure this is since a 'bad project' could put a GUID that might already be trusted in the .proj file. The project name also needs to match so probably not that much of an issue.

    Registry editor with the key selected

    Used SysInternals Process Monitor to capture events to see what BDS.exe was doing after always trust was selected and then yes clicked.