question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support Visual Studio 2017

See original GitHub issue

It’s pretty simple, see: https://github.com/conan-io/conan/pull/777

Also just a suggestion but VS2017 might make a good topic for a blog post due to it’s new CMake integration, which appears to be incompatible with Conan on first glance but can be tweaked to work with it.

VS2017 supports using CMake directly (as in you can just open a folder with a CMake file and it figures everything out without having to create a solution file). The problem is VS generates the build directory in some unique directory that cannot be predicted. That can be resolved easily by opening up the file CMakeSettings.json (created by Visual Studio when it first tries to open the folder) and changing the ‘buildRoot’ property to the path to any build directories you’d typically create manually (where you’d be able to run conan install).

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
NokiDevcommented, Jan 23, 2018

Hi @ForNeVeR I took a first look of your Vs-extension earlier this afternoon, it seems really nice. I haven’t understood some of your UI/label choices. I’ll be happy to talk about it, but isn’t the place to.

Based on what I saw it won’t be a big problem to integrate with CMake based project since logically conan is build system agnostic. In fact it should work with both, at the first layer of implementation and then be specialized with custom features. I’ll probably make a PR this Week end if I have some free time

0reactions
ForNeVeRcommented, Jan 23, 2018

@NokiDev FYI: I am one of conan-vs-extension authors (it’s a draft of Visual Studio plugin that helps to work with Conan), and it already does somewhat what you describe: calls conan install for each project configuration (check out the docs and ask me any questions if you want), and also adds a small level of integration to project files.

Unfortunately, currently it works only for vcxproj-based projects, but we definitely want to support CMake-based integration, too (and maybe it’ll be easy to add).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Visual Studio 2017 - Microsoft Lifecycle
Support Dates ; Visual Studio 2017, Mar 7, 2017, Apr 12, 2022 ...
Read more >
Technical Support & FAQs | Visual Studio IDE - Microsoft
Get help with common Visual Studio installation issues, download and installation, licensing and purchasing, and support policies.
Read more >
Support ends for older versions of Visual Studio
Visual Studio 2017 : mainstream support ends April 12, 2022, and the product will transition to extended support until April 2027.
Read more >
Support Overview - Visual Studio
All of the help you need for Visual Studio product support pages. FAQs and articles for Visual Studio IDE, VSTS, Code and more....
Read more >
Visual Studio Product Lifecycle and Servicing Archive
For example, Visual Studio 2017 was released in 2017; its support lifecycle will end in April 2027. Servicing for these products is ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found