我已经在本地服务器上安装了Nexus Repository,并成功上传了nupkg文件(依赖项)。现在,我正在尝试将我的版本(asp net core app buid dll)保存在Nexus respo(Nexus托管的Repo类型)中,但无法执行。我没有任何变通办法,而不是直接在Nexus中存储asp net core构建dll。
我在链接中创建了一个“行”类型的nuget,并在其中上传了压缩文件,从而解决了该问题。这是我已采取的步骤。1.)发布项目dotnet发布-c版本-o 2.)zip结果winrar --afzip myzip.zip 3.)将zip文件上传到Nexus curl --upload-file myzip.zip -u admin:admin123 -v http ://172.99.99.99:8081 / repository / nuget-release / 4.)完成!!!
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句