Skip to content

Commit

Permalink
Add license to templates (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
zijchen authored Nov 10, 2022
1 parent 9683756 commit b25cf6e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<Project>
<PropertyGroup>
<!-- Root directory of the code base. Do not set this anywhere else. -->
<EnlistmentRoot>$(MSBuildThisFileDirectory)</EnlistmentRoot>

<!-- Microsoft.Build.Sql SDK will use DLLs from this version of DacFx Nuget. -->
<DacFxPackageVersion Condition="'$(DacFxPackageVersion)' == ''">161.6374.0</DacFxPackageVersion>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<Authors>Microsoft</Authors>
<Description>Templates for creating new Microsoft.Build.Sql projects.</Description>
<PackageProjectUrl>https://github.com/microsoft/dacfx</PackageProjectUrl>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
<IncludeBuildOutput>false</IncludeBuildOutput>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<TemplateIntermediateOutputPath>$(BaseIntermediateOutputPath)\$(Configuration)\$(MSBuildThisFileName)\sqlproject</TemplateIntermediateOutputPath>
Expand All @@ -17,6 +18,7 @@
<Compile Remove="**\*" />
</ItemGroup>
<ItemGroup>
<Content Include="$(EnlistmentRoot)/LICENSE.txt" PackagePath="/" Pack="true" />
<Content Include="$(TemplateIntermediateOutputPath)\**" PackagePath="content/" Pack="true" />
</ItemGroup>

Expand Down

0 comments on commit b25cf6e

Please sign in to comment.