致命错误C1023:“pch意外错误,尝试重建pch”和管理员权限 [英] Fatal Error C1023: "unexpected error with pch, try rebuilding the pch", and administrator rights

查看:425
本文介绍了致命错误C1023:“pch意外错误,尝试重建pch”和管理员权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好!自从我切换到Windows Vista机器以来,我在Visual Studio 2005中遇到了错误C1023已经有一段时间了。在每天登录后我第一次构建我的解决方案似乎有问题。我认为它与文件权限有关。当我打开IDE时,我收到一个消息框,建议我以管理员权限启动它,即使我是以管理员身份运行它,并且是我机器上管理员组的成员。

Hello!  I've been having a problem with error C1023 in Visual Studio 2005  for quite some time, ever since I switched to a Windows Vista machine.  It seems to have the issue the first time I build my solution after logging in each day.  I think it has something to do with file permissions.  When I open up the IDE, I get a message box suggesting that I start it with administrator permissions, even though I AM running it as administrator, and am a member of the administrator group on my machine.

因此,理想情况下,我想尝试让Visual Studio以管理员权限运行,看看是否能解决pch问题。我刚刚安装了一个更新,但它没有改变我能说出的任何内容。

不太理想,但仍然很好,会让pch问题消失。

还是好的,将能够设置一个宏来重建与'腐败'pch相关的特定项目。我已经对此进行了一些研究,但我不知道如何检测发生了哪个错误,在哪个项目中,以及如何重建该特定项目。

所以,我仍然试图绕过这个问题。任何人有任何线索?

So, ideally, I'd like to try getting Visual Studio to run with administrator permissions and seeing if that will fix the pch problem.  I just installed an update, but it didn't change anything that I could tell.

Less ideally, but still great, would be to make the pch problem go away.

And good still, would be to be able to set up a macro that rebuilds the specific project associated with the 'corrupt' pch.  I've looked into this a bit, but I don't know how to detect which error occurred, in which project, and how to rebuild that specific project.

So, I'm still trying to get around this issue.  Anyone have any clues?

推荐答案

尝试右键单击Visual Studio 2005图标,然后选择"以管理员身份运行" ;。这会解决您的问题吗?

Try right-clicking on the Visual Studio 2005 icon, and select "Run as Administrator". Does that solve your problem?


这篇关于致命错误C1023:“pch意外错误,尝试重建pch”和管理员权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆