Don't pack template.json
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
<ContentTargetFolders>.</ContentTargetFolders>
|
<ContentTargetFolders>.</ContentTargetFolders>
|
||||||
<NoWarn>$(NoWarn),NU5128</NoWarn>
|
<NoWarn>$(NoWarn),NU5128</NoWarn>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<!-- Added project references as the sample API in umbraco-extension will fail -->
|
<!-- Added project references as the sample API in umbraco-extension will fail -->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\src\Umbraco.Cms.Api.Common\Umbraco.Cms.Api.Common.csproj" />
|
<ProjectReference Include="..\src\Umbraco.Cms.Api.Common\Umbraco.Cms.Api.Common.csproj" />
|
||||||
@@ -24,9 +24,7 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Umbraco.JsonSchema.Extensions" PrivateAssets="all" />
|
<PackageReference Include="Umbraco.JsonSchema.Extensions" PrivateAssets="all" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<Content Update="**\.template.config\template.json" Pack="false" />
|
|
||||||
</ItemGroup>
|
|
||||||
<Target Name="GetUpdatedTemplateJsonPackageFiles" BeforeTargets="GenerateNuspec" AfterTargets="GetUmbracoBuildVersion">
|
<Target Name="GetUpdatedTemplateJsonPackageFiles" BeforeTargets="GenerateNuspec" AfterTargets="GetUmbracoBuildVersion">
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<_TemplateJsonFiles Include="**\.template.config\template.json" Exclude="bin\**;obj\**" />
|
<_TemplateJsonFiles Include="**\.template.config\template.json" Exclude="bin\**;obj\**" />
|
||||||
@@ -64,4 +62,8 @@
|
|||||||
<PackagePath>UmbracoProject\Views</PackagePath>
|
<PackagePath>UmbracoProject\Views</PackagePath>
|
||||||
</Content>
|
</Content>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Update="**\.template.config\template.json" Pack="false" />
|
||||||
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
Reference in New Issue
Block a user