来自Server 2012 R2的任务计划程序的Devenv [英] Devenv from Task Scheduler, Server 2012 R2

查看:78
本文介绍了来自Server 2012 R2的任务计划程序的Devenv的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个计划的任务设置,可以自动运行一个夜间构建.当我登录到服务器并从任务计划程序"菜单中选择运行任务"时,它工作正常.但是,当我注销并在一天中的某个时间触发任务时, 使用DEVENV的内部版本,则收到一条消息,提示Visual Studio许可证已过期.同样,登录后,我可以启动DEVENV,加载解决方案并通过IDE进行构建.帮助->关于表示该软件已获得许可. 运行为" 用于计划任务的是我的域帐户,这就是我登录服务器的方式.

I have a scheduled task setup to run a nightly build automatically.  It works fine when I'm logged on to the server and select run task from the Task Scheduler menu.  However, when I logoff and the time of day triggers the task, the parts of our build that use DEVENV, get a message that the Visual Studio license has expired.  Again, when logged on, I can bring up DEVENV, load the solution and build it from the IDE.  Help->About shows the software is licensed.  The "run as" for the scheduled task is my domain account, which is how I logon to the server. 

这是Studio 2015 Update 1.

This is Studio 2015, Update 1.

有什么建议吗?

推荐答案

丹尼,

谢谢您的发帖.

首先,您可以尝试 devenv

Firstly, you could try devenv.exe /resetuserdata command.

然后使用您的Microsoft帐户登录VS,如果您的VS不是Community或Express Edition,请输入加载VS许可证的产品.

Then log on VS with your Microsoft account , then if your VS is not Community or express edition, please type the product to load the VS license.

最好的问候,


这篇关于来自Server 2012 R2的任务计划程序的Devenv的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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