How to exclude \ App_Data \ orchard \ App_Data \ Sites \ Default \ Settings.txt from webdeploy Orchard CMS (compiled from source)
We tried several different file paths and the direct Settings.txt file. It always loads again.
Settings
everything is working
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> <OutputPath>bin\</OutputPath> <DefineConstants>TRACE</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> <PlatformTarget>AnyCPU</PlatformTarget> <ExcludeApp_Data>false</ExcludeApp_Data> <FilesToIncludeForPublish>OnlyFilesToRunTheApp</FilesToIncludeForPublish> <ExcludeFilesFromDeployment>orchard\App_Data\Sites\Default\Settings.txt</ExcludeFilesFromDeployment>
This does not work.
Did you try to check "Exclude files from the App_Data folder" on the first screen? In fact, you do not need to copy this folder at all from your local machine when updating the site.
Settings.txt, App_Data ( Orchard). , , App_Data - . , , ?