Hi @Steve Finner ,
Welcome to Microsoft Q&A!
Could you create a new project and check if it occurs in other projects? I tried it on my side and couldn’t reproduce the issue.
You can try the following workarounds:
- Update your VS2022 to the latest version with Visual Studio Installer.
- Enter “devenv /ResetSettings” at Developer Command Prompt for VS 2022 to restore your Visual Studio default setting.
- In your project properties > Build Events, please check if you use a build event to customize the project’s build.
If it persists, maybe you can check the detailed output by setting Tools > Options > Projects and Solutions > Build And Run > MSBuild project build output verbosity option to Detailed.
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.