So targetPath has to always be relative? There is a danger of people mistakenly specifying it as /sub, where they mean wwwroot/sub, and it'll do the wrong thing. I guess it's similar to the project path. Maybe same issue exists there?