Skip to content

Conversation

@Charles-Gagnon
Copy link
Contributor

Closes #162

<None Include="pkgicon.png" Pack="true" PackagePath="" />
<None Include="..\lib\Microsoft.SqlServer.TransactSql.ScriptDom.dll" Pack="true" PackagePath="lib/$(TargetFramework)" />
<None Include=".\README.md" Pack="true" PackagePath="" />
<None Include="..\README.md" Pack="true" PackagePath="" />
Copy link
Contributor

Choose a reason for hiding this comment

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

Won't relative links in the root README be broken if a user tries to access them from nuget.org?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh hey good catch, yeah let me update them to be fully qualified

Copy link
Contributor

Choose a reason for hiding this comment

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

It's almost like I have experience with markdown links or something 😅

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's not quite as nice since now :

  • It always links to main (so if you have a specific branch with changes you wanted to test or whatever the links would go to the wrong place)
  • If editing in VS Code it'll open up in your external web browser instead of in VS Code itself

Neither of these are huge issues - just minor things during development. So I'm fine with making this since the alternative is to keep two copies of the README (which makes keeping them in sync annoying) or write some custom script to replace the relative values before packaging. Both of which seem like more work than is necessary.

@Charles-Gagnon Charles-Gagnon merged commit 8ac7922 into main Dec 6, 2022
@Charles-Gagnon Charles-Gagnon deleted the chgagnon/nugetReadme branch December 6, 2022 21:29
PBBlox pushed a commit to PBBlox/azure-functions-sql-extension that referenced this pull request Apr 6, 2025
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.

Improve Nuget README

4 participants