Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Also search %PATH% for sqlpackage.exe #97

Closed

Conversation

FH-Inway
Copy link
Owner

The installation documentation for SqlPackage says: Installing SqlPackage as a global tool makes it available on your path as sqlpackage and is the recommended method to install SqlPackage for Windows, macOS, and Linux.

In line with Microsoft's expectations, also search %PATH% if sqlpackage is not found in the d365fo.tools default path ($Script:SqlPackagePath). If it is found in the %PATH% then update the default path with the actual path to sqlpackage.exe.

Author: Colin Daley
Date: 2024-03-24

The installation documentation for SqlPackage says:
Installing SqlPackage as a global tool makes it available on your path
as sqlpackage and is the recommended method to install SqlPackage for
Windows, macOS, and Linux.

In line with Microsoft's expectations, also search %PATH% if
sqlpackage is not found in the d365fo.tools default path
($Script:SqlPackagePath). If it is found in the %PATH% then update the
default path with the actual path to sqlpackage.exe.

Author: Colin Daley
Date: 2024-03-24
@FH-Inway FH-Inway closed this Mar 25, 2024
@FH-Inway FH-Inway reopened this Mar 25, 2024
@FH-Inway FH-Inway closed this Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants