Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to get visual studio working in Unity (via Wine) without using any virtual machine or other Desktop Environment alternatives.

I am convinced Visual Studio is the ultimate IDE for .Net programming languages. I'm not necessarily for dual booting.

I have been working more than 10 years on visual studio and I prefer it over other IDEs. I have tried other IDEs but they didn't work too well for me.

Does anyone know a way to get this working natively?

share|improve this question
    
I think dual boot or a Virtual Machine will save you alot trouble. –  CoalaWeb Oct 1 '12 at 13:59
1  
@kamil Nobody got anything made/tweaked by unpaid FOSS devs by demanding it. –  hbdgaf Oct 4 '12 at 16:28
    
I use XP VM's for things like this. If you disable all non-essential services in the VM, then you easily run a XP VM with only 512MB RAM, and link the VM to the host via a shared folder. Tested with VS 2008-2012, all ran flawlessly. –  aggregate1166877 Oct 27 '13 at 10:50
add comment

4 Answers

up vote 9 down vote accepted

You can try Wine, but per the Wine application database, Visual Studio generally works poorly under Wine:

From this Wine site page:

What works
nothing, install fails

What does not
n/a

What was not tested
n/a

http://appdb.winehq.org/objectManager.php?sClass=application&iId=892

share|improve this answer
    
Sorry, none that I know about other than Wine :( –  roadmr Oct 5 '12 at 16:29
add comment

You can use the Mono Development IDE to write .NET code in Ubuntu, rather than trying to use a Microsoft product in a non-Microsoft OS (which others have rightly pointed out is never going to be supported, easy, or in MS' best interests).

It has most of the features of Visual Studio, and will run faster and be more stable.

To install monodevelop, use this command in a terminal:

sudo apt-get install monodevelop

Monodevelop Home page: http://monodevelop.com/

share|improve this answer
6  
I use monodevelop everyday, it works well for me. –  trampster Oct 2 '12 at 9:34
3  
"buggy and lack of features" is exactly what you would get from trying to run Visual Studio in Ubuntu - you will have to either make a compromise somewhere or stick with MS Windows as your OS. –  ImaginaryRobots Oct 2 '12 at 21:11
    
MonoDevelop is still unable to open Visual Studio 2012 solution and project files :(. –  Erwin Mayer Oct 27 '12 at 18:48
add comment

You could try MonoDevelop, which is a clone of VisualStudio, but it hasn't as much features. MonoDevelop uses the Mono framework, a platform-independent implementation of C# and the CLI, but it's not fully compatible with .NET. You will have to port your .NET applications to Mono. At least you have to rewrite the UI, WPF isn't included in Mono and Winforms is crappy on Linux.

Although there are some Linux applications written in C# (Banshee, Tomboy, Pinta, PDFMod, Smuxi), .NET/Mono isn't very popular on Linux. It's not officially supported by Microsoft, and the developers of Mono (Xamarin) are actually focusing on mobile devices (Android, iOS) and not the Linux desktop. I recommend you to switch to another IDE and programming language that is fully supported on Linux. If you really can't live without .NET (e.g because you make your living writing .NET programs), you have to keep using Windows, because that's the only platform it supports.

share|improve this answer
1  
Don't get me wrong, Mono is not a bad framework and MonoDevelop is not a bad IDE, but don't expect it to be fully compatible with .NET and Visual Studio. It's like switching from Microsoft Office (<= 2003) to LibreOffice, most of it is the same, but not everything. –  user244 Oct 2 '12 at 16:20
add comment

Sorry to give you the wrong answer, but I really doubt this will ever be truly supported.

Some people might actually get it working someday, but Microsoft will most certainly never support this officially; or even make things easy for the community, for that matter. From what I know, running the MS Office suite itself is horribly painful, it becomes more difficult with each new version.

Don't take it personally. Business is business. And their share on development is not on supporting the opensource community. For all they care, they strive on making their tools less and less compatible overtime.

If you really need this inside Linux, the best choice would be to have Windows in a Virtual Machine.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.