ChilliCream / graphql-platform

Welcome to the home of the Hot Chocolate GraphQL server for .NET, the Strawberry Shake GraphQL client for .NET and Banana Cake Pop the awesome Monaco based GraphQL IDE.
https://chillicream.com
MIT License
5.28k stars 748 forks source link

bin\berry access denied #5975

Closed dameeks closed 1 year ago

dameeks commented 1 year ago

Is there an existing issue for this?

Product

Strawberry Shake

Describe the bug

Access denied on bin\berry when trying to build

Steps to reproduce

After following the documentation to get the demo StrawberryShake client created. I run into the following error when I attempt to build the project:

$ dotnet build
MSBuild version 17.5.0+6f08c67f3 for .NET
  Determining projects to restore...
  All projects are up-to-date for restore.
CSC : error SS0006: Access to the path 'C:\Program Files\dotnet\sdk\7.0.202\Roslyn\bincore\obj\berry' is denied. [C:\projects\Demo\Demo\Demo.csproj]

Build FAILED.

CSC : error SS0006: Access to the path 'C:\Program Files\dotnet\sdk\7.0.202\Roslyn\bincore\obj\berry' is denied. [C:\projects\Demo\Demo\Demo.csproj]
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:01.42

Relevant log output

No response

Additional Context?

No response

Version

13.0.5

michaelstaib commented 1 year ago

Are you using the source generator?

Can you maybe post the Strawberry Shake Packages you are using ... it looks like you are using the V12 Source Generator.

michaelstaib commented 1 year ago

If you properly migrated there should only be a single Strawberry Shake Package.

dameeks commented 1 year ago

I removed all packages and added just StrawberryShake.Maui and it is building correctly now. Thanks.

michaelstaib commented 1 year ago

Awesome!