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
I try to generate a c# client based on a swagger json file.
To do it, I use NSwag.ApiDescription.Client
When doing it the first time, a file is generated, but on consecutive updates, the client is not updated.
If I delete the file, it is not regenerated on build, even if I do dotnet build in a console.
Version used
NSwag.ApiDescription.Client Version=14.2.0
To Reproduce
To be able to regenerate again the client, I have to :
empty the nuget cache
there is a directory which still has data in it (C:\Users\[USER]\.nuget\packages), so I go in it
there is a folder microsoft.extensions.apidescription.client which cannot be deleted since a dll is used (C:\Users\[USER]\.nuget\packages\microsoft.extensions.apidescription.client\6.0.3\tasks\netstandard2.0\Microsoft.Extensions.ApiDescription.Client.dll)
I close rider
I delete the dll
I open rider
the nuggets packages are restored, and the client is automatically regenerated
Expected behavior
the client should always be regenerated on build.
Additional context
/
The text was updated successfully, but these errors were encountered:
I try to generate a c# client based on a swagger json file.
To do it, I use
NSwag.ApiDescription.Client
When doing it the first time, a file is generated, but on consecutive updates, the client is not updated.
If I delete the file, it is not regenerated on build, even if I do
dotnet build
in a console.Version used
NSwag.ApiDescription.Client Version=14.2.0
To Reproduce
To be able to regenerate again the client, I have to :
C:\Users\[USER]\.nuget\packages
), so I go in itmicrosoft.extensions.apidescription.client
which cannot be deleted since a dll is used (C:\Users\[USER]\.nuget\packages\microsoft.extensions.apidescription.client\6.0.3\tasks\netstandard2.0\Microsoft.Extensions.ApiDescription.Client.dll
)Expected behavior
the client should always be regenerated on build.
Additional context
/
The text was updated successfully, but these errors were encountered: