我使用Visual Studio 2008创建了一个Visual C ++ gui应用程序,然后迁移到Visual Studio 2015。 然后,我不得不更改项目的文件夹结构。我从Visual Studio中排除了文件->手动更改文件夹->将文件再次添加到项目中。 现在,我无法在设计视图中打开表单。我试图通过手动编辑.vcxproj文件来解决此问题。
<EmbeddedResource Include="Form1.resX">
<DependentUpon>Form1.h</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<ClInclude Include="Form1.h">
<FileType>CppForm</FileType>
</ClInclude>
但是现在它显示“项目加载失败:项目需要用户输入”。
有没有办法解决这个问题?