简体   繁体   English

DSOFILE nuget安装错误-'无法添加参考'

[英]DSOFILE nuget installing error - 'cannot add reference'

I'm trying to install the DSOFile nuget for geting properties of files using the nuget package bellow : https://www.nuget.org/packages/DSOFile/ I place the nupkg file in the private nuget server I have, and I can see the package in the "Manage Nuget Packages" window. 我正在尝试安装DSOFile nuget,以使用下面的nuget包获取文件的属性: https ://www.nuget.org/packages/DSOFile/我将nupkg文件放在我拥有的专用nuget服务器中,我可以请在“管理Nuget程序包”窗口中查看程序包。 Then I press install and then the following lines: 然后我按安装,然后按以下几行:

Installing 'DSOFile 2.1.0.2' 安装“ DSOFile 2.1.0.2”

Successfully installed 'DSOFile 2.1.0.2' 成功安装了“ DSOFile 2.1.0.2”

Adding to 'DSOFile 2.1.0.2' to MyProject. 将“ DSOFile 2.1.0.2”添加到MyProject。

Uninstalling 'DSOFile 2.1.0.2' 解除安装'DSOFile 2.1.0.2'

Successfully uninstalled 'DSOFile 2.1.0.2' 已成功卸载“ DSOFile 2.1.0.2”

Install failed . 安装失败。 Rolling back... 滚回来...

Failed to add reference to 'dsofile' 无法添加对“ dsofile”的引用

*** The same happens when I create a nuget package on my own from the DSOFile.dll I have. ***当我从拥有的DSOFile.dll中自行创建nuget程序包时,也会发生同样的情况。

What is the problem? 问题是什么?

This package is unlisted by owner. 所有者未列出此软件包。 So you can't get it from Nuget. 因此,您无法从Nuget获得它。

https://www.nuget.org/packages/DSOFile/ https://www.nuget.org/packages/DSOFile/

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

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