尝试在我的应用程序中创建一个新的.keystore,我意识到我的vscode的build按钮已经不存在了,类似的事情发生在这里的其他人身上,如果是这样的话,你是如何设法生成.keystore的?
我的vscode上只有"File Edit Selection View Go Run Terminal Help“。Go和Run之间的构建在哪里?
发布于 2021-11-05 21:11:55
不知道build按钮是如何消失的,但通常在.net中,要构建代码,您需要在.vscode\tasks.json中为您想要构建的代码类型定义一个构建任务,例如,要构建in核心:
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "shell",
"args": [
"build",
// Ask dotnet build to generate full paths for file names.
"/property:GenerateFullPaths=true",
// Do not generate summary otherwise it leads to duplicate errors in Problems panel
"/consoleloggerparameters:NoSummary"
],
"group": "build",
"presentation": {
"reveal": "silent"
},
"problemMatcher": "$msCompile"
}
]
}按Ctrl+Shift+B或从全局终端菜单运行运行构建任务
https://stackoverflow.com/questions/69857530
复制相似问题