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
Description
When I try to re-create the REST API client code, I get the following error message: Could not find a part of the path 'C:\MyRepo\MySolution\MyApiClient\45ec2b05c06b4182a172523b42e8b5db\TempApiClient'.
Support Key: 14a9a75
Steps to reproduce
Create a new C# Class library project which targets .NET Standard 2.0 in Visual Studio 2019
Right-click on project and select Add > New REST API Client > Generate with OpenAPI
Enter URL of swagger.json
Enter Filename: OpenApiClient
Click OK
The error dialog is displayed
Click OK on the error dialog
The REST API client is generated anyway
Expected behavior
I didn't expect the error message to be displayed.
For example, if the directory is required to generate the client code, then it should automatically get created and then deleted after it's no longer needed.
Screenshots
Visual Studio Extension (please complete the following information):
Description
When I try to re-create the REST API client code, I get the following error message:
Could not find a part of the path 'C:\MyRepo\MySolution\MyApiClient\45ec2b05c06b4182a172523b42e8b5db\TempApiClient'.
Support Key:
14a9a75
Steps to reproduce
Expected behavior
I didn't expect the error message to be displayed.
For example, if the directory is required to generate the client code, then it should automatically get created and then deleted after it's no longer needed.
Screenshots
Visual Studio Extension (please complete the following information):
Additional context
Thank you.
Edit FYI, as a work-around, I'm now using https://devblogs.microsoft.com/aspnet/generating-http-api-clients-using-visual-studio-connected-services/ instead.
The text was updated successfully, but these errors were encountered: