@Cram, Thanks for posting in Q&A. On my point view, to approach this without compromising security, here is my suggestion:
1, Please check if the temp file location of Visual Studio 2019 can be changed via modify environment variable.
2, If yes, create a new location to put these temp files.
3, Allow the files in this location in AppLocker rule.
Hope the above information can help.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.