小编Joh*_*ohn的帖子

安装到GAC后,为什么我的程序集在"添加参考> .Net"中不可见?

关于GAC
我有一个快速的问题我创建了一个程序集Awesome.DLL.如果它已签名,则安装到GAC中:

C:\MyApps\Awesome\Awesome\Awesome\bin\Release>sn -k Awesome.snk
Microsoft (R) .NET Framework Strong Name Utility  Version 4.0.30319.1 
Copyright (c) Microsoft Corporation.  All rights reserved.

Key pair written to Awesome.snk

C:\MyApps\Awesome\Awesome\Awesome\bin\Release>gacutil /i Awesome.dll 
Microsoft (R) .NET Global Assembly Cache Utility.  Version 4.0.30319.1 
Copyright (c) Microsoft Corporation.  All rights reserved.

Assembly successfully added to the cache

C:\MyApps\Awesome\Awesome\Awesome\bin\Release>gacutil /l Awesome.dll 
Microsoft (R) .NET Global Assembly Cache Utility.  Version 4.0.30319.1 
Copyright (c) Microsoft Corporation.  All rights reserved.

The Global Assembly Cache contains the following assemblies:

Number of …
Run Code Online (Sandbox Code Playgroud)

.net gac gacutil .net-4.0

13
推荐指数
1
解决办法
2万
查看次数

标签 统计

.net ×1

.net-4.0 ×1

gac ×1

gacutil ×1