Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TDS: 'Build fo GetFrameworkPaths failed' after upgrade

I've upgraded my TDS to 5.5 and now I get the following error when opening a solution containing a TDS project with Visual Studio:

TDS failed to change configurations with the error 'Build of GetFrameworkPaths failed.'.
Please see the output window for more details.
like image 623
Jan Bühler Avatar asked Sep 02 '25 02:09

Jan Bühler


2 Answers

This is a known issue not yet fixed by Hedgehog. They do provide a workaround:

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

To save some time you can just delete the

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

file and run the TDS installer and choose repair instead of uninstalling and reinstalling TDS as Hedgehog recommends.

like image 50
Jan Bühler Avatar answered Sep 06 '25 16:09

Jan Bühler


This error can also appear when running into code / build issues. I saw this error when there was a line ending issue which resulted in a syntax error in my code generation output (eg. Models.cs).

Try these:

  • Restart Visual Studio and/or your PC.
  • Unload and reload the TDS project(s) with dependencies.
  • Restore NuGet packages.
  • Check your TDS logs / outputs as there may be a more specific error that precedes this one.
  • Inspect your code for any syntax errors / line ending issues.
  • Inspect your code for any rule / code quality violations.
  • Verify that your other projects can build successfully.
like image 27
Marcel Gruber Avatar answered Sep 06 '25 18:09

Marcel Gruber