做了个assembly,在VS中引用了一下,正常使用.但不明白在web.config里assemblies节没加东东,它怎么就可以引用了?系统是改的哪?

oldhunter 2003-10-16 09:35:25
做了个assembly,在VS中引用了一下,正常使用.但不明白在web.config里assemblies节没加东东,它怎么就可以引用了?VS系统是改的哪?
...全文
165 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
oldhunter 2003-10-17
  • 打赏
  • 举报
回复
thank you.
jianglinchun 2003-10-17
  • 打赏
  • 举报
回复
Thank you.
saucer 2003-10-17
  • 打赏
  • 举报
回复
GAC = global assembly cache for strong-named assemblies, normally in C:\WINNT\assembly\GAC
jianglinchun 2003-10-17
  • 打赏
  • 举报
回复
.net framework的机制,自动检测网站目录下面的bin目录和 GAC——偶也不知道stands for what了。 :(
续上——并且自动注册bin目录下面的.dll文件,如果你远程发布你的这个application,只需要把该assembly的编译结果文件: yourassembly.dll一同拷贝进入bin目录即可。
oldhunter 2003-10-16
  • 打赏
  • 举报
回复
the system checks GAC and bin subdirectory automatically

I think I misunderstood the sentence? Can you speaking it in Chinese?
saucer 2003-10-16
  • 打赏
  • 举报
回复
by the way, I think I misunderstood you in the first post, the system checks GAC and bin subdirectory automatically
saucer 2003-10-16
  • 打赏
  • 举报
回复
as long as the appropriate version of .NET Framework is installed the "other server" and the assembly is in the bin subdirectory of your web app, yes
oldhunter 2003-10-16
  • 打赏
  • 举报
回复
if I move it to other server,it can run?
saucer 2003-10-16
  • 打赏
  • 举报
回复
look into C:\WINNT\Microsoft.NET\Framework\v1.1.4322\CONFIG\machine.config

62,025

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧