Forum Visual Studio

launching application failed after a while

creencreen USMember
edited December 2016 in Visual Studio

Hello I have a problem,

I use Visual Studio 2015 with Xamarin 4.2.65, I'm using a mac with el capitan as build host.
After ~30 mins I cant launch the app in iphone simulator (iPhone 5 - iOS 10.1) anymore, it seems as compilation works fine,
but after that visualstudio opens the debugging view and cancels this view immidiatly with the warning:

The post for client vs10440Matze on topic xvs/idb/4.2.1.64/launch-app has been cancelled
System.OperationCanceledException: The operation was canceled.
at System.Threading.CancellationToken.ThrowOperationCanceledException()
at System.Threading.CancellationToken.ThrowIfCancellationRequested()
at Xamarin.Messaging.Client.MessagingClient.d__23`2.MoveNext()

At the mac I can see while I try to build in Build.log a lot of the following message:

Xamarin.Messaging.Client.ApplicationMessageExtensions Warning: 0 : [2016-12-09 01:59:58.9450] Payload Type Xamarin.Messaging.Build.Contracts.ExecuteTaskMessage is incompatible with the requested content type Xamarin.Messaging.Build.Contracts.GetItemMessage

in IDB.log I can see:

Xamarin.Messaging.Client.AgentConsoleRunner Information: 0 : [2016-12-09 00:26:19.0777] ==== :: Xamarin :: 4.2.1.64-cycle8+872717c ====
Xamarin.Messaging.Client.AgentConsoleRunner Information: 0 : [2016-12-09 00:26:19.1952] Starting IDB 4.2.1.64...
Xamarin.Messaging.IDB.IDBAgent Information: 0 : [2016-12-09 00:26:24.0969] Starting Agent: IDB 4.2.1.64 (PID=667)
Xamarin.Messaging.IDB.IDBAgent Information: 0 : [2016-12-09 00:26:24.5204] IDB 4.2.1.64 agent started
Xamarin.Messaging.IDB.MTouch Information: 0 : [2016-12-09 00:27:52.4953] /Users/matze/Library/Caches/Xamarin/XMA/Agents/IDB/4.2.1.64/mlaunch --launchsim "/Users/matze/Library/Caches/Xamarin/mtbs/builds/myapp.iOS/85cb5165734f657bdd8719a918480bd0/bin/iPhoneSimulator/Debug/myapp.iOS.app" --device=:v2:udid=7E78B8AC-ACAB-4A11-AC9B-443766774A58 -argument=-monodevelop-port -argument=56852 --sdkroot "/Applications/Xcode.app/Contents/Developer" -sdk 10.1
Xamarin.Messaging.IDB.MTouch Information: 0 : [2016-12-09 00:31:41.4471] MTouch Run Terminated
Xamarin.Messaging.Client.MessagingClient Error: 0 : [2016-12-09 00:31:41.5180] An error occured on client IDB42164 while executing a reply for topic xvs/idb/4.2.1.64/launch-app
Xamarin.Messaging.Exceptions.MonotouchException: An error occurred while executing MTouch
at Xamarin.Messaging.IDB.MTouch+d__8.MoveNext () [0x0024a] in <003fb8ef983c4ea5910c8a47fc9dde09>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /private/tmp/source-mono-4.6.0/bockbuild-mono-4.6.0-branch/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:143
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00047] in /private/tmp/source-mono-4.6.0/bockbuild-mono-4.6.0-branch/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in /private/tmp/source-mono-4.6.0/bockbuild-mono-4.6.0-branch/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in /private/tmp/source-mono-4.6.0/bockbuild-mono-4.6.0-branch/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in /private/tmp/source-mono-4.6.0/bockbuild-mono-4.6.0-branch/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:535
at Xamarin.Messaging.IDB.MTouch+d__7.MoveNext () [0x0007b] in <003fb8ef983c4ea5910c8a47fc9dde09>:0

can anybody help me please?

best regards

Answers

Sign In or Register to comment.