* Rename Web.UI.New back to Web.UI * Delete new backoffiec folder * Rename client project * Add new submodule * Update template csproj * Remove more mentions of new * Add missing views * Moving up the "Umbraco.Web.UI" proj reference, so that it is the first project listed in solution file (.sln) since it will be selected as startup one in VS by default. * don't include grid * Update with section of how to get started with backoffice * Update .github/BUILD.md Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com> * Add line about white page --------- Co-authored-by: Elitsa <elm@umbraco.dk> Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com>
65 lines
3.1 KiB
XML
65 lines
3.1 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<Title>Umbraco CMS - Templates</Title>
|
|
<Description>Contains templates for Umbraco CMS.</Description>
|
|
<Description>Contains templates for Umbraco CMS, as well as the templates for creating new packages for the Umbraco CMS.</Description>
|
|
<PackageType>Template</PackageType>
|
|
<IncludeBuildOutput>false</IncludeBuildOutput>
|
|
<IncludeSymbols>false</IncludeSymbols>
|
|
<NoDefaultExcludes>true</NoDefaultExcludes>
|
|
<IncludeContentInPack>true</IncludeContentInPack>
|
|
<ContentTargetFolders>.</ContentTargetFolders>
|
|
<NoWarn>NU5128</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Content Include="..\src\Umbraco.Web.UI\Program.cs">
|
|
<Link>UmbracoProject\Program.cs</Link>
|
|
<PackagePath>UmbracoProject</PackagePath>
|
|
</Content>
|
|
<Content Include="UmbracoPackage\**" Exclude="bin;obj" />
|
|
<Content Include="UmbracoPackageRcl\**" Exclude="bin;obj" />
|
|
<Content Include="UmbracoProject\**" 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>
|
|
<Content Include="..\src\Umbraco.Web.UI\wwwroot\favicon.ico">
|
|
<Link>UmbracoProject\wwwroot\favicon.ico</Link>
|
|
<PackagePath>UmbracoProject\wwwroot</PackagePath>
|
|
</Content>
|
|
</ItemGroup>
|
|
|
|
|
|
<!-- Update template.json files with the default UmbracoVersion value set to the current build version -->
|
|
<ItemGroup>
|
|
<PackageReference Include="Umbraco.JsonSchema.Extensions" PrivateAssets="all" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Update="**\.template.config\template.json" Pack="false" />
|
|
</ItemGroup>
|
|
<Target Name="GetUpdatedTemplateJsonPackageFiles" BeforeTargets="GenerateNuspec" AfterTargets="GetUmbracoBuildVersion">
|
|
<ItemGroup>
|
|
<_TemplateJsonFiles Include="**\.template.config\template.json" Exclude="bin\**;obj\**" />
|
|
<_TemplateJsonFiles>
|
|
<DestinationFile>$(IntermediateOutputPath)%(RelativeDir)%(Filename)%(Extension)</DestinationFile>
|
|
</_TemplateJsonFiles>
|
|
</ItemGroup>
|
|
<Copy SourceFiles="@(_TemplateJsonFiles)" DestinationFiles="%(DestinationFile)" />
|
|
<JsonPathUpdateValue JsonFile="%(_TemplateJsonFiles.DestinationFile)" Path="$.symbols.UmbracoVersion.defaultValue" Value=""$(PackageVersion)"" />
|
|
<ItemGroup>
|
|
<_PackageFiles Include="%(_TemplateJsonFiles.DestinationFile)">
|
|
<PackagePath>%(_TemplateJsonFiles.RelativeDir)</PackagePath>
|
|
</_PackageFiles>
|
|
</ItemGroup>
|
|
</Target>
|
|
</Project>
|