GAC Assembly Missing in Add Reference dialog

前端 未结 7 1104
梦如初夏
梦如初夏 2021-02-10 02:06

I have an Interop assembly lying in GAC; Windows Explorer clearly shows it listed in the C:\\WINDOWS\\assembly folder. Yet, when I try to add a reference to it in f

7条回答
  •  眼角桃花
    2021-02-10 02:37

    Add one of the following registry keys, where is the directory to search, and MyAssemblies is the category of your assemblies. Note HKCU is for the current user and HKLM is for everyone on the same computer.

    [HKEY_CURRENT_USER\SOFTWARE\Microsoft\.NETFramework\\AssemblyFoldersEx\MyAssemblies]@=""
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\\AssemblyFoldersEx\MyAssemblies]@=""
    

提交回复
热议问题