fsprojects / SQLProvider

A general F# SQL database erasing type provider, supporting LINQ queries, schema exploration, individuals, CRUD operations and much more besides.
https://fsprojects.github.io/SQLProvider
Other
564 stars 144 forks source link

SSDT Provider - Incorrect SsdtPath in Ionide gives misleading path in error message #717

Closed JordanMarr closed 3 years ago

JordanMarr commented 3 years ago

Describe the bug This is similar to the issue you report in #706. The fix I made for that works for Visual Studio Pro, but not in Ionide. The issue is in the findDacPacFile function which tries to "search" for the .dacpac file if it is not found. I need to tweak the error message so that the "Unable to find .dacpac" message shows all searched paths.

To Reproduce Give a wrong SsdtPath in Ionide - the "Unable to find .dacpac at 'PATH'." message will not reflect the configured path at all.

Expected behavior It should reflect all searched locations.