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 Jun 23, 2022
1 parent 9768e93 commit d91f622
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 d91f622

Please sign in to comment.