Skip to content

Commit

Permalink
Introduce PublishTrimmed bool property.
Browse files Browse the repository at this point in the history
  • Loading branch information
melytc committed Oct 27, 2023
1 parent 391c741 commit 7a87841
Show file tree
Hide file tree
Showing 14 changed files with 141 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -431,13 +431,24 @@
</EnumProperty>

<!-- These Native AOT properties should not be visible for class library projects. -->
<BoolProperty Name="PublishTrimmed"
DisplayName="Publish trimmed"
Description="Controls wheter trimming is enabled during publish."
HelpUrl="https://go.microsoft.com/fwlink/?linkid=2250076"
Category="Publish">
<BoolProperty.DataSource>
<DataSource HasConfigurationCondition="False" />
</BoolProperty.DataSource>
<BoolProperty.Metadata>
<NameValuePair Name="VisibilityCondition">
<NameValuePair.Value>
(and
(has-project-capability "NativeAOT")
(not (has-evaluated-value "Application" "OutputType" "Library")))
</NameValuePair.Value>
</NameValuePair>
</BoolProperty.Metadata>
</BoolProperty>

<BoolProperty Name="PublishAot"
DisplayName="Publish native AOT"
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7a87841

Please sign in to comment.