<?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>