当运行该命令时
Get-Package -Remote StructureMap-MVC3 在NuGet的Package Manager控制台中,它返回以下内容,并截断对包的描述。
Id Version Description
-- ------- -----------
StructureMap-MVC3 1.0.1 Adds the latest version of structuremap and configures it as the default Depende...
StructureMap-MVC3 1.0.2 Adds the latest version of structuremap and configures it as the default Depende...有没有办法从控制台查询包的完整描述?
发布于 2011-02-20 03:20:09
如果你写的代码是这样的,你就可以做到:
Get-Package -Remote StructureMap-MVC3 | fl默认情况下,我们以简洁的方式显示结果,以便在较小的空间中容纳更多的内容,fl (格式列表的缩写)将在详细信息视图中显示属性。
发布于 2014-03-01 16:12:11
您可以获得标准输出,第一列的大小如下所示:
Get-Package | ft -AutoSize
它将确保您需要的所有信息都是可见的。
https://stackoverflow.com/questions/5036719
复制相似问题