From 04ca2be5fd85baf2de26cd50f15bb1a0309b8034 Mon Sep 17 00:00:00 2001 From: Nirmal Guru Date: Sat, 31 Jul 2021 08:31:12 +0530 Subject: [PATCH] Add, Update and Format build Comments - Remove redundant comments. - Add missing comments on certain code blocks. - Format code in comments with proper quote style. --- Directory.Build.targets | 5 +++++ build/Community.Toolkit.Common.props | 6 +++--- build/Community.Toolkit.Common.targets | 1 - build/Community.Toolkit.TextTemplates.targets | 4 +++- .../CommunityToolkit.Diagnostics.csproj | 4 ++++ ...tyToolkit.Mvvm.SourceGenerators.Roslyn40.csproj | 5 +++++ ...tyToolkit.Mvvm.SourceGenerators.Roslyn43.csproj | 5 +++++ .../CommunityToolkit.Mvvm.csproj | 14 ++++++++++---- .../CommunityToolkit.Mvvm.targets | 10 +++++----- src/Directory.Build.props | 1 + src/Directory.Build.targets | 4 ++++ tests/Directory.Build.props | 6 ++++++ 12 files changed, 51 insertions(+), 14 deletions(-) diff --git a/Directory.Build.targets b/Directory.Build.targets index c51d83ac5..6b6e9b4e1 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -2,6 +2,11 @@ + diff --git a/build/Community.Toolkit.Common.props b/build/Community.Toolkit.Common.props index 71e8b5e9d..fd4e8daec 100644 --- a/build/Community.Toolkit.Common.props +++ b/build/Community.Toolkit.Common.props @@ -13,9 +13,9 @@ $(NoWarn);CS8500 diff --git a/build/Community.Toolkit.Common.targets b/build/Community.Toolkit.Common.targets index fe9c21020..bce42789f 100644 --- a/build/Community.Toolkit.Common.targets +++ b/build/Community.Toolkit.Common.targets @@ -14,7 +14,6 @@ - $(Product) Asset $(CommonTags);$(PackageTags) $(CommonTags) diff --git a/build/Community.Toolkit.TextTemplates.targets b/build/Community.Toolkit.TextTemplates.targets index 0df023483..abf76ca3d 100644 --- a/build/Community.Toolkit.TextTemplates.targets +++ b/build/Community.Toolkit.TextTemplates.targets @@ -1,10 +1,11 @@ - + + TextTemplatingFileGenerator @@ -12,6 +13,7 @@ + True diff --git a/src/CommunityToolkit.Diagnostics/CommunityToolkit.Diagnostics.csproj b/src/CommunityToolkit.Diagnostics/CommunityToolkit.Diagnostics.csproj index e7bed0556..bb2a3ee5d 100644 --- a/src/CommunityToolkit.Diagnostics/CommunityToolkit.Diagnostics.csproj +++ b/src/CommunityToolkit.Diagnostics/CommunityToolkit.Diagnostics.csproj @@ -43,6 +43,10 @@ + \ No newline at end of file diff --git a/src/CommunityToolkit.Mvvm.SourceGenerators/CommunityToolkit.Mvvm.SourceGenerators.Roslyn40.csproj b/src/CommunityToolkit.Mvvm.SourceGenerators/CommunityToolkit.Mvvm.SourceGenerators.Roslyn40.csproj index 78fd2bbe8..51b69d2bb 100644 --- a/src/CommunityToolkit.Mvvm.SourceGenerators/CommunityToolkit.Mvvm.SourceGenerators.Roslyn40.csproj +++ b/src/CommunityToolkit.Mvvm.SourceGenerators/CommunityToolkit.Mvvm.SourceGenerators.Roslyn40.csproj @@ -5,6 +5,7 @@ netstandard2.0 + @@ -14,6 +15,10 @@ + diff --git a/src/CommunityToolkit.Mvvm.SourceGenerators/CommunityToolkit.Mvvm.SourceGenerators.Roslyn43.csproj b/src/CommunityToolkit.Mvvm.SourceGenerators/CommunityToolkit.Mvvm.SourceGenerators.Roslyn43.csproj index 0c748da9a..158dea734 100644 --- a/src/CommunityToolkit.Mvvm.SourceGenerators/CommunityToolkit.Mvvm.SourceGenerators.Roslyn43.csproj +++ b/src/CommunityToolkit.Mvvm.SourceGenerators/CommunityToolkit.Mvvm.SourceGenerators.Roslyn43.csproj @@ -5,6 +5,7 @@ netstandard2.0 + @@ -14,6 +15,10 @@ + diff --git a/src/CommunityToolkit.Mvvm/CommunityToolkit.Mvvm.csproj b/src/CommunityToolkit.Mvvm/CommunityToolkit.Mvvm.csproj index 6a6bb18d3..dc25cee46 100644 --- a/src/CommunityToolkit.Mvvm/CommunityToolkit.Mvvm.csproj +++ b/src/CommunityToolkit.Mvvm/CommunityToolkit.Mvvm.csproj @@ -43,8 +43,8 @@ @@ -74,8 +74,14 @@ diff --git a/src/CommunityToolkit.Mvvm/CommunityToolkit.Mvvm.targets b/src/CommunityToolkit.Mvvm/CommunityToolkit.Mvvm.targets index 881b9a16c..fe88eb801 100644 --- a/src/CommunityToolkit.Mvvm/CommunityToolkit.Mvvm.targets +++ b/src/CommunityToolkit.Mvvm/CommunityToolkit.Mvvm.targets @@ -1,6 +1,6 @@ - + @@ -14,9 +14,9 @@ DependsOnTargets="MVVMToolkitGatherAnalyzers"> @@ -24,10 +24,10 @@ - + @(MVVMToolkitCurrentCompilerAssemblyIdentity->'%(Version)') - + true diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 96b5b700b..a42e218b6 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -2,6 +2,7 @@ + true true diff --git a/src/Directory.Build.targets b/src/Directory.Build.targets index 035d9e42c..fa0bd7f59 100644 --- a/src/Directory.Build.targets +++ b/src/Directory.Build.targets @@ -2,12 +2,16 @@ + + true true + NETSTANDARD2_1_OR_GREATER + diff --git a/tests/Directory.Build.props b/tests/Directory.Build.props index 9c91d9c2c..673d90b15 100644 --- a/tests/Directory.Build.props +++ b/tests/Directory.Build.props @@ -2,6 +2,11 @@ + false false @@ -10,6 +15,7 @@ true + false