I am in the process of migrating my solution from VS 2013 to VS 2017. I installed the correct version of TDS (TDS 5.6.0.15
for VS 2017) and when trying to open the solution in VS 2017, TDS projects are not loading and throwing following error.
Tried an option in the error dialog box to convert TDS project to .NET Framework 4.6.1
but it does nothing and TDS projects are still not loading. Not sure how to fix it.
Do I really need .NET Framework 4.0
installed on this machine?
Would appreciate if someone can chime in with a solution for similar migration.
Below is PropertyGroup
node from Project definition file (.csproj
).
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.21022</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{1a9cd7e6-633b-4cfd-a018-c68ce1f57482}</ProjectGuid>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
<SourceWebPhysicalPath>..\GexaNes.Web</SourceWebPhysicalPath>
<SourceWebProject>{b8d502fa-286e-45e9-b41f-584dadd80d16}|GexaNes.Web\GexaNes.Web.csproj</SourceWebProject>
<SourceWebVirtualPath>/GexaNes.Web.csproj</SourceWebVirtualPath>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
<EnableUpdateable>true</EnableUpdateable>
<UseMerge>true</UseMerge>
<SingleAssemblyName>GexaNes.TDS.Core</SingleAssemblyName>
<UseWebConfigReplacement>false</UseWebConfigReplacement>
<DeleteAppCodeCompiledFiles>true</DeleteAppCodeCompiledFiles>
<LegacyFileReplacement>false</LegacyFileReplacement>
<AssemblyName>GexaNes.TDS.Core</AssemblyName>
<Name>GexaNes.TDS.Core</Name>
<RootNamespace>GexaNes.TDS.Core</RootNamespace>
<SitecoreDatabase>core</SitecoreDatabase>
<SccProjectName>
</SccProjectName>
<SccProvider>
</SccProvider>
<SccAuxPath>
</SccAuxPath>
<SccLocalPath>
</SccLocalPath>
<EnableCodeGeneration>false</EnableCodeGeneration>
<ManageRoles>False</ManageRoles>
<AssemblyStatus>Exclude</AssemblyStatus>
</PropertyGroup>
....
</Project>
.Net Framework
to4.6.1
of the different projects manually? Moreover can you try to update thetargetFramework
manually by editing the.scproj
via notepad?