Skip to content

Add readme.md to all nuget packages#22543

Merged
pakrym merged 1 commit intoAzure:mainfrom
pakrym:pakrym/Add-readme-md-to-all-nuget-packages
Jul 19, 2021
Merged

Add readme.md to all nuget packages#22543
pakrym merged 1 commit intoAzure:mainfrom
pakrym:pakrym/Add-readme-md-to-all-nuget-packages

Conversation

@pakrym
Copy link
Copy Markdown
Contributor

@pakrym pakrym commented Jul 8, 2021

Things seemed to have gone well this release.

The IsDesignTimeBuild fixes #22098

<OriginalReadmeMdPath>$([MSBuild]::NormalizeDirectory($(MSBuildProjectDirectory)/../))README.md</OriginalReadmeMdPath>
<ProcessedReadmeMdPath>$(IntermediateOutputPath)README.md</ProcessedReadmeMdPath>
<EnableNuGetReadmeMd Condition="'$(HasReleaseVersion)' == 'false' and Exists('$(OriginalReadmeMdPath)')">true</EnableNuGetReadmeMd>
<EnableNuGetReadmeMd Condition="'$(IsDesignTimeBuild)' == 'false' and Exists('$(OriginalReadmeMdPath)')">true</EnableNuGetReadmeMd>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we keep both conditions?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We had the HasReleaseVersion to only include README in previews, so removing it accomplishes having readme in GA packages as well.

Copy link
Copy Markdown
Member

@weshaggard weshaggard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question but otherwise seems reasonable.

@pakrym pakrym merged commit 7f8a4e8 into Azure:main Jul 19, 2021
@pakrym pakrym deleted the pakrym/Add-readme-md-to-all-nuget-packages branch July 19, 2021 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

README.md files no longer editable from within Solution Explorer

2 participants