Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: VB.Net app built on VS2010 possible on Ubuntu?

  1. #1
    Join Date
    Feb 2011
    Location
    Uttoxeter, UK
    Beans
    12
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Question VB.Net app built on VS2010 possible on Ubuntu?

    Hi all

    I am new to Ubuntu and want a small program i wrote in vb to use on a Ubuntu laptop.

    I have instaled Wine but cant seem to get the clickonce .application file to run or install.

    Any ideas?

    Cheers!

    Steve

  2. #2
    Join Date
    Aug 2007
    Location
    Manchester, UK
    Beans
    10,285
    Distro
    Ubuntu

    Re: VB.Net app built on VS2010 possible on Ubuntu?

    You may be able to run your application using Mono and MonoDevelop, but there's no guarantees

  3. #3
    Join Date
    Oct 2006
    Location
    /dev/null
    Beans
    1,574
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: VB.Net app built on VS2010 possible on Ubuntu?

    You can't use ClickOnce files, and there's no support for .NET 4.0 YET in Ubuntu (it's coming)

    A .NET 3.5 app should run with Mono.
    Understanding is a three-edged sword: Your side, their side, and the truth

  4. #4
    Join Date
    Feb 2011
    Location
    Uttoxeter, UK
    Beans
    12
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: VB.Net app built on VS2010 possible on Ubuntu?

    Thanks for the info.

    Ok so no go with the clickonce, can VS2010 publish into an .exe file and can that run on Wine?

    Have downloaded monodevelop but cant seem to run my .sln files from with in that....

    steve

  5. #5
    Join Date
    Apr 2009
    Location
    Maldives
    Beans
    28
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: VB.Net app built on VS2010 possible on Ubuntu?

    Mono is the way, but if you want to use wine to run the compiled exe, you have to make it executable and just double click, and pray everything goes ok!

    truth is success depends on a lot of things! so be more specific...

  6. #6
    Join Date
    Oct 2006
    Location
    /dev/null
    Beans
    1,574
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: VB.Net app built on VS2010 possible on Ubuntu?

    Quote Originally Posted by EccentricDyslexic View Post
    Ok so no go with the clickonce, can VS2010 publish into an .exe file and can that run on Wine?
    No. Wine can only run Windows PE executables. VB.NET can only be compiled to a .NET assembly, which you run with Mono.
    Understanding is a three-edged sword: Your side, their side, and the truth

  7. #7
    Join Date
    Apr 2009
    Location
    Maldives
    Beans
    28
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: VB.Net app built on VS2010 possible on Ubuntu?

    thanks for the clarification, i guess than EccentricDyslexic can try and import the project to monodevelop and compile...

    thanks again.

  8. #8
    Join Date
    Oct 2006
    Location
    /dev/null
    Beans
    1,574
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: VB.Net app built on VS2010 possible on Ubuntu?

    Quote Originally Posted by shunan View Post
    thanks for the clarification, i guess than EccentricDyslexic can try and import the project to monodevelop and compile...

    thanks again.
    An executable (i.e. .exe file) compiled with Visual Studio.NET will run on Ubuntu. As long as it doesn't need .NET 4.0

    It doesn't help clear things up when PE files (.exe) have the same extension as .NET assemblies (.exe) even though they're not even remotely the same thing.
    Understanding is a three-edged sword: Your side, their side, and the truth

  9. #9
    Join Date
    Feb 2011
    Location
    Uttoxeter, UK
    Beans
    12
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: VB.Net app built on VS2010 possible on Ubuntu?

    Will need a bit of a walk through with this guys!

    I have a vb.net app that i wrote with vs2010. i have the .sln file and its associated folders. If i publish it i get a clickonce file.

    I am not bothered about using Wine, i just want to run my program on a machine with Ubuntu.

    I have mono and monodevelop on my windows PC but cant make head nor tale of how to move forward...do i need them on the Ubuntu machine too? or maybe just mono? if so how do i run my program with it?

    Help! lol

    Steve

  10. #10
    Join Date
    Oct 2006
    Location
    /dev/null
    Beans
    1,574
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: VB.Net app built on VS2010 possible on Ubuntu?

    Quote Originally Posted by EccentricDyslexic View Post
    Will need a bit of a walk through with this guys!

    I have a vb.net app that i wrote with vs2010. i have the .sln file and its associated folders. If i publish it i get a clickonce file.

    I am not bothered about using Wine, i just want to run my program on a machine with Ubuntu.

    I have mono and monodevelop on my windows PC but cant make head nor tale of how to move forward...do i need them on the Ubuntu machine too? or maybe just mono? if so how do i run my program with it?

    Help! lol

    Steve
    A ClickOnce file is no use to you. You can't use it on Ubuntu.

    Take the .exe files and .dll files produced by your solution, copy them to your Ubuntu system, and run "mono foo.exe"

    Report back on any errors.
    Understanding is a three-edged sword: Your side, their side, and the truth

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •