Skip to content

Commit

Permalink
Add some Labels to some property groups
Browse files Browse the repository at this point in the history
Some property groups have conditions that also self-explain their purpose.
So, Add labels to bare property groups only to differentiate among themselves.
Then, when contributors add any additional properties, they'll know where to put them.
  • Loading branch information
Nirmal4G committed Aug 19, 2022
1 parent 2c96439 commit 735d3d2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build/Community.Toolkit.Common.props
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
<Project>

<PropertyGroup>
<PropertyGroup Label="Compile">
<Nullable>Enable</Nullable>
<LangVersion>10.0</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

<PropertyGroup>
<PropertyGroup Label="Assembly">
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(RepositoryDirectory)toolkit.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<PropertyGroup>
<PropertyGroup Label="Project">
<IsTestProject>$(MSBuildProjectName.EndsWith('Tests'))</IsTestProject>
<IsCoreProject Condition="$(IsTestProject)">False</IsCoreProject>
<IsCoreProject Condition="'$(IsCoreProject)' == ''">True</IsCoreProject>
</PropertyGroup>

<PropertyGroup>
<PropertyGroup Label="Build">
<IsPackable>true</IsPackable>
<IsPublishable>true</IsPublishable>
<ContinuousIntegrationBuild>$(TF_BUILD)</ContinuousIntegrationBuild>
Expand Down

0 comments on commit 735d3d2

Please sign in to comment.