I believe this is a bug.
*The first mistake a made was accepting the upgrade from Visual Studio when prompted. This is what I have done:
1. Opened an existing Script Task on a package that was working and has been built and tested.
2. Click Edit Script.
3. Changed nothing and just clicked save.
4. Get the following error: Scripts contained in the package have compilation errors. Do you want to save changes? (Remember, I changed nothing!)
5. Open the script back up by clicking on Edit Script again
6. Go Build and select Build ST_3d9cab1ad210480b84e9145860270c8b
The build fails with the following error: Could not find a part of the path 'C:\Users\<User>\AppData\Local\Temp\Vsta\424749ca2d4f4772b6db785f714272fb_out'…
Other things I have done: I have deleted the script and created a new one. Even if you add no code, and just click save and close it removes the binary code. Clicking build just shows the error that I listed in list item 5 above.
There is nothing that I’ve been able to do to have it recreate or not remove the binary code. I have tried to fix it by uninstalling Visual Studio, uninstalling Microsoft.DataTools.IntegrationServices and every sign of Visual Studio ever existing on my machine through the Control Panel. Reinstalled Visual Studio and the issue is back.