re: What's an awesome VS Code extension you recently installed? VIEW POST

FULL DISCUSSION
 

WSL workspaceFolder - marketplace.visualstudio.com/items.... Maps your Windows Directory to a WSL mount pathname. Very useful for integrating with Linux tools with your Visual Studio tasks. For example, using rsync to do a delta file copy to Raspberry Pi for .NET Core projects.

"windows": {
"command": "cmd",
"type": "shell",
"args": [
"/c",
"\"dotnet publish -r linux-arm -o bin/linux-arm/publish",
"${workspaceFolder}/${workspaceFolderBasename}.csproj\"",
"&&",
"bash",
"-c",
"\"rsync -rvuz ${command:extension.vscode-wsl-workspaceFolder}/bin/linux-arm/publish/ pi@192.168.0.150:/home/pi/dotnet/${workspaceFolderBasename}\""
],
},

code of conduct - report abuse