Skip to content

Commit 74639a3

Browse files
committed
Fixed query generation.
1 parent 3a65aa6 commit 74639a3

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

Arch.System.SourceGenerator/Arch.System.SourceGenerator.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313

1414
<PackageId>Arch.System.SourceGenerator</PackageId>
1515
<Title>Arch.System.SourceGenerator</Title>
16-
<Version>2.0.0</Version>
16+
<Version>2.1.0</Version>
1717
<Authors>genaray</Authors>
1818
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
1919
<Description>A source generator for arch.system.</Description>
20-
<PackageReleaseNotes>Updated to fit Arch 2.0.0.</PackageReleaseNotes>
20+
<PackageReleaseNotes>Updated to fit Arch 2.1.0-beta and upwards. </PackageReleaseNotes>
2121
<PackageTags>c#;.net;.net6;.net7;ecs;game;entity;gamedev; game-development; game-engine; entity-component-system; arch;</PackageTags>
2222

2323
<PackageProjectUrl>https://github.com/genaray/Arch.Extended</PackageProjectUrl>

Arch.System.SourceGenerator/Query.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ public static StringBuilder AppendQueryMethod(this StringBuilder sb, ref QueryMe
292292
using Arch.Core.Extensions;
293293
using Arch.Core.Utils;
294294
using ArrayExtensions = CommunityToolkit.HighPerformance.ArrayExtensions;
295-
using Component = Arch.Core.Utils.Component;
295+
using Component = Arch.Core.Component;
296296
{{(!queryMethod.IsGlobalNamespace ? $"namespace {queryMethod.Namespace} {{" : "")}}
297297
partial class {{queryMethod.ClassName}}{
298298
@@ -368,7 +368,7 @@ public static StringBuilder AppendParallelQueryMethod(this StringBuilder sb, ref
368368
using Arch.Core.Extensions;
369369
using Arch.Core.Utils;
370370
using ArrayExtensions = CommunityToolkit.HighPerformance.ArrayExtensions;
371-
using Component = Arch.Core.Utils.Component;
371+
using Component = Arch.Core.Component;
372372
{{(!queryMethod.IsGlobalNamespace ? $"namespace {queryMethod.Namespace} {{" : "")}}
373373
partial class {{queryMethod.ClassName}}{
374374

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Extensions for [Arch](https://github.com/genaray/Arch) with some useful features
1414
Download the packages and get started today!
1515
```console
1616
dotnet add package Arch.System --version 1.1.0
17-
dotnet add package Arch.System.SourceGenerator --version 2.0.0
17+
dotnet add package Arch.System.SourceGenerator --version 2.1.0
1818
dotnet add package Arch.EventBus --version 1.0.2
1919
dotnet add package Arch.LowLevel --version 1.1.5
2020
dotnet add package Arch.Relationships --version 1.0.0

0 commit comments

Comments
 (0)