开发者

Can Visual Studio Express run from USB drive?

Using an arbitrary Windows machine (2000/XP or later), I can

  1. install Eclipse CDT to a USB drive

  2. move that USB drive onto a different Windows machine--one that does not have any form of Eclipse software already installed, and potentially a different version of Windows (but 2000/XP or later)

  3. use Eclipse to develop application-level C/C++ programs on that second machine (and that includes using the debugger), running directly from the USB drive without copying anything to C:.

I can do all this without having Administrator privileges on either machine.

I can do the same with NetBeans, and with several other IDEs that support C/C++ development.

Is it possible to do this with any version of Visual Studio Express?

If not, can you explain the te开发者_运维百科chnical reason(s) this doesn't work?


Eclipse is apparently designed to be what Microsoft calls an XCOPY deployment...meaning that it doesn't require any special entries in the Windows Registry (or any other "installation identity" on the target machine) in order to work properly.

Visual Studio is most decidedly not designed like this. It makes extensive modifications to the registry during installation, and those entries (and any other resources like special folder locations) will be missing on any other computer.

So you might be able to install Visual Studio on a thumb drive, but some artifacts of the installation will be put on the C: drive, and you will only be able to use the thumb drive with that machine.


Maybe you could install VS Express in a VM running from the USB drive using Portable VirtualBox or VMPlayer. Not the best performance but its usable for not too big projects or learning.


It can definitely be done! I've seen a technician with a copy of it on a USB stick. the only visible flaw was that when you run on a different PC it requires you to enter the license. I could not see any other problems (speed/debugger etc. it all worked on his copy). check this out: http://technet.microsoft.com/en-us/appvirtualization/dd334515.aspx I believe the virtualized package I saw was made by this means: http://spoon.net/Studio/ Unfortunately it would be matter of experimenting with it...

No VM or extra software was needed!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜