title: Transactionscope error This platform does not support distributed transactions
body: <p>I am using dontnet core 2.1</p>
  
  <p>I am having the following error, How can I solve it?</p>
  
  <blockquote>
    <p>{System.PlatformNotSupportedException: This platform does not support
    distributed transactions.    at
    System.Transactions.Distributed.DistributedTransactionManager.GetDistributedTransactionFromTransmitterPropagationToken(Byte[]
    propagationToken)    at
    System.Transactions.TransactionInterop.GetDistributedTransactionFromTransmitterPropagationToken(Byte[]
    propagationToken)</p>
  </blockquote>
  
  <p>My code</p>
  
  <pre><code>try
  {
      using (var s= new TransactionScope(TransactionScopeAsyncFlowOption.Enabled))
     {
  
         // Running couple of insert / update and delete async operations
         s.Complete();
     }
   }
   catch (TransactionAbortedException ex)
   {
  
   }
  </code></pre>
  
  <p>Note: If I remove <code>TransactionScopeAsyncFlowOption.Enabled</code> I end up having another exception <code>System.InvalidOperationException: A TransactionScope must be disposed on the same thread that it was created.</code></p>