【问题标题】:Cannot find service module info file '*/roslynRemoteHost.servicehub.service.json'找不到服务模块信息文件“*/roslynRemoteHost.servicehub.service.json”
【发布时间】:2019-01-29 03:02:57
【问题描述】:

Visual Studio 在打开现有的或创建新的 aspnet mvc 应用程序时崩溃

Visual Studio 企业版 2017 版本 15.8.1

操作系统名称 Microsoft Windows 10 Enterprise 版本 10.0.14.393

谷歌搜索中唯一有效的条目是这个

https://github.com/dotnet/roslyn/issues/27781

但还没有解决方案。

事件日志异常

    Application: devenv.exe
    Framework Version: v4.0.30319
    Description: The application requested process termination through System.Environment.FailFast(string message).
    Message: StreamJsonRpc.RemoteInvocationException: Request locate failed with message: 
    Cannot find service module info file '*/roslynRemoteHost.servicehub.service.json' in 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\common7\ServiceHub\Services', using discovery services failed: VsixServiceDiscovery: One or more errors occurred.

【问题讨论】:

    标签: visual-studio roslyn


    【解决方案1】:

    尝试调试与 Visual Studio 的新实例崩溃的 Visual Studio 实例时,我看到了以下错误。

    此实现不是经过 FIPS 验证的 Windows 平台的一部分 密码算法。

    然后我去了HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa并删除了FipsAlgorithmPolicy

    我在该子项下确实有DWORD Enabled = 0,但它不起作用。因此,在删除子键 FipsAlgorithmPolicy 之后,我可以再次打开或创建一个 Web 项目。

    【讨论】:

    • 有没有办法在不重新设置 FIPS 所需设置的情况下解决这个问题?我的公司正在强制在新计算机上进行此设置,这确实把事情搞砸了。
    猜你喜欢
    • 1970-01-01
    • 2022-12-24
    • 2021-09-25
    • 2018-02-01
    • 1970-01-01
    • 1970-01-01
    • 2015-12-24
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多