Skip to content

Commit

Permalink
UPDATED: NoWarn.targets and PackageReadme.targets
Browse files Browse the repository at this point in the history
- In NoWarn.targets, added NU1605 to the list of warnings to be ignored
- In PackageReadme.targets, updated the lastmod and date fields to use the current timestamp
- In PackageReadme.targets, updated the authors field to include initials of package authors
- In PackageReadme.targets, added a TODO comment to write the contents of the readme file for $(MSBuildProjectName)
  • Loading branch information
dgmjr committed Oct 10, 2023
1 parent 2f75cd3 commit 7aa824b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/Build/NoWarn.targets
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<DisableMostAnnoyingWarnings>true</DisableMostAnnoyingWarnings>
<RestoreDependsOn>$(RestoreDependsOn);NoWarn</RestoreDependsOn>
<NoWarn>$(NoWarn);CA2252;CS8335;NU1603;CS8981;</NoWarn>
<NoWarn>$(NoWarn);CA2252;CS8335;NU1603;CS8981;NU1605;</NoWarn>
</PropertyGroup>
<ItemDefinitionGroup>
<NoWarn>
Expand Down
13 changes: 5 additions & 8 deletions src/Build/PackageReadme.targets
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,21 @@
<GeneratedPackageReadmeFileContents>
---;
title: $(Title);
lastmod: $(Date:yyyy-MMTdd-HH:mm:ssZ);
date: $(Date:yyyy-MM-ddTHH:mm:ssZ);
lastmod: $([System.DateTimeOffset]::Now.ToString("yyyy-MM-ddTHH:mm:ss.ppppZ"));
date: $([System.DateTimeOffset]::Now.ToString("yyyy-MM-ddTHH:mm:ss.ppppZ"));
license: $(PackageLicenseExpression);
slug: $(MSBuildProjectName)-readme;
version: $(PackageVersion);
type: readme;
authors:;
@(PackageAuthor->' - %(Initials);');
description: $(Description);
authors:; @(Author->' - %(Initials);');
description: $(MSBuildProjectName) Readme #TODO: write description for $(MSBuildProjectName) Readme;
keywords:;
- $(MSBuildProjectName);
@(PackageTag->' - %(Identity)');
type: readme
---;
;
# $(MSBuildProjectName) Readme;

<!-- TODO: Write the contents of the $(MSBuildProjectName) Readme file -->
%3c!-- TODO: Write the contents of the $(MSBuildProjectName) Readme file --%3e
;
## Package Description;
;
Expand Down

0 comments on commit 7aa824b

Please sign in to comment.