views:

175

answers:

3

I've got an older assembly (Office XP PIA) that appears to target the .NET 1.0 framework. The assembly has been registered and is visible in the GAC (as well as the Win32 registry), but it doesn't appear in Visual Studio 2008 when I choose "Add Reference".

Does Visual Studio support referencing older assemblies?

+2  A: 

Yes, I believe so. You would have to manually browse for the assembly, however.

The following link,Common Pitfalls During PIA Deployment and Installation, may provide the information you are looking for.

hmcclungiii
any idea why does the assembly not show up in the .NET tab?
bryanbcook
see the edit, hth
hmcclungiii
this link is also helpful: http://www.hanselman.com/blog/GotchasAroundPrimaryInteropAssembliesAndTheGAC.aspx
bryanbcook
A: 

This is a quick tutorial for VS2K5 but works with VS2K8 too.

Perpetualcoder
A: 

Referencing older assemblies will work. The opposite way however is not supported.

An interesting article on this topic: What happens when a 2.0 app calls a 1.1 assembly

And don't forget to check for any breaking changes between .NET 1.0/1.1 and .NET 2.0

0xA3