-
-
Notifications
You must be signed in to change notification settings - Fork 748
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$(GraphQLCodeGenerationRoot) evaluates to empty string #6179
Comments
This is now fixed with 13.2.0-preview.3 |
Did you try the latest v13.2.x? The v14 previews are over a month old and probably don't include this change. |
13.2.1 works fine :) |
The problem persists with 13.3.2. Still no condition in |
Feedback from other users seems to indicate that it is fixed. Maybe there is another condition that plays in your setup? |
It seems not. As soon as I remove the reference to the package problem disappears. I've also looked into the package and it's content is the same as on the screenshot above. |
Is there an existing issue for this?
Product
Strawberry Shake
Describe the bug
Building the project should not take forever and should not scan the whole device for .cs files
Steps to reproduce
Relevant log output
Additional Context?
I am using dotnet 7.0.302 on Apple Silicon M1. A coworker has the same problem on same hardware. Another coworker on Windows 10 does not encounter the problem.
MSBuild outputs also a warning
MSB5029: The value "\\**\\*.cs" of the "Include" attribute in element <ItemGroup> in file ....nuget/packages/strawberryshake.server/13.1.0/build/StrawberryShake.Server.targets (23,16)" is a wildcard that results in enumerating all files on the drive, which was likely not intended.
I think the issue is on line 23 and 47 StrawberryShake.targets.
The property
"$(GraphQLCodeGenerationRoot)\**\*.cs"
evaluates to"\**\.cs"
which result in scanning the whole root folder recursively for .cs files.Overwriting the property in the csproj fixes the problem
<GraphQLCodeGenerationRoot>./dump</GraphQLCodeGenerationRoot>
Version
13.1.0
The text was updated successfully, but these errors were encountered: