<?xml version="1.0" encoding="utf-8"?>
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE.md file in the project root for more information. -->
<Rule Name="Signing" Description="与生成签名程序集相关的属性。" DisplayName="签名" PageTemplate="generic" Order="700" xmlns="http://schemas.microsoft.com/build/2009/properties">
  <Rule.DataSource>
    <DataSource Persistence="ProjectFileWithInterception" SourceOfDefaultValue="BeforeContext" HasConfigurationCondition="False" />
  </Rule.DataSource>
  <BoolProperty Name="SignAssembly" Description="对输出程序集进行签名来向其提供强名称。" HelpUrl="https://go.microsoft.com/fwlink/?linkid=2147136" DisplayName="对程序集签名" />
  <StringProperty Name="AssemblyOriginatorKeyFile" DisplayName="强名称密钥文件" Subtype="file">
    <StringProperty.Metadata>
      <NameValuePair Name="VisibilityCondition">
        <NameValuePair.Value>(evaluated "Signing" "SignAssembly")</NameValuePair.Value>
      </NameValuePair>
    </StringProperty.Metadata>
  </StringProperty>
  <BoolProperty Name="DelaySign" Description="访问私钥受限制时使用延迟签名。生成期间将使用公钥，在程序集切换之前，私钥信息的添加会延迟。" HelpUrl="https://go.microsoft.com/fwlink/?linkid=2147243" DisplayName="仅延迟签名">
    <BoolProperty.Metadata>
      <NameValuePair Name="VisibilityCondition">
        <NameValuePair.Value>(evaluated "Signing" "SignAssembly")</NameValuePair.Value>
      </NameValuePair>
    </BoolProperty.Metadata>
  </BoolProperty>
</Rule>