File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 5050 <None Include =" .publicApi\**\PublicAPI.*.txt" />
5151 </ItemGroup >
5252
53+ <Target Name =" IncludeSigningSignaturesInPackages" BeforeTargets =" _GetTargetFrameworksOutput" >
54+ <!-- Note: This target adds any signatures found to nuget packages -->
55+ <ItemGroup >
56+ <SignatureFiles Include =" $(RepoRoot)\src\$(MSBuildProjectName)\bin\$(Configuration)\*\$(MSBuildProjectName).dll-keyless.sig" />
57+ <Content Include =" @(SignatureFiles)" Link =" %(RecursiveDir)%(Filename)%(Extension)" PackagePath =" lib" />
58+ <CertificateFiles Include =" $(RepoRoot)\src\$(MSBuildProjectName)\bin\$(Configuration)\*\$(MSBuildProjectName).dll-keyless.pem" />
59+ <Content Include =" @(CertificateFiles)" Link =" %(RecursiveDir)%(Filename)%(Extension)" PackagePath =" lib" />
60+ </ItemGroup >
61+
62+ <Message Importance =" high" Text =" **IncludeSignaturesInPackagesDebug** SignatureFiles: @(SignatureFiles)" />
63+ <Message Importance =" high" Text =" **IncludeCertificatesInPackagesDebug** SignatureFiles: @(CertificateFiles)" />
64+ </Target >
65+
5366 <Target Name =" AssemblyVersionTarget" AfterTargets =" MinVer" Condition =" '$(MinVerVersion)'!='' AND '$(BuildNumber)' != ''" >
5467 <!-- Note: $(BuildNumber) is typically only set for builds initiated by the
5568 publish workflow. The goal here is to set the assembly FileVersion and
You can’t perform that action at this time.
0 commit comments