I want to have a virtual application inside a site. I have modified my ServiceDefinition.csdef as
<Site name="Web">
<VirtualApplication name="MyVirtualApp" physicalDirectory="[path to my other web app]" />
<Bindings>
<Binding name="HttpIn" endpointName="HttpIn" />
</Bindings>
</Site>
When I create the package, I see that it includes .cs files obj folder too. Which is useless. I don’t want these files to be included in my package file(.cspkg).
What should I do so that when I publish, such type of files should not be included in the package file?
As a workaround, I created a Web Deployment Project. To exclude files in the output, you need to put
And in the
ServiceDefinition.csdefI specified the output path for web deployment project