Visual Studio Express 可以从 USB 驱动器运行吗?

发布于 2024-09-02 11:28:15 字数 481 浏览 0 评论 0原文

使用任意 Windows 计算机(2000/XP 或更高版本),我可以

  1. 将 Eclipse CDT 安装到 USB 驱动器

  2. 将该 USB 驱动器移动到另一个驱动器 Windows 机器——一台没有 拥有任何形式的 Eclipse 软件 已安装,并且可能是不同版本的 Windows(但 2000/XP 或更高版本)

  3. 使用 Eclipse 在第二台计算机上开发应用程序级 C/C++ 程序(包括使用调试器),直接从 USB 运行驱动器,而不将任何内容复制到 C:。

我可以在任何计算机上完成这一切,而无需拥有管理员权限。

我可以使用 NetBeans 以及其他几个支持 C/C++ 开发的 IDE 执行相同的操作。

是否可以使用任何版本的 Visual Studio Express 来执行此操作?

如果没有,您能解释一下这不起作用的技术原因吗?

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 technical reason(s) this doesn't work?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

萌︼了一个春 2024-09-09 11:28:15

Eclipse 显然被设计为 Microsoft 所说的 XCOPY 部署...这意味着它不需要 Windows 注册表(或目标计算机上的任何其他“安装标识”)中的任何特殊条目才能正常工作。

Visual Studio 绝对不是这样设计的。它在安装过程中对注册表进行大量修改,并且这些条目(以及任何其他资源,如特殊文件夹位置)在任何其他计算机上都将丢失。

因此,您也许可以在拇指驱动器上安装 Visual Studio,但安装的一些工件将放在 C: 驱动器上,并且您只能在该计算机上使用拇指驱动器。

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.

来日方长 2024-09-09 11:28:15

也许您可以使用 Portable VirtualBox 或 VMPlayer 在从 USB 驱动器运行的 VM 中安装 VS Express。不是最好的性能,但它可用于不太大的项目或学习。

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.

っ左 2024-09-09 11:28:15

绝对可以做到!我见过一位技术人员在 U 盘上保存了一份该文件的副本。唯一明显的缺陷是,当您在另一台电脑上运行时,它要求您输入许可证。我看不到任何其他问题(速度/调试器等。这一切都适用于他的副本)。
看看这个:
http://technet.microsoft.com/en-us/appvirtualization/dd334515.aspx
我相信我看到的虚拟化包是通过这种方式制作的:
http://spoon.net/Studio/
不幸的是,这需要进行试验...

不需要虚拟机或额外的软件!

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!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文