error CS0007: Unexpected common language runtime initialization error -- '没有注册类别 '

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework]
"InstallRoot"="X:\\WXPE\\Microsoft.NET\\Framework\\"
;注意:这里不能用类似%systemroot%等含环境变量的路径形式
;兼容.net 1.1 的程序
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\Policy\Upgrades]
"2.0.50727"="1.0.0-2.0.50727"
[HKEY_LOCAL_MACHINE\SYSTEM\Setup]
; The magic entry: Without it, VC2005 applications would cause error messages
"SystemSetupInProgress"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{E5CB7A31-7512-11D2-89CE-0080C792E5D8}\InProcServer32]
(默认)="C:\windows\system32\mscoree.dll"
"ThreadingModel"="Both"
;修复 error CS0007: Unexpected common language runtime initialization error -- '没有注册类别 '

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{E5CB7A31-7512-11D2-89CE-0080C792E5D8}]
@="Microsoft Common Language Runtime Meta Data"
"MasterVersion"=dword:00000002

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{E5CB7A31-7512-11D2-89CE-0080C792E5D8}\InprocServer32]
@="C:\\WINDOWS\\system32\\mscoree.dll"
"ThreadingModel"="Both"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{E5CB7A31-7512-11D2-89CE-0080C792E5D8}\InprocServer32\1.1.4322]
"ImplementedInThisVersion"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{E5CB7A31-7512-11D2-89CE-0080C792E5D8}\InprocServer32\2.0.50727]
"ImplementedInThisVersion"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{E5CB7A31-7512-11D2-89CE-0080C792E5D8}\NotInsertable]
@=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{E5CB7A31-7512-11D2-89CE-0080C792E5D8}\ProgID]
@="CLRMetaData.CorMetaDataDispenser.2"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{E5CB7A31-7512-11D2-89CE-0080C792E5D8}\VersionIndependentProgID]
@="CLRMetaData.CorMetaDataDispenser"

上一篇:如何将你的github仓库部署到github pages


下一篇:**CI创建类库(创建自己的工具类等)