SSIS packages created using SQL Server (2005-2019) cannot be automatically upgraded to a later version without first performing a pre-upgrade step. First, open the .dtsx package file in a text editor such as Notepad. Next, replace all instances of 126.96.36.199 (if created using SQL Server 2005), 10.0.0.0 (2008), or 188.8.131.52 (2012), or 184.108.40.206 (2014) with either 10.0.0.0 (if upgrading to SQL Server 2008), 220.127.116.11 (2012), or 18.104.22.168 (2014), or 22.214.171.124 (2016), 126.96.36.199 (2017), 188.8.131.52 (2019), or 184.108.40.206 (2022) then save the modified file. Lastly, open the solution with BIDS (2008) or SQL Server Data Tools /Visual Studio (2012/2017/2019/2022), which will automatically convert the solution and package.
Note that as of SQL Server 2014-2017, SQL Server Data Tools must be downloaded and installed separately; please refer to: https://docs.microsoft.com/en-us/sql/ssdt/download-sql-server-data-tools-ssdt?view=sql-server-ver15
For SQL Server 2019 and 2022 you Must install Visual Studio, Community edition should be freely available from Microsoft
For SQL Server 2019, please see this article Adding Data Tools/Integration Services to Visual Studio 2019
*2019 requires mSQL version 220.127.116.11 or newer
For SQL Server 2022, see this article Adding Data Tools/Integration Services to Visual Studio 2022
*2022 requires mSQL version 2.4.4 or newer
Also don't forget to install .net 3.5 if setting up a new server, that's not included by default in newer windows versions.
If you need to downgrade a project - then please click here