I can't find: System.Transactions Namespace

Viewed 36200

I'm trying to use transaction LINQ, but I cant' find the TransactionScope Class.

Help please. Thanks...

3 Answers

And for those of us trying to add it to our web.config:

  • <add assembly="System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

As in:

<configuration>
   <system.web>
      <compilation>
         <assemblies>
            <add assembly="System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
         </assemblies>
      </compilation>
   </system.web>
</configuration>
  • Assembly: System.Transctions
  • Version: 4.0.0.0
  • Culture: neutral
  • PublicKeyToken: B77A5C561934E089 (the low 8 bytes of the sha1 fingerprint of the public key)

Note: the PublicKeyToken (fingerprint of the signing certificate) is different from nearly ever other assembly in the .NET framework.

  • most assembly signing certificate "public key token": B03F5F7F11D50A3A
  • the System.Transactions assembly public key token: B77A5C561934E089
Related