TDS:升级后“构建 GetFrameworkPaths 失败”

Jan*_*ler 3 sitecore visual-studio tds

我已将 TDS 升级到 5.5,现在在使用 Visual Studio 打开包含 TDS 项目的解决方案时出现以下错误:

TDS failed to change configurations with the error 'Build of GetFrameworkPaths failed.'.
Please see the output window for more details.
Run Code Online (Sandbox Code Playgroud)

Jan*_*ler 6

这是 Hedgehog 尚未修复的已知问题。他们确实提供了一种解决方法:

http://www.hhogdev.com/blog/2016/may/common-problem-after-tds-5,-d-,5-upgrade.aspx

为了节省一些时间,您可以删除

C:\Program Files (x86)\MSBuild\HedgehogDevelopment\SitecoreProject\v9.0\HedgehogDevelopment.SitecoreProject.targets

文件并运行 TDS 安装程序并选择修复而不是像 Hedgehog 建议的那样卸载和重新安装 TDS。

  • 在升级到 TDS 5.6 后出现错误“项目中不存在目标 GetFrameworkPaths”和“GetProjectContentFiles 任务没有为所需参数 ConfigurationToBuild 提供值”时,此答案也对我有用 (2认同)