VsCode 手动配置omnisharp.NET Core Debuggerrazor

Posted kingbook

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了VsCode 手动配置omnisharp.NET Core Debuggerrazor相关的知识,希望对你有一定的参考价值。

1.打开C:\\Users\\Administrator.vscode\\extensions\\ms-vscode.csharp-1.21.3\\package.json
2.找到各个包的下载地址并下载,如下:

"runtimeDependencies": [
        
            "id": "OmniSharp",
            "description": "OmniSharp for Windows (.NET 4.6 / x86)",
            "url": "https://download.visualstudio.microsoft.com/download/pr/7ae0ec86-b4ac-40fd-808d-86fad5d8c215/4cfe251879a7e939480d235a491bb0ba/omnisharp-win-x86-1.34.3.zip",
            "fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-win-x86-1.34.3.zip",
            "installPath": ".omnisharp/1.34.3",
            "platforms": [
                "win32"
            ],
            "architectures": [
                "x86"
            ],
            "installTestPath": "./.omnisharp/1.34.3/OmniSharp.exe",
            "platformId": "win-x86",
            "integrity": "EEDAE9A5B6BF5D0244A950A4DD01EE251B8B022DF87251469510A42330EDBA61"
        ,
        
            "id": "OmniSharp",
            "description": "OmniSharp for Windows (.NET 4.6 / x64)",
            "url": "https://download.visualstudio.microsoft.com/download/pr/7ae0ec86-b4ac-40fd-808d-86fad5d8c215/b930613106fc39204deb1fe4c83a0073/omnisharp-win-x64-1.34.3.zip",
            "fallbackUrl": "https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-win-x64-1.34.3.zip",
            "installPath": ".omnisharp/1.34.3",
            "platforms": [
                "win32"
            ],
            "architectures": [
                "x86_64"
            ],
            "installTestPath": "./.omnisharp/1.34.3/OmniSharp.exe",
            "platformId": "win-x64",
            "integrity": "07D96BFBE47705FB90D2E52E7BA3656D41C8E6EB2E2740DB61DEE53AF2E5CF91"
        ,
//...........省略............

3.如下图在C:\\Users\\Administrator.vscode\\extensions\\ms-vscode.csharp-1.21.3目录创建文件夹(创建以点开头命名的文件夹时在后面再加一个点,如“.debugger.”,".omnisharp."),并解压和创建install.LOCK空文件。
技术图片
技术图片
技术图片

以上是关于VsCode 手动配置omnisharp.NET Core Debuggerrazor的主要内容,如果未能解决你的问题,请参考以下文章

VSCode下手动构建webpack项目

让VSCode支持gbk编码

vscode中,todo添加处理

Anaconda+VSCode配置tensorflow

Anaconda+VSCode配置tensorflow

配置vscode远程免密登入Linux服务器