如何更改Azure本地部署目录

如何更改Azure本地部署目录

本文介绍了如何更改Azure本地部署目录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何更改默认的Azure SDK本地部署目录吗?

I would like to know how to change default Azure SDK local deploy directory?

默认的Azure SDK本地部署目录为 C:\ Users \ username \ AppData \ Local \ dftmp * ,但我想更改它.我已经用谷歌搜索了,但是没有成功.

Default Azure SDK local deploy directory is C:\Users\username\AppData\Local\dftmp*, but I would like to change it. I have already google it, but with no success.

你能帮我吗?

推荐答案

您需要将环境变量_CSRUN_STATE_DIRECTORY设置为将构建输出部署到的位置.请参见此处

You need to set the environment variable _CSRUN_STATE_DIRECTORY to location where the output of the build would be deployed. See here

更新:由于链接已断开.设置环境变量

Update: Since the link is broken. To set environment variable

右键单击计算机",选择属性",高级系统设置"和环境"变量,然后设置_CSRUN_STATE_DIRECTORY环境变量.重新启动后,您将不会遇到问题...

Right clicking Computer, selecting Properties, Advanced System Settings, and Environment variables and setting the _CSRUN_STATE_DIRECTORY environment variable. After rebooting you will not encounter the issue…

这篇关于如何更改Azure本地部署目录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-25 08:38