Skip to content

Commit 7d2fc49

Browse files
jgsogodanimtb
authored andcommitted
Conan Extension for Visual Studio (conan-io#1312)
* lines about VS extension after conan-io#1308 * Apply suggestions from code review Co-Authored-By: Daniel <danimanzaneque@gmail.com>
1 parent ad94d26 commit 7d2fc49

File tree

2 files changed

+38
-6
lines changed

2 files changed

+38
-6
lines changed
50.4 KB
Loading

integrations/ide/visual_studio.rst

Lines changed: 38 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,42 @@
55
___________________________
66

77

8-
Visual Studio Plugin
9-
====================
8+
Conan Extension for Visual Studio
9+
=================================
1010

11-
Coming soon!
11+
Thanks to the invaluable help of our community we manage to develop and maintain a free
12+
extension for Visual Studio in the Microsoft Marketplace, it is called **Conan Extension
13+
for Visual Studio** and it provides integration with Conan using the
14+
:ref:`Visual Studio generators <visualstudio_generator>`.
15+
16+
.. image:: ../../images/visual_studio/marketplace-header.png
17+
:width: 90%
18+
:alt: Conan Extension for Visual Studio in the Microsoft marketplace
19+
20+
You can install it into your IDE using the **Extensions manager** and start using it right
21+
away. This extension will look for a *conanfile.py* (or *conanfile.txt*) and retrieve the
22+
requirements declared in it that match your build configuration (it will build them from
23+
sources if no binaries are available).
24+
25+
.. note::
26+
27+
**Location of the conanfile**
28+
29+
In version ``1.0`` of the extension, the algorithm to look for the *conanfile.py* (preferred)
30+
or *conanfile.txt* is very naïve: It will start looking for those files in the directory
31+
where the **Visual Studio project file** is located and then it will walk recursively into
32+
parent directories to look for them.
33+
34+
35+
The extension creates a property sheet file and adds it to the project, so all the
36+
information from the dependencies handled by Conan should be added (as inherited properties)
37+
to those already available in your projects.
38+
39+
At this moment (release ``v1.0.x``) the extension is under heavy development, some behaviors may
40+
change and new features will be added. You can subscribe to `its repository`_ to stay updated and,
41+
of course, any feedback about it will be more than welcome.
42+
43+
.. _`its repository`: https://github.com/conan-io/conan-vs-extension
1244

1345

1446
General Integration
@@ -19,6 +51,6 @@ Check the :ref:`MSBuild() integration<msbuild_integration>`, that contains infor
1951
generators to be used with Visual Studio.
2052

2153

22-
23-
24-
.. |visual_logo| image:: ../../images/visual-studio-logo.png
54+
.. |visual_logo| image:: ../../images/visual-studio-logo.png
55+
:width: 100 px
56+
:alt: Visual Studio logo

0 commit comments

Comments
 (0)