Open
Description
<Project Sdk="Microsoft.Build.Sql/0.1.15-preview">
<PropertyGroup>
<Name>MyDb</Name>
<DSP>Microsoft.Data.Tools.Schema.Sql.Sql160DatabaseSchemaProvider</DSP>
<ModelCollation>1033, CI</ModelCollation>
</PropertyGroup>
<Target Name="PrintTargetPath" AfterTargets="AfterBuild">
<Message Importance="high" Text="$(TargetPath)" />
</Target>
</Project>
The PrintTargetPath
target outputs D:\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 the dacpac
in my opinion).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment