-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathEPiServer.Templates.csproj
56 lines (51 loc) · 2.83 KB
/
EPiServer.Templates.csproj
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<IsPackable>true</IsPackable>
<PackageOutputPath>$(ArtifactsDirectory)</PackageOutputPath>
<IncludeContentInPack>true</IncludeContentInPack>
<IncludeBuildOutput>false</IncludeBuildOutput>
<NoDefaultExcludes>true</NoDefaultExcludes>
<ContentTargetFolders>content</ContentTargetFolders>
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<!-- Typical NuGet warning when packaging templates -->
<NoWarn>$(NoWarn);NU5100;NU5110;NU5111;NU5123</NoWarn>
</PropertyGroup>
<!-- Package information -->
<PropertyGroup>
<PackageId>EPiServer.Templates</PackageId>
<PackageIcon>icon.png</PackageIcon>
<PackageType>Template</PackageType>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageTags>$(PackageTags);dotnet-new;templates;Episerver;Optimizely</PackageTags>
<PackageProjectUrl>https://github.com/episerver/content-templates</PackageProjectUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryUrl>$(PackageProjectUrl).git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<Product>Optimizely Digital Experience Platform</Product>
<Description>Templates for the Optimizely Digital Experience Cloud</Description>
<Company>Episerver AB</Company>
<Authors>Episerver AB</Authors>
<Copyright>© 2022 by Episerver AB. All rights reserved</Copyright>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
</PropertyGroup>
<ItemGroup>
<None Remove="**\*" />
<None Include="$(SolutionDir)shared\icon.png" LinkBase="shared" Visible="false" Pack="true" PackagePath="" />
<None Include="$(SolutionDir)README.md" Pack="true" PackagePath="\"/>
</ItemGroup>
<!-- Shared items to include in every template -->
<ItemGroup>
<Content Include="$(SolutionDir).gitignore" LinkBase="Alloy.Mvc" PackagePath="content\Alloy.Mvc" />
<Content Include="$(SolutionDir).gitignore" LinkBase="Cms.Empty" PackagePath="content\Cms.Empty" />
<Content Include="$(SolutionDir).gitignore" LinkBase="Commerce.Empty" PackagePath="content\Commerce.Empty" />
<Content Include="$(SolutionDir)shared\icon.png" LinkBase="Alloy.Mvc\.template.config" PackagePath="content\Alloy.Mvc\.template.config" />
<Content Include="$(SolutionDir)shared\icon.png" LinkBase="Cms.Empty\.template.config" PackagePath="content\Cms.Empty\.template.config" />
<Content Include="$(SolutionDir)shared\icon.png" LinkBase="Commerce.Empty\.template.config" PackagePath="content\Commerce.Empty\.template.config" />
</ItemGroup>
<!-- Include everything but do not compile anything when packing the templates -->
<ItemGroup>
<Compile Remove="**\*" />
<Content Include="**\*"
Exclude="EPiServer.Templates.csproj;Cms.Item\*.*;**\bin\**;**\obj\**;**\modules\**;**\*.user" />
</ItemGroup>
</Project>