开发者

Global assembly cache and dlls

We have a class library we ve created using C# and .NET 3.5. Th开发者_如何学编程e highest leveled namespace in the namespace hierarchy of that class library is say Abc.

When we use the output dll of the class library (Abc.MyLibrary.dll) in a test application in another test machine, it gives a compile time error saying Abc.dll is missing. But when we build the class library within that test machine, then it gives no error and compiles.

Is this something related to GAC or is there any other reason for this conflicting situation?

Thanks in advance


It depends on your exact project settings, but Visual Studio might install the Assembly to the Global Assembly Cache.
Use Gacutil.exe AssemblyName from the Visual Studio Command line to check if it is installed or not.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜