-
Notifications
You must be signed in to change notification settings - Fork 1
/
Website.Publishing.props
66 lines (52 loc) · 3.16 KB
/
Website.Publishing.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!--
***********************************************************************************************
Website.Publishing.props
Properties related to publishing projects and solution.
These properties can be overridden locally by adding a file named Publish.Properties.props.user
F. ex. to control the PublishRootDirectory location on your dev machine if it differ from the
*** [IMPORTANT] ***
These props are only intended for projects targeting classic .NET (net4xx) framework projects.
The import of this file is conditional on targetframework net4xx and
will/should not be loaded when building projects with other target frameworks (netstandard etc.)
TODO: Rename to Website.PublishProperties.props if relevant in solution - if only used by modules targeting website instances.
[Anders Laub // Laub+Co]
***********************************************************************************************
-->
<Project>
<PropertyGroup>
<!-- PublishRootDirectory
Your Sitecore website root directory, used for publishing and xml transformations
Note: Override this property in .csproj or local Directory.Build.props file for specific publish targets
IMPORTANT: Remember trailing slash!-->
<PublishRootDirectory>C:\Websites\Sitecore.Solution\Website</PublishRootDirectory>
<!-- AutoPublishOnBuild
Toogles automatic-publishing on builds, including from VS
see ./build/targets/Website.AutoPublish.targets for details -->
<AutoPublishOnBuild>true</AutoPublishOnBuild>
<!-- RunXmlTransformsOnPublish
Toggles transforming xml files post publishing,
see ./build/targets/Website.TransformXml.targets for details -->
<RunXmlTransformsOnPublish>true</RunXmlTransformsOnPublish>
<!-- XmlTransformFilePostfix
File postfix for transformation files (default: xdt)
Name files [whatever].[{Configuration}|Any].xdt
Ex. web.config.debug.xdt or web.config.any.xdt -->
<XmlTransformFilePostfix>xdt</XmlTransformFilePostfix>
<!-- LegacyRemovePrivatePackageReference
Prevent packagereference assemblies to be copied when privateassets=all|runtime
even though the package structure does not follow the current conventions.
see ./build/targets/RemovePrivatePackageReference.targets for details -->
<LegacyRemoveStandardReferenceAssemblies>true</LegacyRemoveStandardReferenceAssemblies>
<!-- BuildingInsideVisualStudio
Important! do not remove. Otherwise webpublish cannot run automatically on VS triggered builds -->
<BuildingInsideVisualStudio>False</BuildingInsideVisualStudio>
<WebPublishMethod>FileSystem</WebPublishMethod>
<LastUsedBuildConfiguration>$(Configuration)</LastUsedBuildConfiguration>
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<ExcludeApp_Data>False</ExcludeApp_Data>
<DeleteExistingFiles>False</DeleteExistingFiles>
<DeployOnBuild>False</DeployOnBuild>
<publishUrl>$(PublishRootDirectory)</publishUrl>
<ExcludeFilesFromDeployment></ExcludeFilesFromDeployment>
</PropertyGroup>
</Project>