You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to have been introduced in Strawberry Shake v13.8, there are some comparisons to System.Text.Json.JsonValueKind.Null which are not prefixed with global::, the result being that if your project namespace that is using Strawberry Shake contains a component called System (or System.Text etc.) then it will fail to build.
In previous versions of Strawberry Shake, the same project would build correctly.
Steps to reproduce
Create a project which contains 'System', e.g. MyProject.Tests.System
Add Strawberry Shake and some query to be generated
The project fails to build with an error
Relevant log output
CS0234 The type or namespace name 'Text' does not exist in the namespace 'MyProject.Tests.System' (are you missing an assembly reference?)
Additional Context?
After investigating the issue somewhat, I believe this was introduced with this pull #6481
Version
13.8.1
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Product
Strawberry Shake
Describe the bug
This seems to have been introduced in Strawberry Shake v13.8, there are some comparisons to
System.Text.Json.JsonValueKind.Null
which are not prefixed withglobal::
, the result being that if your project namespace that is using Strawberry Shake contains a component calledSystem
(orSystem.Text
etc.) then it will fail to build.In previous versions of Strawberry Shake, the same project would build correctly.
Steps to reproduce
MyProject.Tests.System
Relevant log output
Additional Context?
After investigating the issue somewhat, I believe this was introduced with this pull #6481
Version
13.8.1
The text was updated successfully, but these errors were encountered: