How do I find the PublicKeyToken for a particular dll?

后端 未结 10 624
后悔当初
后悔当初 2020-12-04 06:10

I need to recreate a provider in my web.config file that looks something like this:


  

        
10条回答
  •  执念已碎
    2020-12-04 06:40

    Assembly.LoadFile(@"C:\Windows\Microsoft.NET\Framework\v4.0.30319\system.data.dll").FullName

    Will result in

    System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

提交回复
热议问题