Specific Version is False

Posts   
 
    
worldspawn avatar
worldspawn
User
Posts: 321
Joined: 26-Aug-2006
# Posted on: 22-Sep-2006 02:53:16   

The project file template(s) dont force VS to use a specific version of the LLBLGen classes.

For example

<Reference Include="SD.LLBLGen.Pro.ORMSupportClasses.NET20, Version=2.0.0.0, Culture=neutral, PublicKeyToken=ca73b74ba4e3ff27, processorArchitecture=MSIL">
        <SpecificVersion>False</SpecificVersion>
        <HintPath><[RuntimeLibraryHintPath]></HintPath>
    </Reference>

Should be

<Reference Include="SD.LLBLGen.Pro.ORMSupportClasses.NET20, Version=2.0.0.0, Culture=neutral, PublicKeyToken=ca73b74ba4e3ff27, processorArchitecture=MSIL">
        <SpecificVersion>True</SpecificVersion>
        <HintPath><[RuntimeLibraryHintPath]></HintPath>
    </Reference>

When you have v1 and v2 installed vs likes to default to using version 1 which is a pain.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39786
Joined: 17-Aug-2003
# Posted on: 22-Sep-2006 12:02:56   

Good point. I've been looking for something to fix this, as specifying the version wasn't enough. I've seen that when you specify 'specific version==true' in the property dialog in vs.net, it indeed reverts to the newer dll. I'll add the specification. simple_smile

(changed in next build)

Frans Bouma | Lead developer LLBLGen Pro