【发布时间】:2018-07-01 02:56:45
【问题描述】:
这听起来与this question 有关,但它们不是一回事。那个问题有 no 程序集出现。除了我安装的那个,我的什么都有。
我希望有人能解决这个问题……我做错了吗?还是我在 VS 中发现了一些错误?
我在 Windows 7 Ultimate 上使用 Visual Studio 2010 Professional Beta 2。我刚刚下载了 Rhino Mocks,并决定使用命令行实用程序 GACUTIL 将其安装到 GAC 中。然后我重新启动了。
您可以在这里看到我的 GAC 中的程序集(点击放大):
以下是 Visual Studio 中可供我使用的程序集列表:
这是我安装它的命令提示符,然后确认它:
C:\Users\jason\Downloads>gacutil -i Rhino.Mocks.dll
Microsoft (R) .NET Global Assembly Cache Utility. Version 4.0.21006.1
Copyright (c) Microsoft Corporation. All rights reserved.
Assembly successfully added to the cache
C:\Users\jason\Downloads>gacutil /l |grep -i rhino
Rhino.Mocks, Version=3.6.0.0, Culture=neutral, PublicKeyToken=0b3305902db7183f, processorArchitecture=MSIL
【问题讨论】:
-
顺便说一句,此问题不太可能与您链接到的问题有关。那家伙的VS安装似乎完全搞砸了。
标签: visual-studio-2010 gac gacutil