Hi @Alex,
Welcome to Microsoft Q&A!
Please disable or uninstall the installed extensions under Extensions > Manage Extensions > Installed.
Meanwhile, go to Tools > Options > Environment > General > uncheck Automatically adjust visual experience based on client performance and Use hardware graphics acceleration if available.
Then, you can build again and check if the time is shorter.
Sincerely,
Anna
If the answer is the right solution, 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.