Closed moljac closed 1 year ago
The **/*NuGetReadMe.cshtml
files look nearly identical (are identical?). Is there a way to share these files to simplify future updates?
(These may need to be updated in the future, if/when we ever migrate to the dotnet org…)
The
**/*NuGetReadMe.cshtml
files look nearly identical (are identical?). Is there a way to share these files to simplify future updates?
"nearly identical" I would say. But some will be quite different. For example, for "no-bindings" group/template I need to add conditional description, because this group contains several completely different packages from different maven group ids and different authors.
It would be too much effort for now.
This PR is quick workaround to obey nuget's warnings about nice-to-haves.
(These may need to be updated in the future, if/when we ever migrate to the dotnet org…)
if and when priority of MAUI activities reduce.
Does this change any of the generated binding API's?
No.
Describe your contribution
NuGet best practices recommend adding
readme.[txt,md]
to each package. Otherwise following warning is emitted:This PR adds
readme.md
to NuGet packages.https://devblogs.microsoft.com/nuget/add-a-readme-to-your-nuget-package/
https://devblogs.microsoft.com/nuget/write-a-high-quality-readme-for-nuget-packages/
https://github.com/NuGet/Home/issues/12070
https://raw.githubusercontent.com/lyndaidaii/NuGetReadMeTemplate/main/README.md
Verification
Result: