Referencing AppFabric Assemblies in Visual Studio on x64 Systems

Adding a reference to a project in Visual Studio should be a fairly simple thing to do.  Right?

Not always.  When working with Windows Server AppFabric you might have a problem if you’re using 64-bit Windows.  Many of the assemblies you use for AppFabric are located in the %WinDir%\System32\AppFabric directory. Unfortunately, this directory is not visible when using the “Add Reference” dialog in Visual Studio.

See? No AppFabric folder…

Fortunately, there’s a work-around. Instead of drilling down to System32, just open up the Add Reference dialog, click on Browse and type or paste %WinDir%\SysNative\AppFabric into the File Name box and type a back-slash (“\”) at the end. You’ll then see a full list of files in the directory.

Just select the assembly you need to reference from the list.

Advertisements

About Ed Jones

Ed is a .NET and Integration architect for Avanade in the Twin Cities. Contact Ed

What do you think?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: