{ "version": "2.0.0", "tasks": [ { // F5 가 실행 전에 부르는 빌드 작업. Ctrl+Shift+B 로도 돌릴 수 있습니다. "label": "build", "command": "dotnet", "type": "process", "args": [ "build", "${workspaceFolder}/GameServer/GameServer.csproj", "/property:GenerateFullPaths=true", "/consoleloggerparameters:NoSummary" ], "problemMatcher": "$msCompile", "group": { "kind": "build", "isDefault": true } }, { // C# 코드를 고치면 알아서 다시 빌드하고 서버를 재시작합니다. // 터미널 > 작업 실행 > watch (핫 리로드) // wwwroot 의 HTML/CSS/JS 는 빌드가 필요 없으니 브라우저 새로고침만 하면 됩니다. "label": "watch (핫 리로드)", "command": "dotnet", "type": "process", "args": [ "watch", "run", "--project", "${workspaceFolder}/GameServer/GameServer.csproj", "--launch-profile", "http" ], "problemMatcher": "$msCompile", "isBackground": true }, { "label": "clean", "command": "dotnet", "type": "process", "args": [ "clean", "${workspaceFolder}/GameServer/GameServer.csproj" ], "problemMatcher": "$msCompile" } ] }