conan-io / conan-vs-extension

Conan Extension for Visual Studio
https://marketplace.visualstudio.com/items?itemName=conan-io.conan-vs-extension
MIT License
58 stars 34 forks source link

Different libraries contain the same conan package, how to introduce it #252

Closed zhangshiyu12345 closed 1 month ago

zhangshiyu12345 commented 2 months ago

How do I have two libraries that contain Conan packages with the same name, now how do I introduce packages from one library in conandata.yml file to distinguish them?

czoido commented 2 months ago

Hi @zhangshiyu12345, Thanks for the question. Could you please elaborate a bit more on your use case? Libraries do not contain conan packages, do you mean the opposite? Do you have packages with the same name that contain different libraries?

zhangshiyu12345 commented 2 months ago

I now have two libraries, demo1 and demo2, both of which have a conan package called gang-test, and now I'm going to use the package from demo1 ,now how to distinguish between them in the conandata.yml

zhangshiyu12345 commented 2 months ago

Now I need to add both of the same name packages in demo1 and demo2 to the conandata.yml, how can this be fixed

czoido commented 2 months ago

Hi @zhangshiyu12345 ,

Hope this helps.

czoido commented 1 month ago

Hi @zhangshiyu12345, Is this still an issue o may we close the ticket? Thanks a lot!

czoido commented 1 month ago

Closing the ticket, please feel free to reopen or open a new one if you have any more questions.