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
Describe the bug
I have a project where I already have Refit 7.0.0 as a transient package reference from including Refit.HttpClientFactory (although almost nay other package or project could theoretically also bring Refit into the transient dependency list), but every time I regenerate the code from the .refitter file, Refit is re-added and there is no need to.
Support Key: ecbee24
To Reproduce
Steps to reproduce the behavior:
Create a project
Add Refit.HttpClientFactory as a package reference
Add a refitter file and generate
remove the Refit 7.0.0 package reference
Right click the .refitter file and 'Generate Refitter output'
Expected behavior
The tool to recognise that the Refit dependency is already met and not add it explicitly
Screenshots
n/a
Visual Studio Extension (please complete the following information):
Visual Studio Version: 2022, 17.10.2
REST API Client Code Generator: 1.10.3
Additional context
This is quite a low priority issue, but I expect it can also happen with any of the other code generators not just Refit.
The text was updated successfully, but these errors were encountered:
@dammitjanet I unfortunately completely forgot about this. For now, you can disable the feature Automatically installing missing NuGet packages under the Tools -> Options -> REST API Client Code Generator
I'm considering removing the NuGet-related features in my extension as the dependencies required for NuGet integration rely on ancient Visual Studio COM libraries, preventing me from making a single VSIX package that supports multiple versions of Visual Studio.
Describe the bug
I have a project where I already have Refit 7.0.0 as a transient package reference from including Refit.HttpClientFactory (although almost nay other package or project could theoretically also bring Refit into the transient dependency list), but every time I regenerate the code from the .refitter file, Refit is re-added and there is no need to.
Support Key:
ecbee24
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The tool to recognise that the Refit dependency is already met and not add it explicitly
Screenshots
n/a
Visual Studio Extension (please complete the following information):
Additional context
This is quite a low priority issue, but I expect it can also happen with any of the other code generators not just Refit.
The text was updated successfully, but these errors were encountered: