Skip to content

Commit

Permalink
Reference Arch specific SQLite version
Browse files Browse the repository at this point in the history
  • Loading branch information
seif committed Feb 12, 2012
1 parent 80327fc commit 3a6123e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
19 changes: 14 additions & 5 deletions Solutions/SharpArchContrib.Tests/SharpArchContrib.Tests.csproj
Expand Up @@ -140,11 +140,9 @@
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data.SQLite">
<HintPath>..\..\Packages\System.Data.SQLite.1.0.79.0\lib\net40\System.Data.SQLite.dll</HintPath>
</Reference>
<Reference Include="System.Data.SQLite.Linq">
<HintPath>..\..\Packages\System.Data.SQLite.1.0.79.0\lib\net40\System.Data.SQLite.Linq.dll</HintPath>
<Reference Include="System.Data.SQLite, Version=1.0.66.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=x86">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\Packages\SQLitex64.1.0.66\lib\32\System.Data.SQLite.DLL</HintPath>
</Reference>
<Reference Include="System.ServiceModel" />
<Reference Include="System.Xml.Linq">
Expand All @@ -153,6 +151,17 @@
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<Choose>
<When Condition="$(PROCESSOR_ARCHITEW6432) == 'AMD64'">
<ItemGroup>
<Reference Include="System.Data.SQLite">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\Packages\SQLitex64.1.0.66\lib\64\System.Data.SQLite.DLL</HintPath>
</Reference>
</ItemGroup>
</When>
<Otherwise />
</Choose>
<ItemGroup>
<Compile Include="..\..\Common\AssemblyVersion.cs">
<Link>Properties\AssemblyVersion.cs</Link>
Expand Down
2 changes: 1 addition & 1 deletion Solutions/SharpArchContrib.Tests/packages.config
Expand Up @@ -14,5 +14,5 @@
<package id="SharpArch.Domain" version="2.0.2" />
<package id="SharpArch.NHibernate" version="2.0.2" />
<package id="SharpArch.Testing.NUnit" version="2.0.2" />
<package id="System.Data.SQLite" version="1.0.79.0" />
<package id="SQLitex64" version="1.0.66" />
</packages>

0 comments on commit 3a6123e

Please sign in to comment.