or Create a profile
Knowledge Base →
30 Sep, 2014 02:43 PM
We need to push these files, they must be included in the WebDeploy package.
What is the best way to achieve that?
on 30 Sep, 2014 03:52 PM
Will look into that. Right now working on the same problem with
on 30 Sep, 2014 05:09 PM
Cool, I think I could use a workaround for now, but did not find info in the documentation about how to exlude files from Artifacts?
In fact, I would like to bundle my web application in an artifact but remove all the *.cs and other files that are not necessary, is there a way to do that?
on 30 Sep, 2014 05:17 PM
OK, I think I've got something.
This is a toy project: https://github.com/appveyor/simple-web/tree/master/MyWebApp
Our objective is adding contents of
GeneratedContent directory into Web Deploy package (of
course, initially GeneratedContent is not part of web
We will be adding those additional files into
*.csproj file in before_build block.
I created a simple PS utility for patching csproj
and this is how it's being called:
You can download those zips and check their contents.
I think add-project-content.ps1 could be used
multiple times to add several folders as it just inserts
ItemGroups before closing
Hope that helps. Let me know if you have any questions.
on 30 Sep, 2014 05:19 PM
Cool! You rock! Will give it a try later today.
Amazing support and product.
on 01 Oct, 2014 04:25 AM
Got it working! Thanks for the help.
on 21 Aug, 2015 04:07 AM
Is this still the recommended way to add generated content to be deployed?
on 21 Aug, 2015 04:22 AM
Nope, please look for the solution here:
Formatting help /
(switch to plain text)
(switch to Markdown)
You can attach files up to 10MB
If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.
A conversation has been started with the AppVeyor staff to resolve this discussion.
This discussion is private.
Only you and AppVeyor support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
You can use Command ⌘ instead of Control ^ on Mac
Powered by Tender™.