31 строка
1.3 KiB
XML
31 строка
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<SignAssembly>true</SignAssembly>
|
|
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)\Keys\InternalKey.snk</AssemblyOriginatorKeyFile>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(PublicRelease)' == 'True'">
|
|
<DefineConstants>$(DefineConstants);PUBLIC_RELEASE</DefineConstants>
|
|
<DelaySign>true</DelaySign>
|
|
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)\Keys\35MSSharedLib1024.snk</AssemblyOriginatorKeyFile>
|
|
</PropertyGroup>
|
|
|
|
<Target Name="AddToSign" AfterTargets="CopyFilesToOutputDirectory" >
|
|
|
|
<ItemGroup>
|
|
<!-- Automatically sign binary generated by the project that imports Signing.props and all ps1 files -->
|
|
<FilesToSign Include="$(TargetPath)" >
|
|
<Authenticode>Microsoft400</Authenticode>
|
|
<StrongName>MsSharedLib72</StrongName>
|
|
</FilesToSign>
|
|
<FilesToSign Include="$(OutputPath)*.ps1">
|
|
<Authenticode>Microsoft400</Authenticode>
|
|
<StrongName>10006</StrongName>
|
|
</FilesToSign>
|
|
</ItemGroup>
|
|
|
|
<Message Text="FilesToSign: %(FilesToSign.Identity); %(FilesToSign.Authenticode); %(FilesToSign.StrongName)" Importance="high"/>
|
|
</Target>
|
|
</Project>
|