https://github.com/Microsoft/msbuild
Raw File
Tip revision: 311dd218114fefb448b7c2e30a53910f77c9f074 authored by donJoseLuis on 20 February 2023, 17:22:39 UTC
experimenting with logger
Tip revision: 311dd21
tasks.json
{
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "2.0.0",
    "tasks": [
        {
            "label": "dotnet msbuild MSBuild.Dev.slnf",
            "command": "dotnet",
            "type": "process",
            "args": [
                "msbuild",
                // Ask MSBuild 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",
                "${workspaceFolder}/MSBuild.Dev.slnf"
            ],
            "group": "build",
            "presentation": {
                "reveal": "always",
                "revealProblems": "onProblem"
            },
            "problemMatcher": "$msCompile"
        },
        {
            "label": "full build",
            "command": "${workspaceFolder}/build.sh",
            "type": "shell",
            "windows": {
                "command": "cmd.exe",
                "type": "process",
                "args": [
                    "/d",
                    "/c",
                    "${workspaceFolder}/build.cmd"
                ]
            },
            "args": [
                "-bl",
                "/property:CreateBootstrap=true",
                "/property:GenerateFullPaths=true",
                "/consoleloggerparameters:NoSummary"
            ],
            "group": "build",
            "presentation": {
                "reveal": "always",
                "revealProblems": "onProblem"
            },
            "problemMatcher": "$msCompile"
        },
        {
            "label": "build -test",
            "command": "${workspaceFolder}/build.sh",
            "type": "shell",
            "windows": {
                "command": "cmd.exe",
                "type": "process",
                "args": [
                    "/d",
                    "/c",
                    "${workspaceFolder}/build.cmd"
                ]
            },
            "args": [
                "-test",
                "/property:GenerateFullPaths=true",
                "/consoleloggerparameters:NoSummary"
            ],
            "group": {
                "kind": "test",
                "isDefault": true
            },
            "presentation": {
                "reveal": "always",
                "revealProblems": "onProblem"
            },
            "problemMatcher": "$msCompile"
        }
    ]
}
back to top