vs-deploy icon indicating copy to clipboard operation
vs-deploy copied to clipboard

Folder mapping issue with dot

Open sag3ll0 opened this issue 6 years ago • 2 comments

I have package "packages": [ { "name": "Api", "description": "Deploy Api", "files": [ "../Q.API/Areas/**", "../Q.API/bin/**", "../Q.API/Content/**", "../Q.API/fonts/**", "../Q.API/Scripts/**", "../Q.API/Views/**", "../Q.API/ApplicationInsights.config", "../Q.API/Global.asax", "../Q.API/NLog.config", "../Q.API/Web.config" ] } ], and target "targets": [ { "type": "local", "name": "Local Folder", "description": "My Local Folder", "dir": "./out", "mappings": [ { "source": "/wwwroot", "target": "/" }, { "source": "/Q.API", "target": "/api" } ] }] when i execute this deploy i got this image why folder name ".API" not simple "api". Can you check work with dot?

sag3ll0 avatar Nov 10 '17 22:11 sag3ll0

@sag3ll0

Sorry for the late answer!

I tried to reproduce the issue, but I found another problem: When I look at your config, it seems to be, that you try to deploy files outside your workspace. This is not possible, because you will get a "relative path could not be resolved" error for each file outside your workspace.

mkloubert avatar Nov 13 '17 21:11 mkloubert

No, all files is in my workspace, but destination if outside. ".." - its folder with visual studio solution and "Q.API" its one of projects.

sag3ll0 avatar Nov 14 '17 08:11 sag3ll0