[英]why I can not create a VC++ empty project on my windows using vs 2015 ,vs2017,vs2019
in VS 2015, there is a warning dialog 'null' is null or is not object when i try to create a VC++ project:在 VS 2015 中,当我尝试创建 VC++ 项目时,有一个警告对话框“null”是 null 或不是 object:
then i get another warning:然后我收到另一个警告:
error from HRESULT:800A138F来自 HRESULT:800A138F 的错误
in VS 2019 i got the warning:在 VS 2019 中,我收到了警告:
Object reference not set to an instance of an object, Object 引用未设置为 object 的实例,
You could try steps below to resolve this issue:您可以尝试以下步骤来解决此问题:
1.Windows+R and enter regedit
to open Registry Editor
, make sure the value data of Enabled
key is set to zero. 1.Windows+R输入regedit
打开Registry Editor
,确保Enabled
键的值数据设置为零。
We can find the key here:我们可以在这里找到关键:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\FipsAlgorithmPolicy
2.Restart VS to check if the issue goes away, if it persists, close all vs instances and delete all folders under path: C:\Users\xxx\AppData\Local\Microsoft\VisualStudio
. 2.重新启动VS检查问题是否消失,如果仍然存在,关闭所有vs实例并删除路径下的所有文件夹: C:\Users\xxx\AppData\Local\Microsoft\VisualStudio
。 It will clean all VS cache to reset the VS settings.它将清除所有 VS 缓存以重置 VS 设置。
Note: AppData
is a hidden folder.注意: AppData
是一个隐藏文件夹。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.