Skip to content

Commit

Permalink
V10 version
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickdemooij9 committed May 31, 2022
1 parent fcfcc1b commit b53c054
Show file tree
Hide file tree
Showing 2,496 changed files with 3,849 additions and 255,109 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
using Umbraco.Cms.Core;
using Umbraco.Cms.Core.Composing;
using Umbraco.Cms.Core.Migrations;
using Umbraco.Cms.Core.Scoping;
using Umbraco.Cms.Core.Services;
using Umbraco.Cms.Infrastructure.Migrations;
using Umbraco.Cms.Infrastructure.Migrations.Upgrade;
using Umbraco.Cms.Infrastructure.Scoping;

namespace SimpleRedirects.Core.Components
{
Expand Down
2 changes: 1 addition & 1 deletion source/SimpleRedirects.Core/RedirectRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using SimpleRedirects.Core.Extensions;
using SimpleRedirects.Core.Models;
using SimpleRedirects.Core.Utilities.Caching;
using Umbraco.Cms.Core.Scoping;
using Umbraco.Cms.Infrastructure.Scoping;
using Umbraco.Extensions;

namespace SimpleRedirects.Core
Expand Down
4 changes: 2 additions & 2 deletions source/SimpleRedirects.Core/RedirectUserComposer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ public void Compose(IUmbracoBuilder builder)
builder.Dashboards().Add<RedirectDashboard>();
builder.Components().Append<DatabaseUpgradeComponent>();

builder.Services.AddUnique<RedirectRepository>();
builder.Services.AddUnique<ICacheManager, CacheManager>();
builder.Services.AddSingleton<RedirectRepository>();
builder.Services.AddSingleton<ICacheManager, CacheManager>();

builder.Services.Configure<SimpleRedirectsOptions>(builder.Config.GetSection(
SimpleRedirectsOptions.Position));
Expand Down
6 changes: 3 additions & 3 deletions source/SimpleRedirects.Core/SimpleRedirects.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<ContentTargetFolders>.</ContentTargetFolders>
<Product>SimpleRedirects.Core</Product>
<PackageId>SimpleRedirects.Core</PackageId>
Expand All @@ -13,7 +13,7 @@
<PackageIconUrl>https://raw.githubusercontent.com/patrickdemooij9/SimpleRedirects/v9/main/package/simpleRedirectsLogo.png</PackageIconUrl>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Umbraco.Cms.Web.Website" Version="9.0.0" />
<PackageReference Include="Umbraco.Cms.Web.BackOffice" Version="9.0.0" />
<PackageReference Include="Umbraco.Cms.Web.Website" Version="10.0.0-rc4" />
<PackageReference Include="Umbraco.Cms.Web.BackOffice" Version="10.0.0-rc4" />
</ItemGroup>
</Project>
6 changes: 2 additions & 4 deletions source/SimpleRedirects.Site/SimpleRedirects.Site.csproj
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Umbraco.Cms" Version="9.0.0" />
<PackageReference Include="Umbraco.Cms.SqlCe" Version="9.0.0" />
<PackageReference Include="Umbraco.SqlServerCE" Version="4.0.0.1" />
<PackageReference Include="Umbraco.Cms" Version="10.0.0-rc4" />
</ItemGroup>

<Import Project="..\SimpleRedirects\build\SimpleRedirects.targets" />
Expand Down
Loading

0 comments on commit b53c054

Please sign in to comment.