Some of my projects cannot upload files correctly. In Solution Explorer, they have null file names. I can still compile and work fine, but I cannot open them from this point of view. It says: "Cannot open file."

If I expand the view using Show All Files, I see that they are present, but are considered excluded from the project. As if they were both on and off at the same time. Re-enabling them does not work.

Project and filter files do not look corrupted. I even edited them manually to no avail. Here is a fragment of the VCXPROJ file:
<ItemGroup>
<ClCompile Include="JsonTest.cpp" />
<ClCompile Include="NumberTest.cpp" />
<ClCompile Include="stdafx.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
</ClCompile>
<ClCompile Include="StringArrayTest.cpp" />
<ClCompile Include="StringTest.cpp" />
<ClCompile Include="WStringArrayTest.cpp" />
<ClCompile Include="WStringTest.cpp" />
</ItemGroup>
Here is also the corresponding fragment of the .filters file:
<ItemGroup>
<ClCompile Include="stdafx.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="SrpString.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="SrpJson.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="SrpNumber.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="decNumber\decQuad.c">
<Filter>DecNumber</Filter>
</ClCompile>
</ItemGroup>
I tried a lot to fix this, none of which were successful.
?