Pavan Tiwari Pavan Tiwari - 1 year ago 111
ASP.NET (C#) Question

Ms deploy publish unneeded files like designer files

I am using ms deploy for publishing my web application by command line,

I have use following command

<Exec Command="msdeploy -verb:sync
WorkingDirectory="C:\Program Files (x86)\IIS\Microsoft Web Deploy V2"

But it is just copying all the files and folder from source dir.

I don't want to send designer.cs pages to publish folder.

Answer Source
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download