Hi @Eric Bezemer , Welcome to Microsoft Q&A,
Make sure you have installed the correct versions of SQL Server Data Tools (SSDT) and Integration Services extensions. You mentioned that you're using Data Tools 2017 and Integration Services 2022, confirm that these versions are compatible with Visual Studio 2022.
Try rebuilding the script task to make sure your project is configured correctly, including the debug configuration and the target framework. Make sure that the 'ScriptMain.cs' file in the script task is correctly included in the project and that there are no issues with the path.
Best Regards,
Jiale
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.