Don't specify version for GAC reference

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Terence Tirella

    #1

    Don't specify version for GAC reference

    Is there a way to not specify a specific version of an assembly when you
    add a reference in Visual Studio? The problem I'm having is that when I
    add a reference to a GAC assembly (the Crystal Reports assemblies that
    come with VS.NET) it specifies the version that's used in VS, I
    9.5.something. But if I try to run this on a computer with a newer
    assembly, say Crystal XI, it won't work.

    I know I can change the publisher policies for the GAC but this doesn't
    seem like a good idea as this would change all of the programs looking
    for the crystal assembly. I've tried using config files but I can only
    get my program to look for one version of the assembly, not a range or
    just the most recent.
Working...