简体   繁体   中英

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:

在此处输入图像描述

then i get another warning:

error from HRESULT:800A138F

在此处输入图像描述

in VS 2019 i got the warning:

Object reference not set to an instance of an 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.

在此处输入图像描述

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 . It will clean all VS cache to reset the VS settings.

Note: AppData is a hidden folder.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM