Hi,
I had .net framework 4.7.03062 and Visual Studio SSDT 2015, need to upgrade to SSDT 2017 as of production version because my packages failed for version issues. Installed SSDT 2017 version 15.9.24 but still packages were failed. Then came to know .net framework should also similar, so installed 4.8.03761 and uninstalled the old one. I created the new project in SSDT 2017 and package but the script component package giving me following error.
SeverityCode DescriptionProjectFileLineSuppression State
ErrorError loading MyPackage.dtsx: MSB3644 - The reference assemblies for framework ".NETFramework,Version=v4.7" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend., C:\Program Files (x86)\Microsoft Visual Studio\2017\SQL\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets, 1179, 5C:\work\SSDT\TreasuryDataLoad\TreasuryDataLoad\MyPackage.dtsx1
I am unable to identify how SSIS package still searching for old .NETFramework, following assembly references used.
<AssemblyReferences>
<AssemblyReference AssemblyPath="Microsoft.SqlServer.DTSPipelineWrap" />
<AssemblyReference AssemblyPath="Microsoft.SqlServer.DTSRuntimeWrap" />
<AssemblyReference AssemblyPath="Microsoft.SqlServer.PipelineHost" />
<AssemblyReference AssemblyPath="Microsoft.SqlServer.TxScript" />
<AssemblyReference AssemblyPath="System.dll" />
<AssemblyReference AssemblyPath="System.Data.dll" />
<AssemblyReference AssemblyPath="System.Xml.dll" />
</AssemblyReferences>
I had .net framework 4.7.03062 and Visual Studio SSDT 2015, need to upgrade to SSDT 2017 as of production version because my packages failed for version issues. Installed SSDT 2017 version 15.9.24 but still packages were failed. Then came to know .net framework should also similar, so installed 4.8.03761 and uninstalled the old one. I created the new project in SSDT 2017 and package but the script component package giving me following error.
SeverityCode DescriptionProjectFileLineSuppression State
ErrorError loading MyPackage.dtsx: MSB3644 - The reference assemblies for framework ".NETFramework,Version=v4.7" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend., C:\Program Files (x86)\Microsoft Visual Studio\2017\SQL\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets, 1179, 5C:\work\SSDT\TreasuryDataLoad\TreasuryDataLoad\MyPackage.dtsx1
I am unable to identify how SSIS package still searching for old .NETFramework, following assembly references used.
<AssemblyReferences>
<AssemblyReference AssemblyPath="Microsoft.SqlServer.DTSPipelineWrap" />
<AssemblyReference AssemblyPath="Microsoft.SqlServer.DTSRuntimeWrap" />
<AssemblyReference AssemblyPath="Microsoft.SqlServer.PipelineHost" />
<AssemblyReference AssemblyPath="Microsoft.SqlServer.TxScript" />
<AssemblyReference AssemblyPath="System.dll" />
<AssemblyReference AssemblyPath="System.Data.dll" />
<AssemblyReference AssemblyPath="System.Xml.dll" />
</AssemblyReferences>
Many Thanks, Muhammad Yasir