News for hackers. Stuff that matters.
Re:Visual Studio 2017 Release Candidate by Maarten88 on Wednesday November 16, 2016 @11:02AM (#12968183)
One of the install options is "Linux development with C++"
Re:Visual Studio 2017 Release Candidate by LyalinDotCom on Wednesday November 16, 2016 @11:08AM (#12968262)
Yes our C++ team has been investing into this area for a while now, we're building some really powerful debugging capabilities there as just one thing to mention with remote debug right out to your Linux machine or VM
Re:Visual Studio 2017 Release Candidate by TheCoreh on Wednesday November 16, 2016 @11:55AM (#12968865)
Does that mean VS will support C11 features?
Re:Visual Studio 2017 Release Candidate by robotdad on Wednesday November 16, 2016 @03:35PM (#12971227)
The Linux workload is designed to work with GCC today, so whatever standard level your GCC compiler supports is good.
Re:Visual Studio 2017 Release Candidate by gcp on Wednesday November 16, 2016 @01:58PM (#12970168)
Does the clang frontend for their backend not address that already?
Re:Visual Studio 2017 Release Candidate by hubert123 on Wednesday November 16, 2016 @02:45PM (#12970716)
the debug mode is still starting up too slow, i dont know if it's possible to improve that but even if i disable copying sources it takes an additional ~5 seconds for it to work on the same machine (linux on a VM running in vmplayer with shared folders active)
Re:Visual Studio 2017 Release Candidate by sremani on Wednesday November 16, 2016 @11:16AM (#12968378)
That is the natural extension of Linux Subsystem on Windows.
Re:Visual Studio 2017 Release Candidate by robotdad on Wednesday November 16, 2016 @03:34PM (#12971212)
PM for this at MS. We do work with WSL but do not rely on it. Currently we treat it as another remote Linux machine, just setup SSH in WSL and we'll work
Re:Visual Studio 2017 Release Candidate by Matthias247 on Wednesday November 16, 2016 @05:13PM (#12972073)
Is this also integrated with the new Docker features that we saw in the live stream? I think being able to code in VS, build the project in ones favorite Linux distributions docker image and running or debugging it there sounds quite compelling.

If I develop in VS for a Linux target system how does VS know about the headers/libraries on the target?

Oh and a question that would surely interest some of my colleagues: Can it also be used to build and debug Linux kernel stuff, e.g. kernel modules?

Re:Visual Studio 2017 Release Candidate by robotdad on Monday November 21, 2016 @06:15PM (#13010190)
Enable ssh in your dockerfile and you are good to go there, see this one as an example: https://hub.docker.com/r/ducatel/visual-studio-linux-build-b...

Regarding headers/libs you would need to manage that yourself, I normally scp them down locally and add to my Intellisense paths.

Regarding the kernel that isn't something I've played with much, I've been able to load the source but I have not tried any debug scenarios there.