Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Deployment Package - change the file structure the .zip creates?

Everything works as expected but I would like to improve the directory structure that the .zip produces.

When I create a deployment package I have it create in a custom directory which works fine but the .zip it creates is in the structure of:

content/c_c/users/pcName/documents/VS2010/Projects/ProjectName/obj/release/package/packageTmp

Only in the packageTmp directory do I get to the files I want!

Is there a way for the created zip to not include all of those empty directories?

like image 333
KevinUK Avatar asked May 30 '10 19:05

KevinUK


1 Answers

I never understood the folder structure either. By using msdeploy to publish the site it uses that folder structure to deploy multiple sites/assets at once. It's annoying when looking at the package itself but it does "work". Just use msdeploy to actually deploy the package and you don't have to look at the crazy folder structure. :)

like image 176
Paul Lemke Avatar answered Oct 15 '22 22:10

Paul Lemke