Skip to content

Commit 69694e8

Browse files
committed
Fix the build
1 parent 78d9cdb commit 69694e8

6 files changed

Lines changed: 23 additions & 10 deletions

File tree

src/OrchardCoreContrib.PoExtractor.Liquid/LiquidProjectProcessor.cs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
using Microsoft.Extensions.Options;
44
using OrchardCore.DisplayManagement.Liquid;
55
using OrchardCoreContrib.PoExtractor.Liquid.MetadataProviders;
6-
using System;
7-
using System.IO;
8-
using System.Linq;
96

107
namespace OrchardCoreContrib.PoExtractor.Liquid;
118

@@ -23,9 +20,10 @@ public class LiquidProjectProcessor : IProjectProcessor
2320
/// </summary>
2421
public LiquidProjectProcessor()
2522
{
26-
var parserOptions = Options.Create(new LiquidViewOptions());
23+
var liquidViewOptions = Options.Create(new LiquidViewOptions());
24+
var fileParserOptions = Options.Create(new FluidParserOptions());
2725

28-
_parser = new LiquidViewParser(parserOptions);
26+
_parser = new LiquidViewParser(liquidViewOptions, fileParserOptions);
2927
}
3028

3129
/// <inheritdoc/>

test/OrchardCoreContrib.PoExtractor.Core.Tests/OrchardCoreContrib.PoExtractor.Abstractions.Tests.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
<ItemGroup>
66
<PackageReference Include="Microsoft.NET.Test.Sdk" />
77
<PackageReference Include="xunit" />
8-
<PackageReference Include="xunit.analyzers" />
8+
<PackageReference Include="xunit.analyzers">
9+
<PrivateAssets>all</PrivateAssets>
10+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
11+
</PackageReference>
912
<PackageReference Include="xunit.runner.visualstudio">
1013
<PrivateAssets>all</PrivateAssets>
1114
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>

test/OrchardCoreContrib.PoExtractor.DotNet.CS.Tests/OrchardCoreContrib.PoExtractor.DotNet.CS.Tests.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
<ItemGroup>
33
<PackageReference Include="Microsoft.NET.Test.Sdk" />
44
<PackageReference Include="xunit" />
5-
<PackageReference Include="xunit.analyzers" />
5+
<PackageReference Include="xunit.analyzers">
6+
<PrivateAssets>all</PrivateAssets>
7+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
8+
</PackageReference>
69
<PackageReference Include="xunit.runner.visualstudio">
710
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
811
<PrivateAssets>all</PrivateAssets>

test/OrchardCoreContrib.PoExtractor.DotNet.VB.Tests/OrchardCoreContrib.PoExtractor.DotNet.VB.Tests.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
<ItemGroup>
33
<PackageReference Include="Microsoft.NET.Test.Sdk" />
44
<PackageReference Include="xunit" />
5-
<PackageReference Include="xunit.analyzers" />
5+
<PackageReference Include="xunit.analyzers">
6+
<PrivateAssets>all</PrivateAssets>
7+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
8+
</PackageReference>
69
<PackageReference Include="xunit.runner.visualstudio">
710
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
811
<PrivateAssets>all</PrivateAssets>

test/OrchardCoreContrib.PoExtractor.Liquid.Tests/OrchardCoreContrib.PoExtractor.Liquid.Tests.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
<ItemGroup>
33
<PackageReference Include="Microsoft.NET.Test.Sdk" />
44
<PackageReference Include="xunit" />
5-
<PackageReference Include="xunit.analyzers" />
5+
<PackageReference Include="xunit.analyzers">
6+
<PrivateAssets>all</PrivateAssets>
7+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
8+
</PackageReference>
69
<PackageReference Include="xunit.runner.visualstudio">
710
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
811
<PrivateAssets>all</PrivateAssets>

test/OrchardCoreContrib.PoExtractor.Tests/OrchardCoreContrib.PoExtractor.Tests.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
<ItemGroup>
33
<PackageReference Include="Microsoft.NET.Test.Sdk" />
44
<PackageReference Include="xunit" />
5-
<PackageReference Include="xunit.analyzers" />
5+
<PackageReference Include="xunit.analyzers">
6+
<PrivateAssets>all</PrivateAssets>
7+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
8+
</PackageReference>
69
<PackageReference Include="xunit.runner.visualstudio">
710
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
811
<PrivateAssets>all</PrivateAssets>

0 commit comments

Comments
 (0)