Open benjamin-hodgson opened 6 months ago
You can use $(SqlTargetPath)
to refer to the dacpac.
I'll try to look for the history of why SqlTargetPath was introduced instead of using TargetPath directly, and see if this is something we can change without breaking backwards compatibility.
The
PrintTargetPath
target outputsD:\test\MyDb\bin\Debug\MyDb.dll
; I would like$(TargetPath)
to refer to the output.dacpac
file. I have code elsewhere which expects$(TargetPath)
to point to the main build output of the project (which logically should be thedacpac
in my opinion).