Recently I updated my visual studio to the latest version of 17.5.1 and my target sdk version is NET 7.0 SDK (v7.0.102). Now I have a build error stating that "access to the path 'obj\berry' is denied". Anyone got the same error and suggestion to fix this issue?
c# .net build error due to strawberry shake graphql client error - "access to the path 'obj\\berry' is denied"
2.1k Views Asked by Hash_Dew At
2
There are 2 best solutions below
0
Björn F
On
This is a problem when using v12 of StrawberryShake with later versions of VS2022. I can be worked around by adding the following line to a PropertyGroup in your .csproj file
<StrawberryShake_State>$(MSBuildProjectExtensionsPath)berry</StrawberryShake_State>
This has been fixed in v13, and is no longer necessary. I should mention there are however other issues in v13, that's not present in v12 with regards to the client. So I would urge you to have a look at the Github Issues list before upgrading to fix this minor issue.
Related Questions in C#
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
- gcc static library compilation
- How to do a case-insensitive string comparison?
- C programming: Create and write 2D array of files as function
- How to read a file then store to array and then print?
- Function timeouts in C and thread
Related Questions in .NET
- Does compiler optimize operation on const variable and literal const number?
- What is the point of definnig Asp.net Intrinsic Objects In different places and what is the different betwen them?
- Deleting Orphans with Fluent NHibernate
- IOrderedEnumerable to vb.net IOrderedEnumerable Conversion
- What is this namespace ITypeOfObjectsBoundToListBox ? Couldn't find it
- .net rest service with JSON string and consumed with java client
- What is best way to check if any of the property of object is null or empty?
- Telerik's WPF RadColorPicker NoColorText property not working
- Possible consequences of duplicate ProgId for different classes
- How are multiple requests to Task.Run handled from a resource management standpoint?
- Optimizing C++ call from C#
- Make a per-web-application object available to Web API and SignalR controllers
- System.ComponentModel.DataAnnotations.Schema namespace conflict
- LINQ Except/Distinct based on few columns only, to not add duplicates
- Not displaying content by its URL string - absolute urls
Related Questions in GRAPHQL
- How to define Relay fragment for GraphQLList of GraphQLObjectType?
- relayjs: Attempted to add an ID already in GraphQLSegment:
- Authorization in GraphQL servers
- How does graphql-java library execute Relay requests?
- GraphQL or REST
- relayjs and graphql error: Error: "Node" expects field "id"
- unable to render nested props from Github's GraphQL
- Single-Page App Sharing Relay Variables
- Relay and ReactJS give an error when connecting to Github's GraphQL
- Why does Relay need a mutation id to reconcile GraphQL mutations?
- GraphQL mutation operation in single transaction
- Documenting GraphQL short-hand model
- How to build a GraphQL API on top of a Django/Elasticsearch/MySQL backend?
- How to get all user model with GraphQL
- How to fetch data with apollo and react native
Related Questions in STRAWBERRY-GRAPHQL
- Dynamic Python Function Generation from GraphQL Schema for API Requests
- Optimizing Strawberry GraphQL API Performance: How to bypass object Instantiation for Pre-Formatted JSON from PostgreSQL?
- Strawberry (python) directives for role-based authentication
- Strawberry GraphQL return dict
- Annotate return type in Strawberry GraphQL Query
- Can the same graphql schema be used across multiple strawberry fastapi routers?
- Strawberry with social_django
- FastAPI + Strawberry GraphQL Filter Conditions
- How can I reduce the number of database queries for a one to many association in Strawberry GraphQL and FastAPI?
- Problem combining FastAPI dependency and Strawberry GraphQL context
- Generic container type with Strawberry GraphQL
- Cannot import name 'GraphQL' from 'strawberry.fastapi'
- AttributeError: module 'strawberry.experimental' has no attribute 'pydantic'
- Sqlalchemy - FastAPI with strawberry Relational Column MySQL
- model node-relation in graphql api in python
Related Questions in STRAWBERRYSHAKE
- StrawberryShake graphql init command return Object reference not set to an instance of an object
- No client is generated with StrawberryShake
- Detect and handle when StrawberryShake Subscription connection wasn't successful
- How to generate C# scripts from GraphQL properly with Strawberry Shake in a Blazor Project
- Getting ambiguity issues (CS0121) with auto generated code from StrawberryShake (GraphQL)
- StrawberryShake and receiving data from graphql with brotli compression
- StrawberryShake - Disable regenerating client code at each build
- HotChocolate mutation input type uses int instead of ID
- GraphQL Strawberry Shake client execution strategy
- Strawberry Shake graphql init - use ssl certificate
- C# .Net build failure due to strawberryshake error - Method not found: 'Void StrawberryShake.CodeGeneration.CSharp.CSharpGeneratorSettings
- Strawberry Shake Code Generation cannot resolve type reference 'None:Any'
- Nuget package is not compatible, but in the supported-list (StrawberryShake.Tools)
- 'ServiceCollection' does not contain a definition for 'AddStrawberryShakeClient'
- StrawberryShake: Generating classes using a client that needs token authentication
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
No idea if this is still an issue for you or not. I just had the problem this morning & couldn't figure it out. Tried closing studio & reopening it "as an admin" & that resolved the issue. It looks like the v17.5.x releases have added extra security ♀️