Running Visual Studio 2012 Express c# from USB

11,828

Solution 1

It will not be possible to run any .Net program without installing .Net on the computer. Since both SharpDevelop and Visual Studio are .Net programs that need .Net installed on the machine.

I think you should consider using a virtual machine as suggested by @lc. I like and use Virtual Box

Solution 2

If you want to take the advantages of debugging or even executing your application you will require .NET to be installed on the computer. If that isn't possible then you have to resolve to a different approach like use notepad++ or using a virtual machine which needs to be able to run as a portalable software as well.

Alternative, if the computers have .NET installed there is a way to make SharpDevelop portable, take a look at http://laputa.sharpdevelop.net/SharpDevelopOnAMemoryStick.aspx

Share:
11,828
user1594328
Author by

user1594328

Updated on June 04, 2022

Comments

  • user1594328
    user1594328 over 1 year

    I recently joined a programming club at my highschool, and wanted to be able to use usb to run Visual Studio 2012 c# Express Edition from their laptops. I don't want to change any of the actual computer files because it is against the rules. After searching on google, it seems like this task is rather difficult to accomplish. So, I decided to look at some other IDEs and found SharpDevelop. Does anybody know if SharpDevelop can be run from a usb on a computer that does not have .NET?

    Thanks.

  • Daniel Powell
    Daniel Powell about 11 years
    Still might be an issue if .net itself isn't installed but I find it hard to believe that it wouldn't be seeings as from memory from XP onwards some version of .net is included with windows
  • coolmine
    coolmine about 11 years
    I don't think you have any options if .NET isn't installed since in order to debug your programs .NET is required. If you simply want to code without debugging you could always use notepad++
  • Ken White
    Ken White about 11 years
    @DanielPowell: .NET didn't become a part of a standard install until XP SP2 was released. It's possible the school is running an earlier version of XP (or hasn't updated to a recent .NET version, because XP SP2 was released with .NET 1.0, IIRC).
  • Ken White
    Ken White about 11 years
    @CooLMinE: The question was "Can I run SharpDevelop from a USB drive on a computer that does not have .NET?" - you didn't answer that question at all.
  • coolmine
    coolmine about 11 years
    Indeed Ken, my attention span didn't last long enough to read the few remaining words. Thought trying to program in c# without .NET might be a bit tricky. You either have to use a virtual machine which on it's own needs to be portable software as well, or just have no debugging at all.
  • Admin
    Admin over 10 years
    well if you don't have .net on the PC, but the application you are running has all the .NET runtime DLL's with it in the app directory... then it will work.