Skip to content

Commit

Permalink
Merge pull request #44 from volosoft/feat/castle-windsor-6.0
Browse files Browse the repository at this point in the history
Upgrade to Castle.Windsor 6.0
  • Loading branch information
hikalkan authored Aug 8, 2023
2 parents 34427e7 + 91c6d56 commit d07ab7e
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 15 deletions.
20 changes: 20 additions & 0 deletions Delete-BIN-OBJ-Folders.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
@ECHO off
cls

ECHO Deleting all BIN and OBJ folders...
ECHO.

FOR /d /r . %%d in (bin,obj) DO (
IF EXIST "%%d" (
ECHO %%d | FIND /I "\node_modules\" > Nul && (
ECHO.Skipping: %%d
) || (
ECHO.Deleting: %%d
rd /s/q "%%d"
)
)
)

ECHO.
ECHO.BIN and OBJ folders have been successfully deleted. Press any key to exit.
pause > nul
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<Version>3.4.0</Version>
<TargetFramework>netcoreapp2.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<AssemblyName>Castle.Windsor.MsDependencyInjection.Tests</AssemblyName>
<PackageId>Castle.Windsor.MsDependencyInjection.Tests</PackageId>
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
Expand All @@ -17,12 +17,12 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0" />
<PackageReference Include="xunit" Version="2.3.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.0" />
<PackageReference Include="xunit.extensibility.execution" Version="2.3.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Specification.Tests" Version="2.0.0" />
<PackageReference Include="Shouldly" Version="2.8.3" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.3" />
<PackageReference Include="xunit" Version="2.5.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0" />
<PackageReference Include="xunit.extensibility.execution" Version="2.5.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Specification.Tests" Version="7.0.0" />
<PackageReference Include="Shouldly" Version="4.2.1" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ public class WindsorSpecificationTests : DependencyInjectionSpecificationTests,
private DisposeCounter _disposeCounter;
private WindsorContainer _windsorContainer;

public override bool SupportsIServiceProviderIsService => false;

protected override IServiceProvider CreateServiceProvider(IServiceCollection serviceCollection)
{
_windsorContainer = new WindsorContainer();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<Version>3.4.0</Version>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<AssemblyName>Castle.Windsor.MsDependencyInjection</AssemblyName>
<PackageId>Castle.Windsor.MsDependencyInjection</PackageId>
<PackageTags>Windsor;Castle;AspNetCore;DI;IoC;DNX;DependencyInjection;Extensions</PackageTags>
Expand All @@ -16,18 +16,18 @@
</PropertyGroup>

<ItemGroup>
<None Include="bin\Release\netstandard2.0\Castle.Windsor.MsDependencyInjection.pdb">
<PackagePath>lib/netstandard2.0/</PackagePath>
<None Include="bin\Release\net6.0\Castle.Windsor.MsDependencyInjection.pdb">
<PackagePath>lib/net6.0/</PackagePath>
<Pack>true</Pack>
</None>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="2.0.0" />
<PackageReference Include="Microsoft.Extensions.Options" Version="2.0.0" />
<PackageReference Include="Castle.Windsor" Version="4.1.0" />
<PackageReference Include="Castle.Core" Version="4.2.1" />
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.4.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Options" Version="7.0.0" />
<PackageReference Include="Castle.Windsor" Version="6.0.0" />
<PackageReference Include="Castle.Core" Version="5.1.1" />
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.8.3" PrivateAssets="All" />
</ItemGroup>

</Project>

0 comments on commit d07ab7e

Please sign in to comment.