Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Add 3rd party licenses #15696

Merged
merged 8 commits into from
Feb 22, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add 3rd party licenses
  • Loading branch information
jfversluis committed Feb 20, 2023
commit a1cc93cd93388f27a0b6aca0127185fa57c2b0aa
2 changes: 2 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<Company>Microsoft</Company>
<Product>Xamarin.Forms</Product>
<ProduceReferenceAssembly Condition="'$(UsingMicrosoftNETSdk)' == 'True' AND '$(Configuration)' == 'Debug'">True</ProduceReferenceAssembly>
<LicenseFile>$(MSBuildThisFileDirectory)LICENSE</LicenseFile>
<PackageThirdPartyNoticesFile>$(MSBuildThisFileDirectory)THIRD-PARTY-NOTICES.TXT</PackageThirdPartyNoticesFile>
</PropertyGroup>
<PropertyGroup>
<GitDefaultBranch>main</GitDefaultBranch>
Expand Down
10 changes: 10 additions & 0 deletions Nuget.targets
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,14 @@
<PackageReference Include="Xamarin.Forms.AppLinks" Version="$(XamarinFormsVersion)">
</PackageReference>
</ItemGroup>

<!-- License files -->
<ItemGroup>
<None Include="$(LicenseFile)"
PackagePath="$([System.IO.Path]::GetFileName('$(LicenseFile)'))"
Pack="true" />
<None Include="$(PackageThirdPartyNoticesFile)"
PackagePath="$([System.IO.Path]::GetFileName('$(PackageThirdPartyNoticesFile)'))"
Pack="true" />
</ItemGroup>
</Project>
Loading