Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
This should not be included by default. Since on deploy, it would overwrite the files at the server. This is bad.
Got around it by using following
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <ExcludeFoldersFromDeployment>App_Plugins/UmbracoForms/Data</ExcludeFoldersFromDeployment> </PropertyGroup> </Project>
Another way is to set Build Action of \App_Plugins\UmbracoForms\Data\Web.config\Web.Config to None.
Build Action
\App_Plugins\UmbracoForms\Data\Web.config\Web.Config
None
Ashasi setting the build on web.config would only exclude that file. And not the entire data folder
Hi Aghasi, thanks but..
Setting the build action to none on web.config will just exclude that file. And not the entire folder.
This has been fixed in the later version of umbraco. Umbraco includes it's own publishing target file, which ignores these folders by default.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
WebDeploy includes ~/App_Plugins/UmbracoForms/Data
This should not be included by default. Since on deploy, it would overwrite the files at the server. This is bad.
Got around it by using following
Another way is to set
Build Action
of\App_Plugins\UmbracoForms\Data\Web.config\Web.Config
toNone
.Ashasi setting the build on web.config would only exclude that file. And not the entire data folder
Hi Aghasi, thanks but..
Setting the build action to none on web.config will just exclude that file. And not the entire folder.
This has been fixed in the later version of umbraco. Umbraco includes it's own publishing target file, which ignores these folders by default.
is working on a reply...