Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,14 @@ jobs:
DOTNET_NOLOGO: 1
steps:
- uses: actions/checkout@v2

- name: Setup .NET SDK
uses: actions/setup-dotnet@v5
with:
dotnet-version: '10.0.x'

- name: Restore
run: dotnet restore
run: dotnet restore
- name: Build
run: dotnet build --no-restore --configuration $env:buildConfiguration --version-suffix $env:versionSuffix
- name: Test
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<LangVersion>12.0</LangVersion>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "8.0.100",
"version": "10.0.100",
"runtime": "clr",
"architecture": "x86",
"rollForward": "minor"
Expand Down
5 changes: 3 additions & 2 deletions templates/Cms.Empty/Cms.Empty.1.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
Expand All @@ -13,7 +13,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="EPiServer.CMS" Version="12.31.2" />
<PackageReference Include="EPiServer.CMS" Version="13.0.0-preview2-pre-35" />
<PackageReference Include="EPiServer.Cms.UI.AspNetIdentity" Version="13.0.0-preview2-pre-35" />
</ItemGroup>

<ItemGroup>
Expand Down
14 changes: 13 additions & 1 deletion templates/Cms.Empty/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using EPiServer.Scheduler;
using EPiServer.ServiceLocation;
using EPiServer.Web.Routing;
using EPiServer.DependencyInjection;

namespace Cms.Empty._1;

Expand All @@ -26,7 +27,18 @@ public void ConfigureServices(IServiceCollection services)

services
.AddCmsAspNetIdentity<ApplicationUser>()
.AddCms()
.AddSegmentTelemetry()
.AddCmsHost()
.AddCmsCore()
.AddCmsHtmlHelpers()
.AddCmsTagHelpers()
.AddCmsUI()
.AddAdmin()
.AddTinyMce()
.AddCmsImageSharpImageLibrary()
.AddVisitorGroupsMvc()
.AddVisitorGroupsUI()
// .AddCms()
.AddAdminUserRegistration()
.AddEmbeddedLocalization<Startup>();
}
Expand Down
28 changes: 27 additions & 1 deletion templates/Cms.Empty/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,31 @@
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*"
"AllowedHosts": "*",
"EPiServer": {
"Cms": {
"DataAccess":{
"UpdateDatabaseCompatibilityLevel": true
},
"Content": {
"PropertyLazyLoadThreshold": 2100000000
}
},
"TinyMce": {
"TinyMcePropertySettings": {
"AllowAddingBlocks": false,
"MinimalSettings": {
"toolbar": "bold"
}
}
}
},
"Optimizely": {
"ContentGraph": {
"GatewayAddress": "https://staging.cg.optimizely.com",
"SingleKey": "",
"AppKey": "",
"Secret": ""
}
}
}
5 changes: 3 additions & 2 deletions templates/Cms.Item/Cms.Item.csproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<RootNamespace>MyApp.Namespace</RootNamespace>
<Nullable>warnings</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="EPiServer.CMS" Version="12.31.2" />
<PackageReference Include="EPiServer.CMS" Version="13.0.0-preview2-pre-35" />
<PackageReference Include="EPiServer.Cms.UI.AspNetIdentity" Version="13.0.0-preview2-pre-35" />
</ItemGroup>
</Project>
Loading