From 55f3e6b64a4179d9c379ec6980ef7e4168f3bb57 Mon Sep 17 00:00:00 2001 From: Brandon Ording Date: Mon, 24 Oct 2016 15:39:25 -0400 Subject: [PATCH] Fix WinRT compilation --- .../RabbitMQ.Client/src/client/impl/ConsumerWorkService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/client/RabbitMQ.Client/src/client/impl/ConsumerWorkService.cs b/projects/client/RabbitMQ.Client/src/client/impl/ConsumerWorkService.cs index 6509d2bbba..fa4aa41545 100755 --- a/projects/client/RabbitMQ.Client/src/client/impl/ConsumerWorkService.cs +++ b/projects/client/RabbitMQ.Client/src/client/impl/ConsumerWorkService.cs @@ -66,7 +66,7 @@ public WorkPool(IModel model) public void Start() { #if NETFX_CORE - Task.Factory.StartNew(Loop, TaskCreationOptions.LongRunning); + System.Threading.Tasks.Task.Factory.StartNew(Loop, System.Threading.Tasks.TaskCreationOptions.LongRunning); #else var thread = new Thread(Loop) {