访问路径“(临时文件夹)”被拒绝。将项目或类文件添加到我的 Visual Studio 解决方案时发生
我需要一些帮助。
我在 Visual Studio 2008 和 2010 上尝试过此操作,但遇到了相同的错误。
我有一个一直在研究的解决方案,我去向项目添加一个新的类文件,但出现以下错误:
访问路径“C:\Temp\yiswy0sj.5lo\Temp\Properties\AssemblyInfo.cs “
每次我尝试在它正在创建的临时文件夹中创建一个新项目时,之前的错误略有不同。我转到临时文件夹,程序集文件就在那里,它是隐藏的,并且其中包含正确的程序集文件信息。
我无法将新项目或类文件添加到我的任何解决方案中。
我做了很多研究,有人说要更改临时文件夹。我尝试了这个,因为您可以看到临时文件夹不再是应用程序数据,而是 Temp;但这并没有解决问题。
任何帮助将不胜感激。任何问题我都会很乐意回答。 感谢您抽出时间。
I am in need of some help.
I tried this on Visual Studio 2008 and 2010, and I am getting the same error.
I have a solution that I have been working on and I went to add a new class file to a project and I got the following error:
Access to the path "C:\Temp\yiswy0sj.5lo\Temp\Properties\AssemblyInfo.cs"
The previous error is slightly different, every time I try and create a new project, in the temp folder that it is creating. I went to the temp folder, and the assembly file is there, it is hidden and it has the correct assembly file info in it.
I am not able to add new projects or class files to any of my solutions.
I did quite a bit of research, and someone said to change the temp folder. I tried this as you can see the temp folder is not app data any more, it is Temp; and this did not solve the problem.
Any assistance would be appreciated. Any questions I will be more then happy to answer.
Thank you for your time.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我知道如何解决这个问题。在程序文件 (x86) 下,将所有 Microsoft Visual Studio 目录和文件标记为“不隐藏”。您有病毒隐藏了您的文件,这导致临时文件夹中的 AssemblyInfo.cs 也显示为隐藏。
I know how to fix the issue. Under your program files (x86) flag all your Microsoft Visual Studio directories and files as NOT Hidden. You have/had a virus that hid your files and this is causing the AssemblyInfo.cs in the temp folder to appear hidden as well.
尽管错误在 c:\ 你必须取消隐藏 Visual Studio 目录,我的情况是 D:\Archivos de Programa\Microsoft Visual Studio 9.0
病毒正在检查系统,它模拟硬盘故障,恶意软件字节驱动它
despite the error is in c:\ you have to unhide the visual studio directory which is my case is D:\Archivos de Programa\Microsoft Visual Studio 9.0
the virus is check system, it simulate a hard disk fail, malwarebytes ged ride of it