Signing nupkg contents (Cli.Utils and MSBuildResolver) along with the rest of the compiled assemblies.
This commit is contained in:
parent
2a493c1318
commit
423c407ec4
1 changed files with 7 additions and 4 deletions
|
@ -28,7 +28,7 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="PostCompileSign" DependsOnTargets="GetPostCompileSignFiles;SignFiles" />
|
<Target Name="PostCompileSign" DependsOnTargets="GetPostCompileSignFiles;GetSignNuPkgContentsFiles;GetSignSdkResolverContentsFiles;SignFiles" />
|
||||||
|
|
||||||
<Target Name="GetPostCompileSignFiles">
|
<Target Name="GetPostCompileSignFiles">
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -71,18 +71,21 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="SignNuPkgContents" DependsOnTargets="GetSignNuPkgContentsFiles;SignFiles" />
|
<!-- Keeping this target around so as not to break existing build definitions. -->
|
||||||
|
<Target Name="SignNuPkgContents" />
|
||||||
|
|
||||||
<Target Name="GetSignNuPkgContentsFiles">
|
<Target Name="GetSignNuPkgContentsFiles">
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<!-- NuPkg contents -->
|
<!-- NuPkg contents -->
|
||||||
<FilesToSign Include="$(BaseOutputDirectory)/bin/Microsoft.DotNet.Cli.Utils/**/Microsoft.DotNet.Cli.Utils.dll">
|
<FilesToSign Include="$(BaseOutputDirectory)/bin/Microsoft.DotNet.Cli.Utils/**/Microsoft.DotNet.Cli.Utils.dll;
|
||||||
|
$(BaseOutputDirectory)/bin/Microsoft.DotNet.Cli.Utils/**/Microsoft.DotNet.Cli.Utils.resources.dll">
|
||||||
<Authenticode>$(InternalCertificateId)</Authenticode>
|
<Authenticode>$(InternalCertificateId)</Authenticode>
|
||||||
</FilesToSign>
|
</FilesToSign>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="SignSdkResolverContents" DependsOnTargets="GetSignSdkResolverContentsFiles;SignFiles" />
|
<!-- Keeping this target around so as not to break existing build definitions. -->
|
||||||
|
<Target Name="SignSdkResolverContents" />
|
||||||
|
|
||||||
<Target Name="GetSignSdkResolverContentsFiles">
|
<Target Name="GetSignSdkResolverContentsFiles">
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
Loading…
Reference in a new issue