Skip to content

Commit 665ee84

Browse files
committed
* Upgrade to Simplify.DI 4.0.1
* Upgrade to SimpleInjector 4.9.0
1 parent ca0479a commit 665ee84

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

src/Simplify.DI.Provider.SimpleInjector.Tests/SimpleInjectorDIContainerProviderTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public void Resolve_NotRegistered_ActivationException()
2424
// Act & Assert
2525

2626
var ex = Assert.Throws<ActivationException>(() => _provider.Resolve<NonDepFoo>());
27-
Assert.That(ex.Message, Does.StartWith("No registration for type NonDepFoo could be found and an implicit registration could not be made."));
27+
Assert.That(ex.Message, Does.StartWith("No registration for type NonDepFoo could be found. Make sure NonDepFoo is registered"));
2828
}
2929

3030
[Test]
@@ -35,7 +35,7 @@ public void ScopedResolve_NotRegistered_ActivationException()
3535
using (var scope = _provider.BeginLifetimeScope())
3636
{
3737
var ex = Assert.Throws<ActivationException>(() => scope.Resolver.Resolve<NonDepFoo>());
38-
Assert.That(ex.Message, Does.StartWith("No registration for type NonDepFoo could be found and an implicit registration could not be made."));
38+
Assert.That(ex.Message, Does.StartWith("No registration for type NonDepFoo could be found. Make sure NonDepFoo is registered"));
3939
}
4040
}
4141

@@ -803,7 +803,7 @@ public void Verify_MissingDependencyRegistration_InvalidOperationException()
803803

804804
var ex = Assert.Throws<InvalidOperationException>(() => _provider.Verify());
805805
Assert.That(ex.Message,
806-
Does.StartWith("The configuration is invalid. Creating the instance for type Foo failed. The constructor of type Foo contains the parameter with name 'bar' and type IBar that is not registered."));
806+
Does.StartWith("The configuration is invalid. Creating the instance for type Foo failed. The constructor of type Foo contains the parameter with name 'bar' and type IBar, but IBar is not registered."));
807807
}
808808

809809
[Test]

src/Simplify.DI.Provider.SimpleInjector/Simplify.DI.Provider.SimpleInjector.csproj

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,22 @@
55
<Product>Simplify</Product>
66
<Description>Simplify.DI SimpleInjector provider</Description>
77
<Copyright>Licensed under LGPL</Copyright>
8-
<Version>1.8.1</Version>
8+
<Version>1.8.2</Version>
99
<PackageProjectUrl>https://github.com/SimplifyNet/Simplify/wiki/Simplify.DI</PackageProjectUrl>
1010
<PackageIconUrl>https://raw.githubusercontent.com/SimplifyNet/Images/master/Logo.png</PackageIconUrl>
1111
<RepositoryUrl>https://github.com/SimplifyNet/Simplify/tree/master/src/Simplify.DI.Provider.SimpleInjector</RepositoryUrl>
1212
<RepositoryType>GIT</RepositoryType>
1313
<PackageTags>.NET DI IOC-container-provider</PackageTags>
1414
<PackageReleaseNotes>
1515
Updates
16-
* Upgrade to SimpleInjector 4.8.1
16+
* Upgrade to Simplify.DI 4.0.1
17+
* Upgrade to SimpleInjector 4.9.0
1718
</PackageReleaseNotes>
1819
<OutputPath>bin\Any CPU\$(Configuration)\</OutputPath>
1920
<DocumentationFile>bin\Any CPU\$(Configuration)\$(TargetFramework)\Simplify.DI.Provider.SimpleInjector.xml</DocumentationFile>
2021
</PropertyGroup>
2122
<ItemGroup>
22-
<PackageReference Include="Simplify.DI" Version="4.0.0" />
23-
<PackageReference Include="SimpleInjector" Version="4.8.1" />
23+
<PackageReference Include="Simplify.DI" Version="4.0.1" />
24+
<PackageReference Include="SimpleInjector" Version="4.9.0" />
2425
</ItemGroup>
2526
</Project>

0 commit comments

Comments
 (0)