当我转到团队资源管理器并单击 'Changes' 时 VS2013 崩溃
VS2013 crashing when I go to Team Explorer and click on 'Changes'
我的 VS2013 安装从未发生过任何崩溃,但本周它开始在启动时显示此错误:
An exception has been encountered. This may be caused by an extension. You can get more information by bexamining the file (...)\AppData\Roaming\Microsoft\VisualStudio.0\ActivityLog.xml
然后就可以正常打开了,可以正常工作了。但是,当我尝试提交我的本地更改并打开团队资源管理器并单击“更改”时,Visual Studio 崩溃。
我查看了 ActivityLog.xml 并发现了这个错误:
<entry>
<record>179</record>
<time>2015/02/27 17:51:35.065</time>
<type>Error</type>
<source>Editor or Editor Extension</source>
<description>System.IO.IOException: The file exists.

 at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

at System.IO.__Error.WinIOError()

at System.IO.Path.InternalGetTempFileName(Boolean checkHost)

at Microsoft.VisualStudio.Text.Utilities.WpfHelper.LoadCursorDPIAware(Stream cursorStream)

at Microsoft.VisualStudio.Text.Editor.Implementation.LeftSelectionMargin.get_RightArrowCursor()

at Microsoft.VisualStudio.Text.Editor.Implementation.LeftSelectionMarginProvider.CreateMargin(IWpfTextViewHost textViewHost, IWpfTextViewMargin containerMargin)

at Microsoft.VisualStudio.Text.Utilities.ContainerMargin.<AddMargins>b__2(IWpfTextViewMarginProvider mp)

at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.InstantiateExtension[TExtension,TMetadata,TExtensionInstance](Object errorSource, Lazy`2 provider, Func`2 getter)</description>
</entry>
我尝试删除我的所有项目,然后再次克隆它们,但这种情况仍然存在。
谁能帮我解决这个问题?
知道是怎么回事了。发生这种情况是因为我的 Windows Temp 文件夹有超过 65535 个文件。必须清理我的临时文件夹 (---\User\AppData\Local\Temp)
发现于:
System.IO.IOException: "The file exists" when using System.IO.Path.GetTempFileName() - resolutions?
我认为这不是一个重复的问题。这专门针对 VS2013。
尝试
devenv.exe /setup
它在类似情况下对我有帮助
我的 VS2013 安装从未发生过任何崩溃,但本周它开始在启动时显示此错误:
An exception has been encountered. This may be caused by an extension. You can get more information by bexamining the file (...)\AppData\Roaming\Microsoft\VisualStudio.0\ActivityLog.xml
然后就可以正常打开了,可以正常工作了。但是,当我尝试提交我的本地更改并打开团队资源管理器并单击“更改”时,Visual Studio 崩溃。
我查看了 ActivityLog.xml 并发现了这个错误:
<entry>
<record>179</record>
<time>2015/02/27 17:51:35.065</time>
<type>Error</type>
<source>Editor or Editor Extension</source>
<description>System.IO.IOException: The file exists.

 at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

at System.IO.__Error.WinIOError()

at System.IO.Path.InternalGetTempFileName(Boolean checkHost)

at Microsoft.VisualStudio.Text.Utilities.WpfHelper.LoadCursorDPIAware(Stream cursorStream)

at Microsoft.VisualStudio.Text.Editor.Implementation.LeftSelectionMargin.get_RightArrowCursor()

at Microsoft.VisualStudio.Text.Editor.Implementation.LeftSelectionMarginProvider.CreateMargin(IWpfTextViewHost textViewHost, IWpfTextViewMargin containerMargin)

at Microsoft.VisualStudio.Text.Utilities.ContainerMargin.<AddMargins>b__2(IWpfTextViewMarginProvider mp)

at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.InstantiateExtension[TExtension,TMetadata,TExtensionInstance](Object errorSource, Lazy`2 provider, Func`2 getter)</description>
</entry>
我尝试删除我的所有项目,然后再次克隆它们,但这种情况仍然存在。 谁能帮我解决这个问题?
知道是怎么回事了。发生这种情况是因为我的 Windows Temp 文件夹有超过 65535 个文件。必须清理我的临时文件夹 (---\User\AppData\Local\Temp)
发现于:
System.IO.IOException: "The file exists" when using System.IO.Path.GetTempFileName() - resolutions?
我认为这不是一个重复的问题。这专门针对 VS2013。
尝试
devenv.exe /setup
它在类似情况下对我有帮助