简体   繁体   中英

Hyperlink in the description of the NuGet package in .nuspec

I'm developing a NuGet package and keep it open source at github.com

My package after installation requires a few configuration steps to be done in VS solution, and I document this in README.md file on github.

I'd like to reference this README.md file in the NuGet package, so that people know what to do after package installation.

I've specified <projectUrl> in my .nuspec file pointing to my Git repo on github. But it's not obvious for users that they need to click it to read documentation.

I'd like to make it loud and clear for users to follow the link to read full documentation. It would be nice to have a hyperlink, for example in the <description> field of the .nuspec file, so it's displayed as a hyperlink on the:

  • project page on nuget.org
  • package details shown in Visual Studio when browsing \\ installing the package

I've tried different ways to add a link, for example XML-escaping < and > as &lt; and &gt; but it doesn't show it as a link, but just as an html text.

The < licenseUrl> and < projectUrl> are the two tags which will show hyperlink in the NuGet package manager. You cannot provide hyperlinks in any other tags. If you want to provide a hyperlink use any of these. Otherwise, you can use a readme file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM