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

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

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


当前回答

A.如果您还没有登录,请登录。

B.如果已经登录,请单击帐户设置页面上的链接检查更新的许可证。

C. "We could not download a license. Please ensure your accounts are authenticated." If this message is encountered, sign out and sign back in. You can either sign out by clicking on the Sign out link and then signing back in by clicking on the account icon in the upper right corner of Visual Studio. Or you can just click the link Reenter your credentials. This link is a good indication that your account is not synced up with Microsoft servers and the error message is right in that your account is not authenticated and the license cannot be refreshed.

一旦您重新登录并成功验证了帐户,您将看到“重新输入您的凭据”链接消失了。这是一个很好的指示,表明您现在可以继续并刷新许可证了。如果没有自动完成,您可以再次单击“检查更新的许可证”链接。这一次,您将看到一个简短的确认消息,并将列出您的相关电子邮件地址。

Signing in is inevitable if you want to get rid of this annoying warning. But even if you have always been signed from day one, you may still run into this warning. Based on my experience, this may happen if you have recently changed the password for your account, or you have added 2FA (two step verification) to your account, or you have reset the recovery code for the account and with it the app passwords. It may also have to do with inactivity or the recent changes Microsoft has been making to the "sign in experience" for Microsoft accounts.

不管原因是什么,登录或退出,然后再登录似乎是解决这种烦恼的最佳方法。

其他回答

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

在西班牙语中,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

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.

为了绕过“30天内必须在线登录”,登录一次微软帐户,你会得到%LocalAppData%\Microsoft\VSCommon\OnlineLicensing文件夹,你可以复制到离线电脑。

A.如果您还没有登录,请登录。

B.如果已经登录,请单击帐户设置页面上的链接检查更新的许可证。

C. "We could not download a license. Please ensure your accounts are authenticated." If this message is encountered, sign out and sign back in. You can either sign out by clicking on the Sign out link and then signing back in by clicking on the account icon in the upper right corner of Visual Studio. Or you can just click the link Reenter your credentials. This link is a good indication that your account is not synced up with Microsoft servers and the error message is right in that your account is not authenticated and the license cannot be refreshed.

一旦您重新登录并成功验证了帐户,您将看到“重新输入您的凭据”链接消失了。这是一个很好的指示,表明您现在可以继续并刷新许可证了。如果没有自动完成,您可以再次单击“检查更新的许可证”链接。这一次,您将看到一个简短的确认消息,并将列出您的相关电子邮件地址。

Signing in is inevitable if you want to get rid of this annoying warning. But even if you have always been signed from day one, you may still run into this warning. Based on my experience, this may happen if you have recently changed the password for your account, or you have added 2FA (two step verification) to your account, or you have reset the recovery code for the account and with it the app passwords. It may also have to do with inactivity or the recent changes Microsoft has been making to the "sign in experience" for Microsoft accounts.

不管原因是什么,登录或退出,然后再登录似乎是解决这种烦恼的最佳方法。