* 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>
53 lines
2.7 KiB
XML
53 lines
2.7 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
<PropertyGroup>
|
|
<RootNamespace>Umbraco.Cms.Web.UI</RootNamespace>
|
|
<IsPackable>false</IsPackable>
|
|
<EnablePackageValidation>false</EnablePackageValidation>
|
|
</PropertyGroup>
|
|
|
|
<Import Project="..\Umbraco.Cms.Targets\buildTransitive\Umbraco.Cms.Targets.props" />
|
|
<Import Project="..\Umbraco.Cms.Targets\buildTransitive\Umbraco.Cms.Targets.targets" />
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Umbraco.Cms\Umbraco.Cms.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Add design/build time support for EF Core migrations -->
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" PrivateAssets="all" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Ensure the AppLocalIcu setting is the same as the referenced ICU package version and changes are also done to the template project! -->
|
|
<!-- Opt-in to app-local ICU to ensure consistent globalization APIs across different platforms -->
|
|
<PackageReference Include="Microsoft.ICU.ICU4C.Runtime" VersionOverride="72.1.0.3" />
|
|
<RuntimeHostConfigurationOption Include="System.Globalization.AppLocalIcu" Value="72.1.0.3" Condition="$(RuntimeIdentifier.StartsWith('linux')) or $(RuntimeIdentifier.StartsWith('win')) or ('$(RuntimeIdentifier)' == '' and !$([MSBuild]::IsOSPlatform('osx')))" />
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup>
|
|
<!-- Razor files are needed for the backoffice to work correctly -->
|
|
<CopyRazorGenerateFilesToPublishDirectory>true</CopyRazorGenerateFilesToPublishDirectory>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<!-- Remove RazorCompileOnBuild and RazorCompileOnPublish when not using ModelsMode InMemoryAuto -->
|
|
<RazorCompileOnBuild>false</RazorCompileOnBuild>
|
|
<RazorCompileOnPublish>false</RazorCompileOnPublish>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<_ContentIncludedByDefault Remove="umbraco\UmbracoInstall\Index.cshtml" />
|
|
<_ContentIncludedByDefault Remove="umbraco\UmbracoLogin\Index.cshtml" />
|
|
<_ContentIncludedByDefault Remove="umbraco\UmbracoBackOffice\Default.cshtml" />
|
|
</ItemGroup>
|
|
|
|
<Target Name="CopyAppsettingsTemplate" BeforeTargets="Build" Condition="!Exists('appsettings.json')">
|
|
<Message Text="Copying appsettings.template.json to appsettings.json because it doesn't exist" Importance="high" />
|
|
<Copy SourceFiles="appsettings.template.json" DestinationFiles="appsettings.json" />
|
|
</Target>
|
|
|
|
<Target Name="CopyAppsettingsDevelopmentTemplate" BeforeTargets="Build" Condition="!Exists('appsettings.Development.json')">
|
|
<Message Text="Copying appsettings.Development.template.json to appsettings.Development.json because it doesn't exist" Importance="high" />
|
|
<Copy SourceFiles="appsettings.Development.template.json" DestinationFiles="appsettings.Development.json" />
|
|
</Target>
|
|
</Project>
|