Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/280.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 当“dotnet nuget push”失败时,从Github包后端获取诊断信息?_C#_Nuget_Github Package Registry - Fatal编程技术网

C# 当“dotnet nuget push”失败时,从Github包后端获取诊断信息?

C# 当“dotnet nuget push”失败时,从Github包后端获取诊断信息?,c#,nuget,github-package-registry,C#,Nuget,Github Package Registry,我正在尝试移植一个遗留项目,将nuget工件推送到Github包中作为概念证明,并在工作中学习 推送当前失败,无需解释: C:\Users\m86194\source\repos\my-project>dotnet nuget push "**/*.nupkg" --source github --skip-duplicate --api-key *** Pushing my-project.1.0.0.nupkg to 'https://nuget.pkg.gith

我正在尝试移植一个遗留项目,将nuget工件推送到Github包中作为概念证明,并在工作中学习

推送当前失败,无需解释:

C:\Users\m86194\source\repos\my-project>dotnet nuget push "**/*.nupkg" --source github  --skip-duplicate --api-key ***
Pushing my-project.1.0.0.nupkg to 'https://nuget.pkg.github.com/me'...
  PUT https://nuget.pkg.github.com/me/
warn : No destination repository detected. Ensure the source project has a 'RepositoryUrl' property defined. If you're using a nuspec file, ensure that it has a repository element with the required 'type' and 'url' attributes.
  BadRequest https://nuget.pkg.github.com/me/ 4721ms
error: Response status code does not indicate success: 400 (Bad Request).
(手动更改项目和用户名)。我知道dotnet在本地给出的关于RepositoryUrl的警告很可能是正确的,即使它应该在那里,但我希望后端能给出一个解释性的拒绝原因,我希望看到

在我未体验过的Github打包指南浏览中,我没有注意到这样一个调试日志,
dotnet nuget push
的帮助页面没有显示-v标志

如何从这里的服务器获取调试信息