win7最后支持的vs code版本为1.70.3
下载链接:
User Installer
https://vscode.cdn.azure.cn/stable/a21a160d630530476218b85db95b0fd2a8cd1230/VSCodeUserSetup-x64-1.70.3.exe
https://vscode.cdn.azure.cn/stable/a21a160d630530476218b85db95b0fd2a8cd1230/VSCodeUserSetup-ia32-1.70.3.exe
https://vscode.cdn.azure.cn/stable/a21a160d630530476218b85db95b0fd2a8cd1230/VSCodeUserSetup-arm64-1.70.3.exe
System Installer
https://vscode.cdn.azure.cn/stable/a21a160d630530476218b85db95b0fd2a8cd1230/VSCodeSetup-x64-1.70.3.exe
https://vscode.cdn.azure.cn/stable/a21a160d630530476218b85db95b0fd2a8cd1230/VSCodeSetup-ia32-1.70.3.exe
https://vscode.cdn.azure.cn/stable/a21a160d630530476218b85db95b0fd2a8cd1230/VSCodeSetup-arm64-1.70.3.exe
.zip
https://vscode.cdn.azure.cn/stable/a21a160d630530476218b85db95b0fd2a8cd1230/VSCode-win32-x64-1.70.3.zip
https://vscode.cdn.azure.cn/stable/a21a160d630530476218b85db95b0fd2a8cd1230/VSCode-win32-ia32-1.70.3.zip
https://vscode.cdn.azure.cn/stable/a21a160d630530476218b85db95b0fd2a8cd1230/VSCode-win32-arm64-1.70.3.zip
可能原因:NET Framework版本过低
Unhandled Exception: System.TypeLoadException: Could not load type
'System.Runtime.CompilerServices.FormattableStringFactory' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
at WindowsDebugLauncher.Program.ParseDebugExeArgs(String line)
at WindowsDebugLauncher.Program.Main(String[] argv)
如果出现以上错误,则需要安装NET Framework4.7.2以上的版本,比如4.8
查看当前版本的方式
1.打开“我的电脑”,在地址栏输入 %systemroot%\Microsoft.NET\Framework。
2.从列出来的文件夹中,可以看到v1.0.3705 、v2.0.50727、v3.0、v3.5而这些目录显示的最高版本号即本机Microsoft .NET Framework 版本号,也就是3.5的。