Build fails - but only under Resharper Build
When building with normal VS Build - everyhthing works fine - the project builds. But when I switch to Resharper build I get errors around the Database that i have in the solution. Its complaining about not being able to find the SSDT Tools.
Error: The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15.3\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets" was not found. Also, tried to find "Microsoft\VisualStudio\v15.3\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets" in the fallback search path(s) for $(MSBuildExtensionsPath) - "C:\Program Files (x86)\MSBuild" . These search paths are defined in "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\MSBuild.exe.Config". Confirm that the path in the <Import> declaration is correct, and that the file exists on disk in one of the search paths.
it looks like its something todo with Visual Studio versions - as
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15.3\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets" does not exist....but
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets"
does exist.
Please sign in to leave a comment.
I have the exact same problem and have not been able to find a solution
no help came from here - so I ended up uninstalling and re-installing Visual Studio - which solved the problem.
the problem is something todo with a directory getting renamed to 15.3 when you install VS Update 3 - and for some reason Resharper expects it to still be 15.
its not the first time its Resharper Build has stopped working for me - but I did more digging this time.
Hope that helps
Cliff.
Hello!
Sorry for delay in responding.
We are aware of the issue and are inverstigating it at the moment.
You can follow corresponding bug here - https://youtrack.jetbrains.com/issue/RSRP-466546
Please feel free to comment or vote for it.
Thank you.
Hello Cliff!
Resolving MSBuild toolsets were reimplemented in ReSharper 2018.2. Could you please try the latest ReSharper 2018.2 EAP build - https://www.jetbrains.com/resharper/eap/ and check if the problem is still reproduced?
Thank you.