最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Fail to publish photino blazor application to linux x64 with visual studio 2022 - Stack Overflow

programmeradmin1浏览0评论

I tried build my first photino blazor application to Linux.

I download the sample code from official github and want publish to Linux and try run.

.Blazor

But I found that when I publish, it would show the error and I don't know how to fix it.

'FindPackagesByIdAsync' for source 'core.app.host.linux-x64/index.json'.
1>Response status code does not indicate success: 401 (Unauthorized - No local versions of package 'microsoftcore.app.host.linux-x64'; please provide authentication to access versions from upstream that have not yet been saved to your feed. (DevOps Activity ID: E7D3E76A-84FE-41B8-9F30-57349A52AC91)).

This is my deploy options.

Thank you in advance for help.

Turns out that I found there is a "Nuget.config" in the project folder.

And it the file it contents below.

<packageSources>
    <clear />
    <add key="PhotinoPackages" value=".Native/_packaging/PhotinoPackages/nuget/v3/index.json" />
  </packageSources>

After I remove the file. everything is working.

发布评论

评论列表(0)

  1. 暂无评论