简体   繁体   English

DLL必须在nuget包的lib文件夹中

[英]Must the DLL be in the lib folder in a nuget package

I tried to download the latest version of this nuget: 我尝试下载此nuget的最新版本:

JSON Web Token Handler For the Microsoft .Net Framework 4.5 3.0.1 Microsoft .Net Framework 4.5 3.0.1的JSON Web令牌处理程序

but its not installing correctly in my project. 但无法在我的项目中正确安装。

In my Visual Studio solution, I looked in the folder: 在我的Visual Studio解决方案中,我查看了以下文件夹:

\packages\System.IdentityModel.Tokens.Jwt.3.0.1\

and the DLLs exist, but they are not within the lib folder. 并且DLL存在,但是它们不在lib文件夹中。 They are in the package's root. 它们位于软件包的根目录中。

When I try to install it in my VS project, it says its been installed, but no project references are added. 当我尝试在VS项目中安装它时,它表示已安装,但未添加任何项目引用。

I think its broken. 我认为它坏了。 Can anyone confirm that a nuget must have a lib folder and the DLLs must be within the lib folder. 任何人都可以确认nuget 必须具有lib文件夹,并且DLL必须位于lib文件夹内。

Yes, I duplicated the folder structure of the previous package (version 3.0.0) and got it working. 是的,我复制了先前软件包(3.0.0版)的文件夹结构并使它工作。 I left two messages with the author a week ago. 一个星期前,我给作者留下了两条消息。

We just pushed a new version out, 3.0.2, that fixes this issue. 我们刚刚推出了解决此问题的新版本3.0.2。 Please try to update the NuGet and let me know if the issue is resolved. 请尝试更新NuGet,让我知道问题是否已解决。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM