Skip to content

Commit 1e0f549

Browse files
authored
Merge pull request #6 from enkelmedia/5
Upgrade references for .NET 6
2 parents 896707f + 03f1a03 commit 1e0f549

3 files changed

Lines changed: 10 additions & 6 deletions

File tree

src/Compiler.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using dotless.Core;
1+
using System;
2+
using dotless.Core;
23
using Microsoft.AspNetCore.Hosting;
34
using Microsoft.AspNetCore.Http;
45
using Microsoft.Extensions.DependencyInjection;
@@ -18,7 +19,7 @@ public class Compiler : IProcessor
1819
/// <summary>
1920
/// Gets the custom key that should be used when calculating the memory cache key.
2021
/// </summary>
21-
public string CacheKey(HttpContext context) => string.Empty;
22+
public string CacheKey(HttpContext context, IAssetContext config) => String.Empty;
2223

2324
/// <summary>
2425
/// Executes the processor on the specified configuration.
@@ -45,5 +46,8 @@ public Task ExecuteAsync(IAssetContext context)
4546

4647
return Task.CompletedTask;
4748
}
49+
50+
51+
4852
}
4953
}

src/WebOptimizer.Dotless.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.0</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\WebOptimizer.Dotless.xml</DocumentationFile>
66
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
77
<PackageTags>less, bundle, minify, optimize, asp.net core, dotless</PackageTags>
@@ -22,7 +22,7 @@
2222
<ItemGroup>
2323
<FrameworkReference Include="Microsoft.AspNetCore.App" />
2424
<PackageReference Include="dotless.Core" Version="1.6.7" />
25-
<PackageReference Include="LigerShark.WebOptimizer.Core" Version="3.0.250" />
25+
<PackageReference Include="LigerShark.WebOptimizer.Core" Version="3.0.348" />
2626
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0">
2727
<PrivateAssets>all</PrivateAssets>
2828
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>

test/WebOptimizer.Dotless.Test.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
<IsPackable>false</IsPackable>
66
</PropertyGroup>
77

@@ -14,7 +14,7 @@
1414
<PrivateAssets>all</PrivateAssets>
1515
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
1616
</PackageReference>
17-
<PackageReference Include="LigerShark.WebOptimizer.Core" Version="3.0.250" />
17+
<PackageReference Include="LigerShark.WebOptimizer.Core" Version="3.0.348" />
1818
</ItemGroup>
1919

2020
<ItemGroup>

0 commit comments

Comments
 (0)