Vista 下 Visual Studio 2008 出现权限被拒绝错误
我已经冒险从 WinXP 升级(或者可能降级?!)到 Vista。
一切似乎都工作正常,除了今天早上启动计算机并在 Visual Studio 中打开 C# 应用程序时,出现一些“加载属性‘OutputPath’失败。输入的路径不是有效的输出路径”错误。
我尝试重建应用程序,发现由于某种神秘的原因,我无法访问 Visual Studio 创建的可执行文件。 解决方案中的其他所有内容仍然是我的,但编译结果不是。 在某些情况下,“管理员”拥有它们,而在某些情况下,我仍然拥有它们,但没有任何权利。
我以管理员身份运行,因此被拒绝访问我自己创建的文件真是有点令人恼火。
我是否错过了 Visual Studio 和 Vista 一起使用的方式,或者我是否擦掉了机器并又烧了两天重新安装 WinXP?
I've taken the plunge and upgraded (or maybe downgraded?!) from WinXP to Vista.
Everything appeared to be working ok except that when I fired up my machine this morning and opened my C# application in Visual Studio I got a few "Load of property 'OutputPath' failed. The entered path is not a valid output path" errors.
I tried to rebuild the application and found that for some mysterious reason I'd lost access to the executables that Visual Studio creates. Everything else in the solution was still mine, but the compilation results weren't. In some cases the 'Administrator' owned them, and in some cases I still owned them but had no rights.
I'm running as Administrator, so to be denied access to my own files that I created myself is more than a little infuriating.
Have I missed something in the way Visual Studio and Vista play together, or do I wipe the machine and burn another two days reinstalling WinXP?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
在我的脑海中:
编辑:我的 Vista x64 机器上出现了一些问题,这也让我感到困惑 [我也以管理员身份运行]。 禁用 UAC 可以解决这个“管理员”问题,但不能解决管理员问题:D
On top of my head:
EDIT: I'd few problems on my Vista x64 box that got me confused as well [I was also running as Administrator]. Disabling UAC got rid of this 'Administrator' but not an Administrator problems :D
打开您的 .csproj 文件并确保您的输出路径
C:\test\ 是正确的,还有一个地方需要检查。
Open your .csproj file and make sure your output path
C:\test\ is correct that one more place to check.
哦..这是一个很酷的=D
你尝试过改变你的输出路径吗?
好吧,在“解决方案资源管理器”中单击您的项目的右侧按钮。 继续“构建”选项卡中的“属性”。 在那里你可以尝试解决一些问题。
VS2008 是一个非常奇怪的东西,因为它是为在 Vista 中运行而开发的! =D
祝你好运!
Oh.. this is a cool one =D
have you tried to change your output path?
Well, click on the right button on your project in the "solution explorer". Go on properties, in the Build tab. There you can try to work some things out..
VS2008 is a very strange thing, since it was developed to run in Vista! =D
good luck!