I want to have a virtual application inside a site. I have modified my ServiceDefinition.csdef as
ServiceDefinition.csdef
As a workaround, I created a Web Deployment Project. To exclude files in the output, you need to put
Project
And in the ServiceDefinition.csdef I specified the output path for web deployment project