LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Visual Studio + Visual Micro in Debian? (https://www.linuxquestions.org/questions/linux-software-2/visual-studio-visual-micro-in-debian-4175602923/)

hellvetica 03-31-2017 08:24 AM

Visual Studio + Visual Micro in Debian?
 
Hello,
I'm a member of a robotics team based in Croatia. My whole team runs Win 10 and uses Visual studio 2015 (and lately 2017) to both write and manage our code (git) as well as the visual micro plugin for compiling and uploading to our microcontrollers.
I've had some very annoying issues with windows 10 and I all around just don't like the system so i recetly dual-booted a debian distro along side win 10.
I love it. I have everything that i need and more. The only thing that is stopping me from completely switching to linux is the fact that i need VS + Visual Micro for work.

I was wondering if there is some kind of an alternative to VS that can compile and upload c++ code to arduino/teensy microcontrollers and such as well as read the VS project files we already have.
Wine unfortunately doesn't have support for the most recent VS or visual micro.
I don't really like the idea of running a win vm just for coding so I'm trying to avoid that.
Is there maybe some kind of a linux ide that can open VS projects or a workaround for the issue?

All inputs and ideas are welcome :)
Thanks.

wpeckham 03-31-2017 09:16 AM

Visual Studio and tools have always been very closed source an proprietary Microsoft property. While still trying to steal $$$ from big users of any other operating system, they have been a bit more open recently.

To the point: there are WONDERFUL and Powerful IDE environments for Linnux that support MONO and .NET as well as C++ and C#, but none that I know of work with VS projects.

That said, I have heard good things about Mono Develop and using it to migrate VS projects. I have not tested it myself, and have NO idea how suitable it might be for your purpose.

I agree with you about the Win10 issues, and have long since dumped Windows for Linux. I can get away with that, as most of my development if FOR linux and I do not need to coordinate project code with anyone else. For your case, running a Windows VM may be th ONLY clean solution.

PS. An afterthought. You might look beyond your repos to the current wine maintainers versions. They often support more things, and better, than the older versions that are likely to be in your repository. Those guys are very good, and they occasionally make improvements much faster than the channels update.

hellvetica 03-31-2017 11:03 AM

Thanks for the reply.
I'll definitely look into monodevelop VS migration. If that doesn't work out, i'll give a VM a try with something like win 7. It'll probably work better than my curent win10 install.
I haven't looked too closely into wine and how the wine community works I've only used it for some basic stuff. I'll look into that as well.
If i find a suitable solution i'll report back, but I'll brobably end up running a vm.
Thanks

sundialsvcs 03-31-2017 04:56 PM

Quote:

Originally Posted by hellvetica (Post 5690877)
If i find a suitable solution i'll report back, but I'll brobably end up running a vm.

Basically, "you won't." Your team's activities are genuinely and properly tied to a Microsoft environment, and to the development environment specific to that.

I consider that there is no "business justification" to pursue trying to substitute for Visual Studio, and therefore, necessarily also Microsoft Windows (of some compatible version) in this context. I would rate your probability of success at zero: "don't waste your time on it."

So ... go ahead ... "put Windows where it properly belongs." On a virtual machine, under Linux. :D

(By the way, VirtualBox is an excellent VM monitor. Absolutely free, runs everywhere, and "is backed by Oracle Corporation." Yeah, "the humongous-database people ... Larry Ellison and all of that.")

Doug G 03-31-2017 05:17 PM

Have you tried Visual Studio for linux? https://code.visualstudio.com/docs/setup/linux

hellvetica 04-04-2017 10:24 AM

Quote:

Originally Posted by Doug G (Post 5691051)
Have you tried Visual Studio for linux? https://code.visualstudio.com/docs/setup/linux

That is Visual Studio Code, not Visual Studio. It's not and IDE it's just a fancy text editor with a lot of customization and plugin capabilities.
I managed to run arduino code on VS code with the platfromIO plugin but I haven't managed to run code that i already have. I'm getting a bunch of radnom errors from libraries written in python and some .json files. Not sure what's up with that.
Will keep trying though, I think i'm on the right track.

In the meantime, I'm installing a VM :)


All times are GMT -5. The time now is 04:39 PM.