microsoft / azuredatastudio

Azure Data Studio is a data management and development tool with connectivity to popular cloud and on-premises databases. Azure Data Studio supports Windows, macOS, and Linux, with immediate capability to connect to Azure SQL and SQL Server. Browse the extension library for more database support options including MySQL, PostgreSQL, and MongoDB.
https://learn.microsoft.com/sql/azure-data-studio
MIT License
7.53k stars 896 forks source link

sql projects output path doesn't handle variables #20467

Open kisantia opened 2 years ago

kisantia commented 2 years ago

When determining where the generated dacpac is for publishing, the "OutputPath" property in the .sqlproj is used to determine this location if is specified.

If an output path has a variable, like <OutputPath>out/$(Configuration)</OutputPath> this is not currently handled. The xml parsing code is already pretty messy in the sql projects extension, so this is currently on hold while deciding if the parsing logic will move somewhere else.

kisantia commented 1 year ago

consider adding support for this after the project xml parsing code move to DacFx is done, if there's interest