Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

An exception has been encountered. This may be caused by an extension.

$
0
0

Hi,
Every time that I start a debugging session, when the debugger hits a break-point Visual Studio shows this error:
"An exception has been encountered. This may be caused by an extension."

Then on the next time that I want to start a new debugging session I receive this error.
Unable to copy file "Shared Project\bin\Debug\sample.dll.mdb" to "Android Project\bin\Debug\sample.dll.mdb". The process cannot access the file 'bin\Debug\sample.dll.mdb' because it is being used by another process.

In order to solve this error I restart my Visual Studio. Has any body face with this annoying error?

Microsoft Visual Studio Premium 2013
Version 12.0.31101.00 Update 4
Microsoft .NET Framework
Version 4.5.51650

Installed Version: Premium
Xamarin 3.11.586.0 (a91e30d)
Xamarin.Android 5.1.2.1 (4ab8d98a62adf8f28223cef18fa63f06e87835a9)
Xamarin.Forms Intellisense 1.0
Xamarin.iOS 8.10.1.0 (fce006eae308515fc1eaf85fcc0f90699d9c7e8b)
Xamarin.iOS Unified Migration 1.0
Xamarin.TestCloud.Integration 1.0

Log file in AppData\Roaming\Microsoft\VisualStudio\12.0\ActivityLog.xml

953
2015/06/15 15:14:50.341
Error
Editor or Editor Extension
System.InvalidCastException: Unable to cast object of type 'Xamarin.VisualStudio.Debugger.AD7DocumentContext' to type 'Microsoft.VisualStudio.Debugger.Interop.IDebugDocumentContext2'. at System.StubHelpers.InterfaceMarshaler.ConvertToManaged(IntPtr pUnk, IntPtr itfMT, IntPtr classMT, Int32 flags) at Microsoft.VisualStudio.Debugger.Interop.IDebugStackFrame2.GetDocumentContext(IDebugDocumentContext2& ppCxt) at Microsoft.VisualStudio.Debugger.Parallel.Common.DocumentContext.GetFileNameAndPath() at Microsoft.VisualStudio.Debugger.Parallel.UI.ThreadMarkerGenerator.LocationMatchesTagger(DocumentContext location, MarkerTagger tagger) at Microsoft.VisualStudio.Debugger.Parallel.UI.ThreadMarkerGenerator.<>c__DisplayClass1.<GetMarkersForTagger>b__0(ThreadMarker marker) at System.Linq.Enumerable.WhereListIterator1.MoveNext()&#x000D;&#x000A; at Microsoft.VisualStudio.Debugger.Parallel.Extension.MarkerTagger.&lt;GenerateTagList&gt;d__a.MoveNext()&#x000D;&#x000A; at System.Linq.Buffer1..ctor(IEnumerable1 source)&#x000D;&#x000A; at System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source) at Microsoft.VisualStudio.Debugger.Parallel.Extension.MarkerTagger..ctor(ITextBuffer buffer, ITextDocument document) at Microsoft.VisualStudio.Debugger.Parallel.Extension.MarkerTaggerProvider.CreateTagger[T](ITextBuffer buffer) at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.GatherTaggers(ITextBuffer textBuffer)


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>