DacFx, SqlPackage, and other SQL development libraries enable declarative database development and database portability across SQL versions and environments. Share feedback here on dacpacs, bacpacs, and SQL projects.
When I build the sqlproj (using dotnet build MyDb), the output dacpac goes into the old-style output location, MyDb/bin/Debug/MyDb.dacpac. It should go into the artifacts folder (ie artifacts/bin/MyDb/Debug/MyDb.dacpac) instead.
I have a repository with two files: a
Directory.Build.props
with an opt-in for the newUseArtifactsOutput
feature in .NET 8,and a
sqlproj
file in a subfolder:When I build the
sqlproj
(usingdotnet build MyDb
), the outputdacpac
goes into the old-style output location,MyDb/bin/Debug/MyDb.dacpac
. It should go into theartifacts
folder (ieartifacts/bin/MyDb/Debug/MyDb.dacpac
) instead.Thanks!