System.Transactions namespace is not found in my vs 2005

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.
 
C

chris martin

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
 
B

Brian Piesik

You need to add a Reference to System.Transactions and then it will work
for you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top