System.Transactions namespace is not found in my vs 2005

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to use TransactionScope in vs 2005 for transaction control. But
after I put the code in, I noticed System.Transactions namespace does not
exist at all! Can anybody tell me why I don't have it from my vs 2005? I am
using .NET framework 2.0 for sure because it's within vs 2005.

My development environment is Windows XP professional with sp2 and Visual
Studio 2005 Professional.

Thanks a lot.
 
I am trying to use TransactionScope in vs 2005 for transaction
control. But after I put the code in, I noticed System.Transactions
namespace does not exist at all! Can anybody tell me why I don't have
it from my vs 2005? I am using .NET framework 2.0 for sure because
it's within vs 2005.

My development environment is Windows XP professional with sp2 and
Visual Studio 2005 Professional.

Thanks a lot.

You have to add a referrence to WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Transactions.dl
 
You need to add a Reference to System.Transactions and then it will work
for you.
 
Back
Top