奇怪的错误“文件存在"; [英] Strange Error "The File Exists"

查看:55
本文介绍了奇怪的错误“文件存在";的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我最近尝试了Xamarin Studio,认为它可以帮助我进行iOS开发.当我发现它没有执行我想要的操作时,我将其卸载了.不幸的是,删除Xamarin后,Visual Studio显示错误 文件存在"每当我尝试保存我的项目时.例如,我创建了一个VB Windows窗体应用程序.当我尝试调整表单大小时,它立即显示此奇怪的错误.尝试查找更多内容,我尝试查看项目的代码.视觉的 Studio随后显示错误,告诉我查看我的ActivityLog.xml.我看了看,然后在底部显示了这个内容:

I recently tried out Xamarin Studio thinking it would be able to help me with iOS development. When I discovered that it did not do what I wanted it to do, I uninstalled it. Unfortunately, after removing Xamarin, Visual Studio displays an error "The File Exists" whenever I attempt to save my project. For example, I created a VB Windows Forms Application. Immediately when I tried to resize the form, it displays this strange error. Attempting to find more, I tried to view the code for my project. Visual Studio then displayed an error telling me to look at my ActivityLog.xml. I looked at this and right at the bottom it shows this:

<entry>
    <record>528</record>
    <time>2014/05/25 15:21:10.662</time>
    <type>Error</type>
    <source>Editor or Editor Extension</source>
    <description>System.IO.IOException: The file exists.&#x000D;&#x000A;&#x000D;&#x000A;   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)&#x000D;&#x000A;   at System.IO.__Error.WinIOError()&#x000D;&#x000A;   at System.IO.Path.InternalGetTempFileName(Boolean checkHost)&#x000D;&#x000A;   at System.Windows.Input.Cursor.LoadFromStream(Stream cursorStream)&#x000D;&#x000A;   at System.Windows.Input.Cursor..ctor(Stream cursorStream)&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.Editor.Implementation.LeftSelectionMargin.get_RightArrowCursor()&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.Editor.Implementation.LeftSelectionMarginProvider.CreateMargin(IWpfTextViewHost textViewHost, IWpfTextViewMargin containerMargin)&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.Utilities.ContainerMargin.&lt;AddMargins&gt;b__2(IWpfTextViewMarginProvider mp)&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.InstantiateExtension[TExtension,TMetadata,TExtensionInstance](Object errorSource, Lazy`2 provider, Func`2 getter)</description>
  </entry>

在我安装Xamarin之前根本没有出现此错误,这对我来说可能是Xamarin在我的设置或DLL中弄乱了引起的.

This error did not show up at all before I installed Xamarin, which means to me that it might have been caused by Xamarin messing around in my settings or DLLs. 

如果有人对此有任何信息,请随时告诉我,如果需要有关我的计算机(或其他性质的信息)的更多信息,请不要犹豫.我想解决这个问题,以便我可以回来 要发展!

If anyone has any information about this, please feel free to tell me, and if any more information is needed about my computer (or anything else of that nature), please don't hesitate to ask. I would like to get this problem sorted out so I can get back to developing!

谢谢.


推荐答案

特里斯坦,

由于它在安装Xamarin之前运行良好,然后在移动它后出现了此问题,因此我怀疑它是否与Xamarin有关.我对此进行了一些研究,看来它是第三方产品,如果是的话,建议您发布此产品 发行到Xamarin支持网站:

Since it worked well before you installed Xamarin, and then it has this issue after you move it, so I doubt that it woud be related to the Xamarin. I did some research about it, it seems that it is the third party product, if so, I suggest you post this issue to the Xamarin support site:

http://forums.xamarin.com/

也许这个论坛对于这个问题会更好:

Maybe this forum would be better for this issue:

http://forums.xamarin.com/categories/xamarin-studio

最好的问候,


这篇关于奇怪的错误“文件存在";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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