为什么骑手不解决我已安装的Nuget软件包的参考?

发布于 2025-02-06 13:50:33 字数 734 浏览 3 评论 0原文

我有一个.NET核心项目,并且正在使用已安装的骑手的最新版本。我在这里对Rider的新手(从使用Visual Studio迁移)。 其中一个项目引用了

(<add key="DidiSoft.OpenSsl" value="https://repo.didisoft.com/repository/openssl/" />)

我最初在连接到URL的问题的Didisoft软件包,因为Rider一直在提示我使用用户名/密码对话框提示我。我一直输入(经过验证的)用户名/密码 - 我一直在获取对话框。我告诉我,骑手有一个问题,周围的工作是“使用凭证提供者”将“无”。

我这样做并重新启动了我的系统。

现在...,它寻求成功安装软件包的所有强烈目的。

在Nuget控制台中,我看到包装为已安装的软件包(在左图中),右面板正确指示已安装的项目。

如何在我的项目源代码中(通过使用语句)正确解决库。

using DidX.BouncyCastle.Crypto;
using DidX.BouncyCastle.Crypto.EC;

无法解析符号'didx'

我尝试过的“还原”和“强制还原”符号的符号,但我仍然得到相同的结果。

除了看到未解决的引用外,我看不到任何其他错误/警告消息。 我可以采取哪些步骤来解决这个问题?我在这里错过了什么吗?有没有办法尝试获取有关我的问题的更多信息?

I have a .Net Core project and am using the most recent version of Rider installed. I'm pretty new to Rider here (migrating over from using Visual Studio).
One of the projects references the DiDiSoft package

(<add key="DidiSoft.OpenSsl" value="https://repo.didisoft.com/repository/openssl/" />)

I was originally having issues connecting to the URL as Rider kept prompting me with the UserName/Password dialog. I kept entering the (validated) UserName/Password - and I kept getting the dialog. I was informed me there was an issue with Rider and the work around was to "Use Credentialed Providers" to "None."

I did this and rebooted my system.

Now..., it looks for all intense purposes that the package has been successfully installed.

In the NuGet Console, I see the package listed as installed (in the left panel) and the right panel correctly indicates the project that it was installed to.

How ever the library is not getting correctly resolved (via using statement) in my project source code.

using DidX.BouncyCastle.Crypto;
using DidX.BouncyCastle.Crypto.EC;

Cannot resolve symbol 'DidX'

I've tried "Restore" and "Forced Restore" of the NuGet package, but I still get the same result.

Other than seeing the unresolved references, I don't see any other error/warning messages.
What steps can I do to resolve this issue? Am I missing something here? Is there a way I can try to do get more information regarding my issue?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

橘亓 2025-02-13 13:50:33

我在骑手2023.1.0也遇到了同样的问题。在中使用sixlabors.imagesharp; sixlabors被标记为红色,骑手说它无法解析符号。

软件包sixlabors.imagesharp v.3.1.4已正确安装,但Rider Nuget Manager将其标记为脆弱。

清理缓存,恢复,重建,重新加载等无济于事。

我将软件包升级到3.1.5版本。使用使用SixLabors.imagesHarp;中消失了。然后,我将包装降低到v.3.1.4,红色问题没有回来!

希望它可能对某人有用。

I had the same issue with Rider 2023.1.0. In using SixLabors.ImageSharp; SixLabors was marked as red with Rider saying it cannot resolve the symbol.

Package SixLabors.ImageSharp v.3.1.4 was properly installed but Rider NuGet manager marked it as vulnerable.

Cleaning up of the cache, restoring, rebuilding, reloading, etc. did not help.

I upgraded the package to 3.1.5 version. Red color from using SixLabors.ImageSharp; disappeared. Then I downgraded the package back to v.3.1.4, and the red color problem did not come back!

Hope it might work for someone.

淡墨 2025-02-13 13:50:33

我有类似的问题。

您可以通过将软件包添加到.csproj文件来解决它

<ItemGroup>
<PackageReference Include="DidiSoft.Pgp.Trial" Version="1.9.4.24" />

<PackageReference Include="DidiSoft.Pgp.Trial" Version="1.9.4.24" />

I got a similar problem.

You can solve it by add the package to .csproj file

<ItemGroup>
<PackageReference Include="DidiSoft.Pgp.Trial" Version="1.9.4.24" />

<PackageReference Include="DidiSoft.Pgp.Trial" Version="1.9.4.24" />
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文