is there a rule somewhere (like an “octopusIgnore”) that excludes some folders or files based on their names (a bit like git has a gitIgnore) ?
I have a asp webApp where a file named “obj.xml” in a folder named “obj” that is not deployed (I know, i know bad name for a folder in .NET project
We don’t have an ignore file like you suggest and a quick parse of our codebase didn’t reveal any code that would exclude those files.
I did a test here based on your scenario and couldn’t replicate your issue.
To help me further could you give me some additional details about your scenario - apologies in advance for the barrage of questions, but should hopefully save some back and forth.
Are you creating an aspnet core web application, aspnet mvc application, webforms or classic asp?
Are you creating these packages with octopack? What commands do you use to create the package?
Is the obj directory in your wwwroot folder, or is it in the root directory of the project?
What version of Octopus Server, Calamari & Nuget are you using to create / deploy this package?
What do your task logs say when you execute a deployment? On my test it looked something like this: