Skip to content

VS Code

VS Code

You may use below tasks and launch.json for vs code under ac-dev-stack folder.

Note: if you want to use this config under root project, check paths in tasks and launch.json

After configuration, you should be able to run AllProjects in VS Code. VsCode

launch.json

{
  // See https://go.microsoft.com/fwlink/?linkid=830387 for more about launch configurations
  "version": "0.2.0",
  "configurations": [
    {
      "name": "AgentCacheService",
      "type": "coreclr",
      "request": "launch",
      "preLaunchTask": "build:AgentCacheService",
      "program": "${workspaceFolder}/src/Services/AgentCacheService/src/Appcircle.AgentCacheService.WebApi/bin/Debug/net8.0/Appcircle.AgentCacheService.WebApi.dll",
      "cwd": "${workspaceFolder}/src/Services/AgentCacheService/src/Appcircle.AgentCacheService.WebApi",
      "envFile": "${workspaceFolder}/environmentVariables.json"
    },
    {
      "name": "AppParserServer",
      "type": "coreclr",
      "request": "launch",
      "preLaunchTask": "build:AppParserServer",
      "program": "${workspaceFolder}/src/Services/AppParserServer/src/Appcircle.AppParserServer.WebApi/bin/Debug/net8.0/Appcircle.AppParserServer.WebApi.dll",
      "cwd": "${workspaceFolder}/src/Services/AppParserServer/src/Appcircle.AppParserServer.WebApi",
      "envFile": "${workspaceFolder}/environmentVariables.json"
    },
    {
      "name": "BuildServer",
      "type": "coreclr",
      "request": "launch",
      "preLaunchTask": "build:BuildServer",
      "program": "${workspaceFolder}/src/Services/BuildServer/src/Appcircle.BuildServer.WebApi/bin/Debug/net8.0/Appcircle.BuildServer.WebApi.dll",
      "cwd": "${workspaceFolder}/src/Services/BuildServer/src/Appcircle.BuildServer.WebApi",
      "envFile": "${workspaceFolder}/environmentVariables.json"
    },
    {
      "name": "DistributionTesterWeb",
      "type": "coreclr",
      "request": "launch",
      "preLaunchTask": "build:DistributionTesterWeb",
      "program": "${workspaceFolder}/src/Services/Distribution/TesterWeb/src/Appcircle.Distribution.Tester.Web/bin/Debug/net8.0/Appcircle.Distribution.Tester.Web.dll",
      "cwd": "${workspaceFolder}/src/Services/Distribution/TesterWeb/src/Appcircle.Distribution.Tester.Web",
      "envFile": "${workspaceFolder}/environmentVariables.json"
    },
    {
      "name": "DistributionTesterApiService",
      "type": "coreclr",
      "request": "launch",
      "preLaunchTask": "build:DistributionTesterApiService",
      "program": "${workspaceFolder}/src/Services/Distribution/TesterApiService/src/Appcircle.Distribution.TesterApiService.WebApi/bin/Debug/net8.0/Appcircle.Distribution.TesterApiService.WebApi.dll",
      "cwd": "${workspaceFolder}/src/Services/Distribution/TesterApiService/src/Appcircle.Distribution.TesterApiService.WebApi",
      "envFile": "${workspaceFolder}/environmentVariables.json"
    },
    {
      "name": "DistributionServer",
      "type": "coreclr",
      "request": "launch",
      "preLaunchTask": "build:DistributionServer",
      "program": "${workspaceFolder}/src/Services/Distribution/Server/src/Appcircle.DistributionServer.WebApi/bin/Debug/net8.0/Appcircle.DistributionServer.WebApi.dll",
      "cwd": "${workspaceFolder}/src/Services/Distribution/Server/src/Appcircle.DistributionServer.WebApi",
      "envFile": "${workspaceFolder}/environmentVariables.json"
    },
    {
      "name": "KeycloakServer",
      "type": "coreclr",
      "request": "launch",
      "preLaunchTask": "build:KeycloakServer",
      "program": "${workspaceFolder}/src/Services/LicenseServer/src/Appcircle.LicenseServer.WebApi/bin/Debug/net8.0/Appcircle.LicenseServer.WebApi.dll",
      "cwd": "${workspaceFolder}/src/Services/LicenseServer/src/Appcircle.LicenseServer.WebApi",
      "envFile": "${workspaceFolder}/environmentVariables.json"
    },
    {
      "name": "NotificationServer",
      "type": "coreclr",
      "request": "launch",
      "preLaunchTask": "build:NotificationServer",
      "program": "${workspaceFolder}/src/Services/NotificationServer/src/Appcircle.NotificationServer.WebApi/bin/Debug/net8.0/Appcircle.NotificationServer.WebApi.dll",
      "cwd": "${workspaceFolder}/src/Services/NotificationServer/src/Appcircle.NotificationServer.WebApi",
      "envFile": "${workspaceFolder}/environmentVariables.json"
    },
    {
      "name": "ApiGateway",
      "type": "coreclr",
      "request": "launch",
      "preLaunchTask": "build:ApiGateway",
      "program": "${workspaceFolder}/src/Services/ApiGateway/src/Appcircle.PrivateApiGateway/bin/Debug/net8.0/Appcircle.PrivateApiGateway.dll",
      "cwd": "${workspaceFolder}/src/Services/ApiGateway/src/Appcircle.PrivateApiGateway",
      "envFile": "${workspaceFolder}/environmentVariables.json"
    },
    {
      "name": "ReportingServer",
      "type": "coreclr",
      "request": "launch",
      "preLaunchTask": "build:ReportingServer",
      "program": "${workspaceFolder}/src/Services/ReportingServer/src/Appcircle.ReportingServer.WebApi/bin/Debug/net8.0/Appcircle.ReportingServer.WebApi.dll",
      "cwd": "${workspaceFolder}/src/Services/ReportingServer/src/Appcircle.ReportingServer.WebApi",
      "envFile": "${workspaceFolder}/environmentVariables.json"
    },
    {
      "name": "ResignService",
      "type": "coreclr",
      "request": "launch",
      "preLaunchTask": "build:ResignService",
      "program": "${workspaceFolder}/src/Services/ResignService/src/Appcircle.ResignService.WebApi/bin/Debug/net8.0/Appcircle.ResignService.WebApi.dll",
      "cwd": "${workspaceFolder}/src/Services/ResignService/src/Appcircle.ResignService.WebApi",
      "envFile": "${workspaceFolder}/environmentVariables.json"
    },
    {
      "name": "ResourceServer",
      "type": "coreclr",
      "request": "launch",
      "preLaunchTask": "build:ResourceServer",
      "program": "${workspaceFolder}/src/Services/ResourceServer/src/Appcircle.ResourceServer.WebApi/bin/Debug/net8.0/Appcircle.ResourceServer.WebApi.dll",
      "cwd": "${workspaceFolder}/src/Services/ResourceServer/src/Appcircle.ResourceServer.WebApi",
      "envFile": "${workspaceFolder}/environmentVariables.json"
    },
    {
      "name": "SigningIdentityServer",
      "type": "coreclr",
      "request": "launch",
      "preLaunchTask": "build:SigningIdentityServer",
      "program": "${workspaceFolder}/src/Services/SigningIdentityServer/src/Appcircle.SigningIdentityServer.WebApi/bin/Debug/net8.0/Appcircle.SigningIdentityServer.WebApi.dll",
      "cwd": "${workspaceFolder}/src/Services/SigningIdentityServer/src/Appcircle.SigningIdentityServer.WebApi",
      "envFile": "${workspaceFolder}/environmentVariables.json"
    },
    {
      "name": "StoreAdminService",
      "type": "coreclr",
      "request": "launch",
      "preLaunchTask": "build:StoreAdminService",
      "program": "${workspaceFolder}/src/Services/Store/AdminService/src/Appcircle.Store.AdminService.WebApi/bin/Debug/net8.0/Appcircle.Store.AdminService.WebApi.dll",
      "cwd": "${workspaceFolder}/src/Services/Store/AdminService/src/Appcircle.Store.AdminService.WebApi",
      "envFile": "${workspaceFolder}/environmentVariables.json"
    },
    {
      "name": "StoreApiService",
      "type": "coreclr",
      "request": "launch",
      "preLaunchTask": "build:StoreApiService",
      "program": "${workspaceFolder}/src/Services/Store/ApiService/src/Appcircle.Store.ApiService.WebApi/bin/Debug/net8.0/Appcircle.Store.ApiService.WebApi.dll",
      "cwd": "${workspaceFolder}/src/Services/Store/ApiService/src/Appcircle.Store.ApiService.WebApi",
      "envFile": "${workspaceFolder}/environmentVariables.json"
    },
    {
      "name": "StoreProfileService",
      "type": "coreclr",
      "request": "launch",
      "preLaunchTask": "build:StoreProfileService",
      "program": "${workspaceFolder}/src/Services/Store/ProfileService/src/Appcircle.Store.ProfileService.WebApi/bin/Debug/net8.0/Appcircle.Store.ProfileService.WebApi.dll",
      "cwd": "${workspaceFolder}/src/Services/Store/ProfileService/src/Appcircle.Store.ProfileService.WebApi",
      "envFile": "${workspaceFolder}/environmentVariables.json"
    },
    {
      "name": "StoreReportingServer",
      "type": "coreclr",
      "request": "launch",
      "preLaunchTask": "build:StoreReportingServer",
      "program": "${workspaceFolder}/src/Services/Store/ReportService/src/Appcircle.Store.ReportService.WebApi/bin/Debug/net8.0/Appcircle.Store.ReportService.WebApi.dll",
      "cwd": "${workspaceFolder}/src/Services/Store/ReportService/src/Appcircle.Store.ReportService.WebApi",
      "envFile": "${workspaceFolder}/environmentVariables.json"
    },
    {
      "name": "StoreWeb",
      "type": "coreclr",
      "request": "launch",
      "preLaunchTask": "build:StoreWeb",
      "program": "${workspaceFolder}/src/Services/Store/Web/src/Appcircle.Store.Web/bin/Debug/net8.0/Appcircle.Store.Web.dll",
      "cwd": "${workspaceFolder}/src/Services/Store/Web/src/Appcircle.Store.Web",
      "envFile": "${workspaceFolder}/environmentVariables.json"
    },
    {
      "name": "StoreSubmitServer",
      "type": "coreclr",
      "request": "launch",
      "preLaunchTask": "build:StoreSubmitServer",
      "program": "${workspaceFolder}/src/Services/StoreSubmitServer/src/Appcircle.StoreSubmitServer.WebApi/bin/Debug/net8.0/Appcircle.StoreSubmitServer.WebApi.dll",
      "cwd": "${workspaceFolder}/src/Services/StoreSubmitServer/src/Appcircle.StoreSubmitServer.WebApi",
      "envFile": "${workspaceFolder}/environmentVariables.json"
    },
    {
      "name": "TaskServer",
      "type": "coreclr",
      "request": "launch",
      "preLaunchTask": "build:TaskServer",
      "program": "${workspaceFolder}/src/Services/TaskServer/src/Appcircle.TaskServer.WebApi/bin/Debug/net8.0/Appcircle.TaskServer.WebApi.dll",
      "cwd": "${workspaceFolder}/src/Services/TaskServer/src/Appcircle.TaskServer.WebApi",
      "envFile": "${workspaceFolder}/environmentVariables.json"
    },
    {
      "name": "DistributionTesterAdminService",
      "type": "coreclr",
      "request": "launch",
      "preLaunchTask": "build:DistributionTesterAdminService",
      "program": "${workspaceFolder}/src/Services/Distribution/TesterAdminService/src/Appcircle.TesterAdminService.WebApi/bin/Debug/net8.0/Appcircle.TesterAdminService.WebApi.dll",
      "cwd": "${workspaceFolder}/src/Services/Distribution/TesterAdminService/src/Appcircle.TesterAdminService.WebApi",
      "envFile": "${workspaceFolder}/environmentVariables.json"
    },
    {
      "name": "WebhookService",
      "type": "coreclr",
      "request": "launch",
      "preLaunchTask": "build:WebhookService",
      "program": "${workspaceFolder}/src/Services/WebhookService/src/Appcircle.WebhookService.WebApi/bin/Debug/net8.0/Appcircle.WebhookService.WebApi.dll",
      "cwd": "${workspaceFolder}/src/Services/WebhookService/src/Appcircle.WebhookService.WebApi",
      "envFile": "${workspaceFolder}/environmentVariables.json"
    },
    {
      "name": "PublishService",
      "type": "coreclr",
      "request": "launch",
      "preLaunchTask": "build:PublishService",
      "program": "${workspaceFolder}/src/Services/Publish/PublishService/src/Appcircle.PublishService.WebApi/bin/Debug/net8.0/Appcircle.PublishService.WebApi.dll",
      "cwd": "${workspaceFolder}/src/Services/Publish/PublishService/src/Appcircle.PublishService.WebApi",
      "envFile": "${workspaceFolder}/environmentVariables.json"
    }
  ],
  "compounds": [
    {
      "name": "AllProjects",
      "stopAll": true,
      "configurations": [
        "AgentCacheService",
        "AppParserServer",
        "BuildServer",
        "DistributionTesterWeb",
        "DistributionTesterApiService",
        "DistributionTesterAdminService",
        "DistributionServer",
        "KeycloakServer",
        "NotificationServer",
        "ApiGateway",
        "ReportingServer",
        "ResignService",
        "ResourceServer",
        "SigningIdentityServer",
        "StoreAdminService",
        "StoreApiService",
        "StoreProfileService",
        "StoreReportingServer",
        "StoreWeb",
        "StoreSubmitServer",
        "TaskServer",
        "WebhookService",
        "PublishService"
      ]
    }
  ]
}

tasks.json

{
  "version": "2.0.0",
  "tasks": [    
    {
      "label": "build:AgentCacheService",
      "command": "dotnet",
      "type": "process",
      "args": [
        "build",
        "src/Services/AgentCacheService/src/Appcircle.AgentCacheService.WebApi/Appcircle.AgentCacheService.WebApi.csproj"
      ],
      "problemMatcher": "$msCompile"
    },
    {
      "label": "build:AppParserServer",
      "command": "dotnet",
      "type": "process",
      "args": [
        "build",
        "src/Services/AppParserServer/src/Appcircle.AppParserServer.WebApi/Appcircle.AppParserServer.WebApi.csproj"
      ],
      "problemMatcher": "$msCompile"
    },
    {
      "label": "build:BuildServer",
      "command": "dotnet",
      "type": "process",
      "args": [
        "build",
        "src/Services/BuildServer/src/Appcircle.BuildServer.WebApi/Appcircle.BuildServer.WebApi.csproj"
      ],
      "problemMatcher": "$msCompile"
    },
    {
      "label": "build:DistributionTesterWeb",
      "command": "dotnet",
      "type": "process",
      "args": [
        "build",
        "src/Services/Distribution/TesterWeb/src/Appcircle.Distribution.Tester.Web/Appcircle.Distribution.Tester.Web.csproj"
      ],
      "problemMatcher": "$msCompile"
    },
    {
      "label": "build:DistributionTesterApiService",
      "command": "dotnet",
      "type": "process",
      "args": [
        "build",
        "src/Services/Distribution/TesterApiService/src/Appcircle.Distribution.TesterApiService.WebApi/Appcircle.Distribution.TesterApiService.WebApi.csproj"
      ],
      "problemMatcher": "$msCompile"
    },
    {
      "label": "build:DistributionServer",
      "command": "dotnet",
      "type": "process",
      "args": [
        "build",
        "src/Services/Distribution/Server/src/Appcircle.DistributionServer.WebApi/Appcircle.DistributionServer.WebApi.csproj"
      ],
      "problemMatcher": "$msCompile"
    },
    {
      "label": "build:KeycloakServer",
      "command": "dotnet",
      "type": "process",
      "args": [
        "build",
        "src/Services/LicenseServer/src/Appcircle.LicenseServer.WebApi/Appcircle.LicenseServer.WebApi.csproj"
      ],
      "problemMatcher": "$msCompile"
    },
    {
      "label": "build:NotificationServer",
      "command": "dotnet",
      "type": "process",
      "args": [
        "build",
        "src/Services/NotificationServer/src/Appcircle.NotificationServer.WebApi/Appcircle.NotificationServer.WebApi.csproj"
      ],
      "problemMatcher": "$msCompile"
    },
    {
      "label": "build:ApiGateway",
      "command": "dotnet",
      "type": "process",
      "args": [
        "build",
        "src/Services/ApiGateway/src/Appcircle.PrivateApiGateway/Appcircle.PrivateApiGateway.csproj"
      ],
      "problemMatcher": "$msCompile"
    },
    {
      "label": "build:ReportingServer",
      "command": "dotnet",
      "type": "process",
      "args": [
        "build",
        "src/Services/ReportingServer/src/Appcircle.ReportingServer.WebApi/Appcircle.ReportingServer.WebApi.csproj"
      ],
      "problemMatcher": "$msCompile"
    },
    {
      "label": "build:ResignService",
      "command": "dotnet",
      "type": "process",
      "args": [
        "build",
        "src/Services/ResignService/src/Appcircle.ResignService.WebApi/Appcircle.ResignService.WebApi.csproj"
      ],
      "problemMatcher": "$msCompile"
    },
    {
      "label": "build:ResourceServer",
      "command": "dotnet",
      "type": "process",
      "args": [
        "build",
        "src/Services/ResourceServer/src/Appcircle.ResourceServer.WebApi/Appcircle.ResourceServer.WebApi.csproj"
      ],
      "problemMatcher": "$msCompile"
    },
    {
      "label": "build:SigningIdentityServer",
      "command": "dotnet",
      "type": "process",
      "args": [
        "build",
        "src/Services/SigningIdentityServer/src/Appcircle.SigningIdentityServer.WebApi/Appcircle.SigningIdentityServer.WebApi.csproj"
      ],
      "problemMatcher": "$msCompile"
    },
    {
      "label": "build:StoreAdminService",
      "command": "dotnet",
      "type": "process",
      "args": [
        "build",
        "src/Services/Store/AdminService/src/Appcircle.Store.AdminService.WebApi/Appcircle.Store.AdminService.WebApi.csproj"
      ],
      "problemMatcher": "$msCompile"
    },
    {
      "label": "build:StoreApiService",
      "command": "dotnet",
      "type": "process",
      "args": [
        "build",
        "src/Services/Store/ApiService/src/Appcircle.Store.ApiService.WebApi/Appcircle.Store.ApiService.WebApi.csproj"
      ],
      "problemMatcher": "$msCompile"
    },
    {
      "label": "build:StoreProfileService",
      "command": "dotnet",
      "type": "process",
      "args": [
        "build",
        "src/Services/Store/ProfileService/src/Appcircle.Store.ProfileService.WebApi/Appcircle.Store.ProfileService.WebApi.csproj"
      ],
      "problemMatcher": "$msCompile"
    },
    {
      "label": "build:StoreReportingServer",
      "command": "dotnet",
      "type": "process",
      "args": [
        "build",
        "src/Services/Store/ReportService/src/Appcircle.Store.ReportService.WebApi/Appcircle.Store.ReportService.WebApi.csproj"
      ],
      "problemMatcher": "$msCompile"
    },
    {
      "label": "build:StoreWeb",
      "command": "dotnet",
      "type": "process",
      "args": [
        "build",
        "src/Services/Store/Web/src/Appcircle.Store.Web/Appcircle.Store.Web.csproj"
      ],
      "problemMatcher": "$msCompile"
    },
    {
      "label": "build:StoreSubmitServer",
      "command": "dotnet",
      "type": "process",
      "args": [
        "build",
        "src/Services/StoreSubmitServer/src/Appcircle.StoreSubmitServer.WebApi/Appcircle.StoreSubmitServer.WebApi.csproj"
      ],
      "problemMatcher": "$msCompile"
    },
    {
      "label": "build:TaskServer",
      "command": "dotnet",
      "type": "process",
      "args": [
        "build",
        "src/Services/TaskServer/src/Appcircle.TaskServer.WebApi/Appcircle.TaskServer.WebApi.csproj"
      ],
      "problemMatcher": "$msCompile"
    },
    {
      "label": "build:DistributionTesterAdminService",
      "command": "dotnet",
      "type": "process",
      "args": [
        "build",
        "src/Services/Distribution/TesterAdminService/src/Appcircle.TesterAdminService.WebApi/Appcircle.TesterAdminService.WebApi.csproj"
      ],
      "problemMatcher": "$msCompile"
    },
    {
      "label": "build:WebhookService",
      "command": "dotnet",
      "type": "process",
      "args": [
        "build",
        "src/Services/WebhookService/src/Appcircle.WebhookService.WebApi/Appcircle.WebhookService.WebApi.csproj"
      ],
      "problemMatcher": "$msCompile"
    },
    {
      "label": "build:PublishService",
      "command": "dotnet",
      "type": "process",
      "args": [
        "build",
        "src/Services/Publish/PublishService/src/Appcircle.PublishService.WebApi/Appcircle.PublishService.WebApi.csproj"
      ],
      "problemMatcher": "$msCompile"
    }
  ]
}