开发者

What can I do to fix that Visual Studio won't display per file properties?

I went to go turn on precompiled headers in a brand new project, so I went to go create the "/Create" setting for precompiled headers. But the 开发者_开发问答property page is blank.

What can I do to fix that Visual Studio won't display per file properties?

What happened, and how can I fix this?


This looks like a COM registration issue. It's hard to tell what caused it but the best bet for fixing is to repair the Visual Studio install. That should fix the issue.

  • Go to Control Panel and run "Add / Remove Programs"
  • Double click on "Visual Studio 2010 ..."
  • Click Next on the installer
  • Choose Repair / Reinstall
  • Complete the Wizard


I recently came across a similar issue (though I was using CMake to generate the project file), turns out it was this bug in VS2010. If you specify an absolute path for the source file in the project file, and it is on the same drive as the project file, then the property pages for that source file will not be visible. The suggested workaround is to create a new drive mapping for the drive where your source resides, and then to open the project from the mapped drive.


This happened to me this morning in my Visual Studio 2008, I read all the solutions in internet, I tried everything - reset setting, userdata, repair, uninstall and reinstall VS, but none solve my problem. I was almost going to reinstall the OS (Windows 10).

At last I found out after using a dir command in other project, AM/PM was replaced with strange words, it's because of my datetime format was changed (in my case, it was changed to Afar format). After reset to default, everything came back to normal.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜