Skip to content

Commit afe9604

Browse files
Don't pack template.json
1 parent 7177a29 commit afe9604

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

templates/Umbraco.Templates.csproj

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<ContentTargetFolders>.</ContentTargetFolders>
1212
<NoWarn>$(NoWarn),NU5128</NoWarn>
1313
</PropertyGroup>
14-
14+
1515
<!-- Added project references as the sample API in umbraco-extension will fail -->
1616
<ItemGroup>
1717
<ProjectReference Include="..\src\Umbraco.Cms.Api.Common\Umbraco.Cms.Api.Common.csproj" />
@@ -24,9 +24,7 @@
2424
<ItemGroup>
2525
<PackageReference Include="Umbraco.JsonSchema.Extensions" PrivateAssets="all" />
2626
</ItemGroup>
27-
<ItemGroup>
28-
<Content Update="**\.template.config\template.json" Pack="false" />
29-
</ItemGroup>
27+
3028
<Target Name="GetUpdatedTemplateJsonPackageFiles" BeforeTargets="GenerateNuspec" AfterTargets="GetUmbracoBuildVersion">
3129
<ItemGroup>
3230
<_TemplateJsonFiles Include="**\.template.config\template.json" Exclude="bin\**;obj\**" />
@@ -64,4 +62,8 @@
6462
<PackagePath>UmbracoProject\Views</PackagePath>
6563
</Content>
6664
</ItemGroup>
65+
66+
<ItemGroup>
67+
<Content Update="**\.template.config\template.json" Pack="false" />
68+
</ItemGroup>
6769
</Project>

0 commit comments

Comments
 (0)