2022-08-25 14:45:11 +02:00
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
2022-05-19 10:25:44 +01:00
|
|
|
<PropertyGroup>
|
2022-10-05 12:11:51 +02:00
|
|
|
<Title>Umbraco CMS - Templates</Title>
|
2023-05-31 19:12:00 +02:00
|
|
|
<Description>Contains templates for Umbraco CMS.</Description>
|
2023-09-21 12:28:18 +02:00
|
|
|
<Description>Contains templates for Umbraco CMS, as well as the templates for creating new packages for the Umbraco CMS.</Description>
|
2022-05-19 10:25:44 +01:00
|
|
|
<PackageType>Template</PackageType>
|
|
|
|
|
<IncludeBuildOutput>false</IncludeBuildOutput>
|
2022-10-05 12:11:51 +02:00
|
|
|
<IncludeSymbols>false</IncludeSymbols>
|
2022-05-19 10:25:44 +01:00
|
|
|
<NoDefaultExcludes>true</NoDefaultExcludes>
|
|
|
|
|
<IncludeContentInPack>true</IncludeContentInPack>
|
|
|
|
|
<ContentTargetFolders>.</ContentTargetFolders>
|
2024-11-19 13:29:39 +01:00
|
|
|
<NoWarn>$(NoWarn),NU5128</NoWarn>
|
2022-05-19 10:25:44 +01:00
|
|
|
</PropertyGroup>
|
2024-11-28 10:12:13 +01:00
|
|
|
|
2024-11-19 13:29:39 +01:00
|
|
|
<!-- Added project references as the sample API in umbraco-extension will fail -->
|
2022-05-19 10:25:44 +01:00
|
|
|
<ItemGroup>
|
2024-11-19 13:29:39 +01:00
|
|
|
<ProjectReference Include="..\src\Umbraco.Cms.Api.Common\Umbraco.Cms.Api.Common.csproj" />
|
|
|
|
|
<ProjectReference Include="..\src\Umbraco.Cms.Api.Management\Umbraco.Cms.Api.Management.csproj" />
|
|
|
|
|
<ProjectReference Include="..\src\Umbraco.Web.Common\Umbraco.Web.Common.csproj" />
|
|
|
|
|
<ProjectReference Include="..\src\Umbraco.Web.Website\Umbraco.Web.Website.csproj" />
|
2022-05-19 10:25:44 +01:00
|
|
|
</ItemGroup>
|
2024-11-19 13:29:39 +01:00
|
|
|
|
2023-04-05 11:16:43 +02:00
|
|
|
<!-- Update template.json files with the default UmbracoVersion value set to the current build version -->
|
|
|
|
|
<ItemGroup>
|
2023-12-06 08:19:46 +01:00
|
|
|
<PackageReference Include="Umbraco.JsonSchema.Extensions" PrivateAssets="all" />
|
2023-04-05 11:16:43 +02:00
|
|
|
</ItemGroup>
|
2024-11-28 10:12:13 +01:00
|
|
|
|
2023-10-23 11:17:40 +02:00
|
|
|
<Target Name="GetUpdatedTemplateJsonPackageFiles" BeforeTargets="GenerateNuspec" AfterTargets="GetUmbracoBuildVersion">
|
2023-04-05 11:16:43 +02:00
|
|
|
<ItemGroup>
|
|
|
|
|
<_TemplateJsonFiles Include="**\.template.config\template.json" Exclude="bin\**;obj\**" />
|
|
|
|
|
<_TemplateJsonFiles>
|
|
|
|
|
<DestinationFile>$(IntermediateOutputPath)%(RelativeDir)%(Filename)%(Extension)</DestinationFile>
|
|
|
|
|
</_TemplateJsonFiles>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<Copy SourceFiles="@(_TemplateJsonFiles)" DestinationFiles="%(DestinationFile)" />
|
2024-08-26 11:21:02 +02:00
|
|
|
<JsonPathUpdateValue JsonFile="%(_TemplateJsonFiles.DestinationFile)" Path="$.symbols.FinalVersion.parameters.cases.[0].value" Value=""$(PackageVersion)"" />
|
2023-04-05 11:16:43 +02:00
|
|
|
<ItemGroup>
|
|
|
|
|
<_PackageFiles Include="%(_TemplateJsonFiles.DestinationFile)">
|
2023-10-19 10:49:10 +02:00
|
|
|
<PackagePath>%(_TemplateJsonFiles.RelativeDir)</PackagePath>
|
2023-04-05 11:16:43 +02:00
|
|
|
</_PackageFiles>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
</Target>
|
2024-11-19 13:29:39 +01:00
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Content Include="..\src\Umbraco.Web.UI\Program.cs">
|
|
|
|
|
<Link>UmbracoProject\Program.cs</Link>
|
|
|
|
|
<PackagePath>UmbracoProject</PackagePath>
|
|
|
|
|
</Content>
|
|
|
|
|
<Content Include="UmbracoProject\**" Exclude="bin;obj" />
|
|
|
|
|
<Content Include="UmbracoExtension\**" Exclude="bin;obj" />
|
|
|
|
|
<Content Include="UmbracoDockerCompose\**" Exclude="bin;obj" />
|
|
|
|
|
<Content Include="..\src\Umbraco.Web.UI\Views\Partials\blocklist\**">
|
|
|
|
|
<Link>UmbracoProject\Views\Partials\blocklist\%(RecursiveDir)%(Filename)%(Extension)</Link>
|
|
|
|
|
<PackagePath>UmbracoProject\Views\Partials\blocklist</PackagePath>
|
|
|
|
|
</Content>
|
|
|
|
|
<Content Include="..\src\Umbraco.Web.UI\Views\Partials\blockgrid\**">
|
|
|
|
|
<Link>UmbracoProject\Views\Partials\blockgrid\%(RecursiveDir)%(Filename)%(Extension)</Link>
|
|
|
|
|
<PackagePath>UmbracoProject\Views\Partials\blockgrid</PackagePath>
|
|
|
|
|
</Content>
|
|
|
|
|
<Content Include="..\src\Umbraco.Web.UI\Views\_ViewImports.cshtml">
|
|
|
|
|
<Link>UmbracoProject\Views\_ViewImports.cshtml</Link>
|
|
|
|
|
<PackagePath>UmbracoProject\Views</PackagePath>
|
|
|
|
|
</Content>
|
|
|
|
|
</ItemGroup>
|
2024-11-28 10:12:13 +01:00
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Content Update="**\.template.config\template.json" Pack="false" />
|
|
|
|
|
</ItemGroup>
|
2022-05-19 10:25:44 +01:00
|
|
|
</Project>
|