Open dammitjanet opened 3 months ago
@dammitjanet thanks for taking the time to report this. I'll see what I can do
@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.