chore: updated launch & tasks json files for better cross-platform development
This commit is contained in:
		
							
								
								
									
										25
									
								
								.vscode/launch.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										25
									
								
								.vscode/launch.json
									
									
									
									
										vendored
									
									
								
							@@ -5,8 +5,8 @@
 | 
				
			|||||||
      "name": ".NET Launch (Client) 1",
 | 
					      "name": ".NET Launch (Client) 1",
 | 
				
			||||||
      "type": "coreclr",
 | 
					      "type": "coreclr",
 | 
				
			||||||
      "request": "launch",
 | 
					      "request": "launch",
 | 
				
			||||||
      "preLaunchTask": "build",
 | 
					      "preLaunchTask": "build-client",
 | 
				
			||||||
      "program": "${workspaceFolder}/Platforms/Desktop/bin/Debug/net9.0/Desktop",
 | 
					      "program": "${workspaceFolder}/Platforms/Desktop/bin/Debug/net9.0/Desktop.dll",
 | 
				
			||||||
      "args": [],
 | 
					      "args": [],
 | 
				
			||||||
      "cwd": "${workspaceFolder}",
 | 
					      "cwd": "${workspaceFolder}",
 | 
				
			||||||
      "stopAtEntry": false,
 | 
					      "stopAtEntry": false,
 | 
				
			||||||
@@ -16,8 +16,8 @@
 | 
				
			|||||||
      "name": ".NET Launch (Client) 2",
 | 
					      "name": ".NET Launch (Client) 2",
 | 
				
			||||||
      "type": "coreclr",
 | 
					      "type": "coreclr",
 | 
				
			||||||
      "request": "launch",
 | 
					      "request": "launch",
 | 
				
			||||||
      "preLaunchTask": "build",
 | 
					      "preLaunchTask": "build-client",
 | 
				
			||||||
      "program": "${workspaceFolder}/Platforms/Desktop/bin/Debug/net9.0/Desktop",
 | 
					      "program": "${workspaceFolder}/Platforms/Desktop/bin/Debug/net9.0/Desktop.dll",
 | 
				
			||||||
      "args": [],
 | 
					      "args": [],
 | 
				
			||||||
      "cwd": "${workspaceFolder}",
 | 
					      "cwd": "${workspaceFolder}",
 | 
				
			||||||
      "stopAtEntry": false,
 | 
					      "stopAtEntry": false,
 | 
				
			||||||
@@ -27,9 +27,12 @@
 | 
				
			|||||||
      "name": ".NET Launch (Server)",
 | 
					      "name": ".NET Launch (Server)",
 | 
				
			||||||
      "type": "coreclr",
 | 
					      "type": "coreclr",
 | 
				
			||||||
      "request": "launch",
 | 
					      "request": "launch",
 | 
				
			||||||
      "preLaunchTask": "build",
 | 
					      "preLaunchTask": "build-server",
 | 
				
			||||||
      "program": "${workspaceFolder}/Platforms/Server/bin/Debug/net9.0/Server",
 | 
					      "program": "${workspaceFolder}/Platforms/Server/bin/Debug/net9.0/Server.dll",
 | 
				
			||||||
      "args": [],
 | 
					      "args": [],
 | 
				
			||||||
 | 
					      "env": {
 | 
				
			||||||
 | 
					        "PORT": "8888",
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
      "cwd": "${workspaceFolder}",
 | 
					      "cwd": "${workspaceFolder}",
 | 
				
			||||||
      "stopAtEntry": false,
 | 
					      "stopAtEntry": false,
 | 
				
			||||||
      "console": "internalConsole"
 | 
					      "console": "internalConsole"
 | 
				
			||||||
@@ -38,7 +41,10 @@
 | 
				
			|||||||
  "compounds": [
 | 
					  "compounds": [
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      "name": ".NET Launch Client & Server",
 | 
					      "name": ".NET Launch Client & Server",
 | 
				
			||||||
      "configurations": [".NET Launch (Server)", ".NET Launch (Client) 1"]
 | 
					      "configurations": [
 | 
				
			||||||
 | 
					        ".NET Launch (Server)",
 | 
				
			||||||
 | 
					        ".NET Launch (Client) 1"
 | 
				
			||||||
 | 
					      ]
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      "name": ".NET Launch 2 Client & 1 Server",
 | 
					      "name": ".NET Launch 2 Client & 1 Server",
 | 
				
			||||||
@@ -50,7 +56,10 @@
 | 
				
			|||||||
    },
 | 
					    },
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      "name": ".NET Launch 2 Clients",
 | 
					      "name": ".NET Launch 2 Clients",
 | 
				
			||||||
      "configurations": [".NET Launch (Client) 1", ".NET Launch (Client) 2"]
 | 
					      "configurations": [
 | 
				
			||||||
 | 
					        ".NET Launch (Client) 1",
 | 
				
			||||||
 | 
					        ".NET Launch (Client) 2"
 | 
				
			||||||
 | 
					      ]
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  ]
 | 
					  ]
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										27
									
								
								.vscode/tasks.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										27
									
								
								.vscode/tasks.json
									
									
									
									
										vendored
									
									
								
							@@ -2,13 +2,32 @@
 | 
				
			|||||||
  "version": "2.0.0",
 | 
					  "version": "2.0.0",
 | 
				
			||||||
  "tasks": [
 | 
					  "tasks": [
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					      "label": "build-client",
 | 
				
			||||||
      "command": "dotnet",
 | 
					      "command": "dotnet",
 | 
				
			||||||
 | 
					      "type": "process",
 | 
				
			||||||
      "args": [
 | 
					      "args": [
 | 
				
			||||||
        "build"
 | 
					        "build",
 | 
				
			||||||
 | 
					        "${workspaceFolder}/Platforms/Desktop"
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
      "group": "build",
 | 
					      "problemMatcher": "$msCompile",
 | 
				
			||||||
      "problemMatcher": [],
 | 
					      "group": {
 | 
				
			||||||
      "label": "build"
 | 
					        "kind": "build",
 | 
				
			||||||
 | 
					        "isDefault": true
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					      "label": "build-server",
 | 
				
			||||||
 | 
					      "command": "dotnet",
 | 
				
			||||||
 | 
					      "type": "process",
 | 
				
			||||||
 | 
					      "args": [
 | 
				
			||||||
 | 
					        "build",
 | 
				
			||||||
 | 
					        "${workspaceFolder}/Platforms/Server"
 | 
				
			||||||
 | 
					      ],
 | 
				
			||||||
 | 
					      "problemMatcher": "$msCompile",
 | 
				
			||||||
 | 
					      "group": {
 | 
				
			||||||
 | 
					        "kind": "build",
 | 
				
			||||||
 | 
					        "isDefault": true
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  ]
 | 
					  ]
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user