有关问题的详细信息,
当您通过网站手动将软件包上传到Nuget.org时,我可以设置一个文档URL,该网址指向github上的readme文件,如下所示: https://www.nuget.org/packages/blazor-server-server-githubactions-demo/ 我如何通过.csprojection文件,因为我使用CI / CD发布我的软件包,因此我不希望这是手动步骤。如何与Pacakge一起自动发布readme文件。
Details about Problem
When uploading a package to nuget.org manually via the website, I can set a documentation URL that points to a readme file on github, as shown here: https://www.nuget.org/packages/blazor-server-githubactions-demo/ How do I this via a .csproject file, as I use CI / CD to publish my packages and so I don't want this to be a manual step. how publish readme file automatically along with pacakge.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我没有尝试,但是根据此博客从Microsoft发帖,我希望以下能够
readme.md
。csproj
文件看起来像这样:这应该配置Nuget软件包中的所有内容,以便将其上传到Nuget.org时被拾取。
I didn't try, but according to this blog post from Microsoft, I'd expect the following to work ????????
README.md
in your repo.csproj
file looks like this:This should configure everything in your NuGet package, so that it gets picked up when being uploaded to nuget.org.