VB 2017安装问题。 [英] VB 2017 installation question.

查看:61
本文介绍了VB 2017安装问题。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1必须有用于安装VB 2017的指令,这将更改从C盘到​​学生M盘的保存默认值。 我们前几年有这个,所以我知道可以做到。 它必须用非常简单的术语写成
,以便IT能够理解如何操作。

1 have to have the instruction to use for the installation of VB 2017 which will change the Save default from the C drive to the student M drive.  We had this in previous years so I know it can be done.  It has to be written in very simple terms so that IT can understand how to do it.

推荐答案

使用您必须的用户界面转到工具>选项窗口,项目和解决方案>常规节点,项目位置。

Using the user interface you have to go to Tools > Options window, Projects and Solutions > General node, Projects location.

要以编程方式更改VS 2015,并且在使用此注册表值之前很容易:

To change that programmatically for VS 2015 and before it was easy using this registry value:

密钥:  HKEY_CURRENT_USER \ SOFTWARE \ Microsoft &\\VisualStudio \\\ 14.0

Key: HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\14.0

名称:DefaultXXXXLocation

Name: DefaultXXXXLocation

对于VS 2017来说要困难得多,因为私有注册表文件是用过的。请参阅我的帖子:

For VS 2017 is much more difficult because a private registry file is used. See my post:

Visual Studio 2017 for VSX开发人员新模块化设置的一些含义

http://www.visualstudioextensibility.com/2016/ 11/23 /对于新的模块化设置 - 视觉工作室 - 2017年 - 针对vsx开发者/ 的一些影响

Some implications of the new modular setup of Visual Studio 2017 for VSX developers
http://www.visualstudioextensibility.com/2016/11/23/some-implications-of-the-new-modular-setup-of-visual-studio-2017-for-vsx-developers/

(特别是外部进程部分无法直接读取Visual Studio 2017注册表项。)

(in especial the section External processes cannot read Visual Studio 2017 registry entries directly.)

因此,要么创建一个使用&absp;
RegLoadAppKey
功能或者为VS加载创建扩展启动并更改位置。

So, either you create an external process that uses the the RegLoadAppKey function or you create an extension for VS that loads on startup and changes the location.


这篇关于VB 2017安装问题。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆