我在我的电脑上安装了本应免费的VS Community 2017, 30天后我收到VS的消息,说我的许可证过期了。

执照吗?过期了吗?我原以为社区版是“永远免费”的,所以才打上了“社区”的标签。这是怎么呢我试着用我的outlook.com账户登录,但它说“出了问题”,然后又回到了同一个屏幕。

我如何获得一个完全免费的VS 2017版本,以便我可以在我的自由/开源软件项目中工作?


当前回答

我正在使用Visual Studio Professional授权的MAPS动作包订阅。由于微软合作伙伴中心的新版本必须将订阅用户添加到合作伙伴福利软件中。

合作伙伴中心->福利->Visual Studio订阅->添加用户

在那之后,一个人必须退出,并重新输入凭证在VS的帐户设置。

其他回答

I had this problem. Signing in or pressing the "Check for an updated license" link did not work for me. My solution was to restart Visual Studio, try again (sign in and check for license). Restart Visual Studio, try again. I had to do this several times and then it worked! (I also tried pressing the "File" menu that is available for a short period of time before the annoying request window appears again.) Maybe you just don't get connected to the server or the server itself doesn't update its database fast enough.

对我来说,这是最简单的解决方案——我只需要以管理员身份运行visual Studio。

这是小事,但我在任何地方都没有看到这一点。

对我来说,问题实际上是我把机器弄坏了。配置和看起来像VS不能有一个连接 我在machine.config中添加了以下代码行

<!--
<system.net>
 <defaultProxy>
  <proxy autoDetect="false" bypassonlocal="false" proxyaddress="http://127.0.0.1:8888" usesystemdefault="false" />
 </defaultProxy>
</system.net>
<!--
-->

将前一节替换为:

<!--
<system.net>
 <defaultProxy>
  <proxy autoDetect="false" bypassonlocal="false" proxyaddress="http://127.0.0.1:8888" usesystemdefault="false" />
 </defaultProxy>
</system.net>
-->

VS开始工作。

就我而言,我已经注册了。所以我不得不签出,然后再签入。

在西班牙语中,Cerrar会议是签字退出。

另一个答案,当你有一台机器,你没有互联网连接,不能登录,在这里- https://dimitri.janczak.net/2019/07/13/trial-period-reset-of-visual-studio-community-edition/。

这些文件在github - https://github.com/1Dimitri/VSCELicense/releases/tag/1.0上。

从自述文件:

原有模块使用情况

下载/克隆这个存储库 以管理员身份运行PowerShell.exe 导入模块: 导入模块名称X:\PATH\TO\VSCELicense

用法:

Get Visual Studio Community Edition license expiration date
Get-VSCELicenseExpirationDate -Version VS2019
Set license expiration date to current date + 10 days
Set-VSCELicenseExpirationDate -Version VS2019 -AddDays 10