Best practice for using Source Link

爱⌒轻易说出口 提交于 2021-01-28 05:08:12

问题


I am trying to implement Source Link in a NuGet package. I have successfully implemented the instructions in the GitHub README (https://github.com/dotnet/sourcelink), but am confused about which artifacts to upload to our NuGet package source (MyGet).

It seems that two artifacts are generated; a .nupkg and .snupkg file. MyGet returns a 409 response when I attempt to upload both to the same feed.

So, what is the best practice for using Source Link? Is it to use a separate feed for the .snupkg files? Or, does MyGet just not support it yet?

At the time of writing, I can't find an answer in the documentation or elsewhere.

I've currently switched to using the .symbols.nupkg format and am uploading that, which does work, but means that the symbol .pdb files are also bloating the package size.

来源:https://stackoverflow.com/questions/57320511/best-practice-for-using-source-link

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!