vscode-deploy-reloaded
vscode-deploy-reloaded copied to clipboard
Cannot figure out how to run dotnet commands
Description
I'd like to know how I can run dotnet commands before deploying the files.
Actual behavior
Nothing. This is something I am not sure how to do.
Expected behavior
Be able to run dotnet build -c Release -f netcoreapp2.1 . Then run dotnet publish -c Release -f netcoreapp2.1 Then the files are copied to the directory under targets in the settings.
Steps to reproduce
Nothing. This is something I am not sure how to do.
Example config
{
"deploy.reloaded": {
"packages": [
{
"button": {
"enabled": true,
"text": "Deploy My Web Api!"
},
"name": "Version 0.0.1",
"description": "Package version 0.0.1",
"files": [
"Projects_External/branches/Development/MyWebApi/bin/Release/netcoreapp2.1/publish/**"
],
"deployOnSave": false
}
],
"targets": [
{
"type": "local",
"name": "My network folder",
"description": "A shared network folder",
"dir": "C:/Test/WebApi_Test_Deploy"
}
]
}
}
Logs
// write log messages here, if possible
// maybe one or more log files are available
// in sub folder '.vscode-deploy-reloaded/.logs'
// inside your home directory
Screenshot
{Please write here, if possible}
Your environment
- Operating system: Windows 10
- Visual Studio Code version: 1.25.1
- Extension version: 0.84.0
Additional comments
Simply trying to do the following:
- Build a .net core project in Release mode
- Publish the same .net core project
- Files are deployed to the directory specified in the target section.
All three steps are done by pressing the Button at the bottom of VS Code.