码迷,mamicode.com
首页 > Web开发 > 详细

VsCode 手动配置omnisharp、.NET Core Debugger、razor

时间:2019-09-25 10:54:34      阅读:178      评论:0      收藏:0      [点我收藏+]

标签:地址   down   pre   下载   mini   info   net   llb   ini   

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 Debugger、razor

标签:地址   down   pre   下载   mini   info   net   llb   ini   

原文地址:https://www.cnblogs.com/kingBook/p/11582767.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!