Imports-statement for System.Transactions namespace

G

Guest

Hi

I want to use the TransactionScope-class, available in the Namespace
System.Transactions in my Windows Forms-app.
The problem is that my version of Visual Studio 2005 can't find that
namespace.
So when I type Imports System.Transactions at the very beginning of my class
(above Public Class...), I get the following error-message in my Error List:
"Namespace or type specified in the imports 'System.Transactions' doesn't
contain any public member or cannot be found. Make sure then namespace...
etc."
When I visit the properties of the project and check the available
references I can't find it there either. Do I have to do something extra
before using that Namespace?
I use Visual Studio 2005 SP1 and I'm developping a Windows Forms-application
with as SQL Server Express database.
I use Windows XP Professional.

Many thanks in advance.
 
G

Guest

If you are using Visual Studio 2005 Standard Editon & above do the following

Right click on the project
Add Reference
you'll definitely see reference System.Transaction under .NET references in
the references tab.

Are you using Visual Studio Express Edtion ?
 

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