Skip to content

Commit 19ba632

Browse files
committed
Resolved issue #496: Updated CommonServiceLocator
Updated the Autofac.Extras.CommonServiceLocator assembly to reference the latest CommonServiceLocator, which is now portable. Removed references to the old separate portable CSL. Updated A.E.CSL version for next release.
1 parent 06fd6f0 commit 19ba632

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

Autofac.Extras.Tests.EnterpriseLibraryConfigurator.csproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@
4040
<Reference Include="Microsoft.Practices.EnterpriseLibrary.Common">
4141
<HintPath>..\..\..\packages\EnterpriseLibrary.Common.5.0.505.0\lib\NET35\Microsoft.Practices.EnterpriseLibrary.Common.dll</HintPath>
4242
</Reference>
43-
<Reference Include="Microsoft.Practices.ServiceLocation">
44-
<HintPath>..\..\..\packages\CommonServiceLocator.1.0\lib\NET35\Microsoft.Practices.ServiceLocation.dll</HintPath>
43+
<Reference Include="Microsoft.Practices.ServiceLocation, Version=1.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
44+
<SpecificVersion>False</SpecificVersion>
45+
<HintPath>..\..\..\packages\CommonServiceLocator.1.2\lib\portable-windows8+net40+sl5+windowsphone8\Microsoft.Practices.ServiceLocation.dll</HintPath>
4546
</Reference>
4647
<Reference Include="Microsoft.Practices.Unity, Version=2.1.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
4748
<SpecificVersion>False</SpecificVersion>
@@ -94,6 +95,7 @@
9495
</ProjectReference>
9596
</ItemGroup>
9697
<ItemGroup>
98+
<None Include="app.config" />
9799
<None Include="packages.config" />
98100
</ItemGroup>
99101
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />

app.config

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<runtime>
4+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
5+
<dependentAssembly>
6+
<assemblyIdentity name="Microsoft.Practices.ServiceLocation" publicKeyToken="31bf3856ad364e35" culture="neutral" />
7+
<bindingRedirect oldVersion="0.0.0.0-1.2.0.0" newVersion="1.2.0.0" />
8+
</dependentAssembly>
9+
</assemblyBinding>
10+
</runtime>
11+
</configuration>

packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="CommonServiceLocator" version="1.0" />
3+
<package id="CommonServiceLocator" version="1.2" targetFramework="net40" />
44
<package id="EnterpriseLibrary.Common" version="5.0.505.0" />
55
<package id="NUnit" version="2.6.3" targetFramework="net40" />
66
<package id="Unity" version="2.1.505.2" targetFramework="net40" />

0 commit comments

Comments
 (0)