我可以在没有管理员权限的情况下安装Visual

我可以在没有管理员权限的情况下安装Visual

本文介绍了我可以在没有管理员权限的情况下安装Visual Studio吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在没有管理员权限的计算机上使用.通过将程序的.zip文件解压缩到我在桌面上创建的目录中,我可以在没有管理员权限的情况下运行程序.但是,我找不到用于Visual Studio的.zip文件.

I use a machine where I don't have administrator rights. I've been able to run programs without admin rights by extracting the program's .zip file to a directory I have created on my desktop. However, I can't find such a .zip file for Visual Studio.

是否可以在没有管理员权限的情况下安装Visual Studio Community Edition?

Is there a way to install Visual Studio Community Edition without administrator rights?

推荐答案

实际上没有.Visual Studio(Express和更高版本,不包括VS Code)由多个组件组成,这些组件必须以管理员身份安装,并且您要调试的应用程序将需要该组件才能作为系统级组件使用.可能可以使用 ThinApp 或同等功能,但ThinApp甚至无法与 VS 2010 一起使用,到目前为止同类中最好的.

Practically no. Visual Studio (Express and above, excluding VS Code) consists of multiple components that must be installed as admin, and will be required for the app you're debugging to be available as system-wide component. It might be possible to use ThinApp or its equivalent, but ThinApp can't even work with VS 2010 and it was by far the best of its class.

在任何PC上获取VS的一种(资源密集型)替代方法是打包一个装有VS的VM,可以自己创建一个或获取现成的.如果您甚至无法安装Hyper-V工具,VirtuaBox可以作为便携式叉子使用.但这仍然需要安装内核驱动程序,这意味着至少需要一次管理员访问.取决于您的互联网连接和预算中,设置安装了VS的VPS,然后在那里远程安装可能更实用.

A (resource intensive) alternative to get VS on any PC will be packaging a VM with VS installed, either creating one yourself or get a ready-made ones. VirtuaBox is available as portable fork if you can't even get Hyper-V tools installed. But this still require kernel drivers installation, which means at least one-time admin access. Depending on your internet connection & budget, it might be more practical to setup a VPS with VS installed, then remote there.

这篇关于我可以在没有管理员权限的情况下安装Visual Studio吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-30 00:34