Microsoft's IEWebControls installation package is compiled Microsoft.Web.ui.webControls.dll is no strong name. When I am using it, because it doesn't have a strong name, I have to cancel the power of the application. And I found that Microsoft provided this installation package in the folder in the folder included in the folder, and it is to compile into a DLL file through the csc.exe command in the batch, then I can use my own key. Signature, make the compiled DLL have a strong name? I have checked it in detail, there is a "Version.cs" file under "C: / Program Files / IE Web Controls / SRC" (default installation path), which is as follows:
/ --------------------------------------------------- -----------------------------
// Copyright (C) 2000-2003 Microsoft Corporation. All Rights Reserved.
/ / -------------------------------------------------------------------------------------------- ------------------------------
Using system.reflection;
Using system.Runtime.compilerServices;
Using system.Web.ui;
[Assembly: askMBLYVERSION ("1.0.2.226")]]]
[Assembly: AssemblyTitle ("Microsoft IE WebControls"]]
[Assembly: AssemblyDescription ("Custom Build")]]]
[Assembly: AssemblyConfiguration ("")]
[Assembly: AssemblyCompany ("Microsoft Corp.")]]]
[Assembly: AssemblyProduct ("Microsoft IE WebControls (Custom Build))]]]]
[Assembly: AssemblyCopyright ("Copyright (C) 2000-2003 Microsoft Corp. All Rights Reserved.")]
[assmbly: assemblytrademark ("")]
[assmbly: assemblyculture ("")]
[Assembly: tagprefixattribute ("Microsoft.Web.ui.WebControls", "IEWC"]]]]
Oh, the definition of the assembly is here, if I add the definition of the key to generate a DLL with a strong name?
So, at the end of this file, the following definition is increased:
[Assembly: AssemblyKeyFile ("c: //mykey.snk")]]
Then, re-run the batch program "builder.bat" recompores the DLL. After confirmation, the newly generated DLL has a strong name.