CLI许可证检查 [英] CLI license check

查看:56
本文介绍了CLI许可证检查的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


似乎msbuild无法  重置 许可证订阅

宽限期
。这取决于定期使用Visual Studio。可以使用什么cli工具来重置宽限期?


我与VS支持人员讨论过这个问题。他让我联系Visual Studio订阅团队,他们让我在这里发帖。所以我希望这是正确的地方。


案例是,作为CI的一部分,我们访问Windows机器。现在msbuild已经停止工作了。本机配置了Visual Studio,有效的bizpark订阅和工作网络连接。

解决方案

Hi nedrebo,


感谢您在此发帖。


您的意思是MSBuild不会重新检查/重新设置宽限期吗?什么是Visual Studio的版本以及调用MSBuild的位置?


根据您的描述,似乎MSBuild没有重置许可订阅宽限期,但AFAIk,MSBuild不检查  Visual Studio的许可证订阅宽限期。您是否尝试重新安装视觉工作室?在重新安装之前,
请尝试强制删除Visual Studio的所有已安装组件,然后安装Visual Studio:


https://blogs.msdn.microsoft.com/heaths/2015/07 / 17 / removed-visual-studio-components-left-behind-a-uninstall /


希望这会有所帮助。


It seems msbuild is not able to reset the license subscription grace period. It depends on Visual Studio being used regularly. What cli tool can be use to reset the grace period?

I chatted with VS support regarding this issue. He asked me to contact Visual Studio Subscriptions Team, and they asked me to post here. So I hope this is the correct place for this.

The case is that as part of our CI we access a Windows machine. Now msbuild have stopped working. This machine is configured with Visual Studio, a valid bizpark subscription and a working network connection.

解决方案

Hi nedrebo,

Thanks for posting here.

Do you mean MSBuild not re-check/re-set the grace period? What is the version of your Visual Studio and where MSBuild is called from?

According to your description, it seems MSBuild not reset the license subscription grace period, but AFAIk, MSBuild not check the license subscription grace period for Visual Studio. Have you try to reinstall your visual studio? Before reinstall it, please try to forcibly removes ALL installed components of Visual Studio, then install the Visual Studio:

https://blogs.msdn.microsoft.com/heaths/2015/07/17/removing-visual-studio-components-left-behind-after-an-uninstall/

Hope this helps.


这篇关于CLI许可证检查的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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