diff --git a/packaging/nuget/objectbuilder.autofac.nuspec b/packaging/nuget/objectbuilder.autofac.nuspec
deleted file mode 100644
index 553d1f5780f..00000000000
--- a/packaging/nuget/objectbuilder.autofac.nuspec
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
- NServiceBus.Autofac
- NServiceBus Autofac
- $version$
- NServiceBus Ltd
- NServiceBus Ltd
- http://particular.net/LicenseAgreement
- http://particular.net/
- http://s3.amazonaws.com/nuget.images/NServiceBus_32.png
- true
- The Autofac Container for the nservicebus
-
- Copyright 2010-2014 NServiceBus. All rights reserved
- nservicebus servicebus msmq cqrs publish subscribe
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/packaging/nuget/objectbuilder.castlewindsor.nuspec b/packaging/nuget/objectbuilder.castlewindsor.nuspec
deleted file mode 100644
index b1b5a75aee1..00000000000
--- a/packaging/nuget/objectbuilder.castlewindsor.nuspec
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
- NServiceBus.CastleWindsor
- NServiceBus CastleWindsor
- $version$
- NServiceBus Ltd
- NServiceBus Ltd
- http://particular.net/LicenseAgreement
- http://particular.net/
- http://s3.amazonaws.com/nuget.images/NServiceBus_32.png
- true
- The CastleWindsor Container for the nservicebus
-
- Copyright 2010-2014 NServiceBus. All rights reserved
- nservicebus servicebus msmq cqrs publish subscribe
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/packaging/nuget/objectbuilder.ninject.nuspec b/packaging/nuget/objectbuilder.ninject.nuspec
deleted file mode 100644
index 67e196ad1d4..00000000000
--- a/packaging/nuget/objectbuilder.ninject.nuspec
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
- NServiceBus.Ninject
- NServiceBus Ninject
- $version$
- NServiceBus Ltd
- NServiceBus Ltd
- http://particular.net/LicenseAgreement
- http://particular.net/
- http://s3.amazonaws.com/nuget.images/NServiceBus_32.png
- true
- The Ninject Container for the nservicebus
-
- Copyright 2010-2014 NServiceBus. All rights reserved
- nservicebus servicebus msmq cqrs publish subscribe
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/packaging/nuget/objectbuilder.spring.nuspec b/packaging/nuget/objectbuilder.spring.nuspec
deleted file mode 100644
index 64ace6bf147..00000000000
--- a/packaging/nuget/objectbuilder.spring.nuspec
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
- NServiceBus.Spring
- NServiceBus Spring
- $version$
- NServiceBus Ltd
- NServiceBus Ltd
- http://particular.net/LicenseAgreement
- http://particular.net/
- http://s3.amazonaws.com/nuget.images/NServiceBus_32.png
- true
- The Spring Container for the nservicebus
-
- Copyright 2010-2014 NServiceBus. All rights reserved
- nservicebus servicebus msmq cqrs publish subscribe
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/packaging/nuget/objectbuilder.structuremap.nuspec b/packaging/nuget/objectbuilder.structuremap.nuspec
deleted file mode 100644
index 3a1ada157df..00000000000
--- a/packaging/nuget/objectbuilder.structuremap.nuspec
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
- NServiceBus.StructureMap
- NServiceBus StructureMap
- $version$
- NServiceBus Ltd
- NServiceBus Ltd
- http://particular.net/LicenseAgreement
- http://particular.net/
- http://s3.amazonaws.com/nuget.images/NServiceBus_32.png
- true
- The StructureMap Container for the nservicebus
-
- Copyright 2010-2014 NServiceBus. All rights reserved
- nservicebus servicebus msmq cqrs publish subscribe
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/packaging/nuget/objectbuilder.unity.nuspec b/packaging/nuget/objectbuilder.unity.nuspec
deleted file mode 100644
index c562fc739de..00000000000
--- a/packaging/nuget/objectbuilder.unity.nuspec
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
- NServiceBus.Unity
- NServiceBus Unity
- $version$
- NServiceBus Ltd
- NServiceBus Ltd
- http://particular.net/LicenseAgreement
- http://particular.net/
- http://s3.amazonaws.com/nuget.images/NServiceBus_32.png
- true
- The Unity Container for the nservicebus
-
- Copyright 2010-2014 NServiceBus. All rights reserved
- nservicebus servicebus msmq cqrs publish subscribe
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/NServiceBus.AcceptanceTests/NServiceBus.AcceptanceTests.csproj b/src/NServiceBus.AcceptanceTests/NServiceBus.AcceptanceTests.csproj
index ae74570100c..8e84eef3652 100644
--- a/src/NServiceBus.AcceptanceTests/NServiceBus.AcceptanceTests.csproj
+++ b/src/NServiceBus.AcceptanceTests/NServiceBus.AcceptanceTests.csproj
@@ -235,30 +235,6 @@
-
- {73ec4ebe-826d-4a0a-8837-51d3458fc2a8}
- ObjectBuilder.Autofac
-
-
- {9a9a0bd5-ac37-4b90-b90f-fd1c1395febd}
- ObjectBuilder.CastleWindsor
-
-
- {c35ae1c7-c785-4629-a73d-977e0325d8b0}
- ObjectBuilder.Ninject
-
-
- {734d30cf-4376-488a-a6b4-1033fed93660}
- ObjectBuilder.Spring
-
-
- {c05e5b87-eb74-4a3f-b4fc-afdd28570850}
- ObjectBuilder.StructureMap
-
-
- {343b2e7a-e228-4b31-abb5-f5437b2e7a4c}
- ObjectBuilder.Unity
-
{dd48b2d0-e996-412d-9157-821ed8b17a9d}
NServiceBus.Core
diff --git a/src/NServiceBus.sln b/src/NServiceBus.sln
index 7cb5881a09a..f1cdd77f6d8 100644
--- a/src/NServiceBus.sln
+++ b/src/NServiceBus.sln
@@ -1,23 +1,9 @@
Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 2013
-VisualStudioVersion = 12.0.30723.0
+# Visual Studio 14
+VisualStudioVersion = 14.0.23107.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NServiceBus", "NServiceBus\NServiceBus.csproj", "{73867D40-8CBB-48E9-BFFA-12BBDD48A341}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ObjectBuilder.CastleWindsor", "ObjectBuilder.CastleWindsor\ObjectBuilder.CastleWindsor.csproj", "{9A9A0BD5-AC37-4B90-B90F-FD1C1395FEBD}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ObjectBuilder.StructureMap", "ObjectBuilder.StructureMap\ObjectBuilder.StructureMap.csproj", "{C05E5B87-EB74-4A3F-B4FC-AFDD28570850}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ObjectBuilder.Autofac", "ObjectBuilder.Autofac\ObjectBuilder.Autofac.csproj", "{73EC4EBE-826D-4A0A-8837-51D3458FC2A8}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ObjectBuilder.Unity", "ObjectBuilder.Unity\ObjectBuilder.Unity.csproj", "{343B2E7A-E228-4B31-ABB5-F5437B2E7A4C}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ObjectBuilder.Tests", "ObjectBuilder.Tests\ObjectBuilder.Tests.csproj", "{0A282BF4-0957-4074-8D5E-C2FB8634A3AA}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ObjectBuilder.Spring", "ObjectBuilder.Spring\ObjectBuilder.Spring.csproj", "{734D30CF-4376-488A-A6B4-1033FED93660}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ObjectBuilder.Ninject", "ObjectBuilder.Ninject\ObjectBuilder.Ninject.csproj", "{C35AE1C7-C785-4629-A73D-977E0325D8B0}"
-EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NServiceBus.SagaPersisters.InMemory.Tests", "NServiceBus.SagaPersisters.InMemory.Tests\NServiceBus.SagaPersisters.InMemory.Tests.csproj", "{BEC0A9DD-B275-4B62-BF61-22E25B593DB1}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NServiceBus.Serializers.XML.XsdGenerator", "NServiceBus.Serializers.XML.XsdGenerator\NServiceBus.Serializers.XML.XsdGenerator.csproj", "{85118B5C-6CAA-44B4-87EA-419DC6F4F2FB}"
@@ -26,8 +12,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NServiceBus.Logging.Tests",
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Core", "Core", "{258A3F0E-FAFA-4C13-9D5A-9E46661B22D2}"
EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ObjectBuilders", "ObjectBuilders", "{A650DE92-3B6D-4228-A1A2-FB06E74C1BD2}"
-EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{2904B75F-8F07-4C07-BABC-BC42533B3E75}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tools", "Tools", "{EF5E77D7-74B1-422D-B34E-AED35E19249E}"
@@ -92,76 +76,6 @@ Global
{73867D40-8CBB-48E9-BFFA-12BBDD48A341}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{73867D40-8CBB-48E9-BFFA-12BBDD48A341}.Release|x86.ActiveCfg = Release|Any CPU
{73867D40-8CBB-48E9-BFFA-12BBDD48A341}.Release|x86.Build.0 = Release|Any CPU
- {9A9A0BD5-AC37-4B90-B90F-FD1C1395FEBD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {9A9A0BD5-AC37-4B90-B90F-FD1C1395FEBD}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {9A9A0BD5-AC37-4B90-B90F-FD1C1395FEBD}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
- {9A9A0BD5-AC37-4B90-B90F-FD1C1395FEBD}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
- {9A9A0BD5-AC37-4B90-B90F-FD1C1395FEBD}.Debug|x86.ActiveCfg = Debug|Any CPU
- {9A9A0BD5-AC37-4B90-B90F-FD1C1395FEBD}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {9A9A0BD5-AC37-4B90-B90F-FD1C1395FEBD}.Release|Any CPU.Build.0 = Release|Any CPU
- {9A9A0BD5-AC37-4B90-B90F-FD1C1395FEBD}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
- {9A9A0BD5-AC37-4B90-B90F-FD1C1395FEBD}.Release|Mixed Platforms.Build.0 = Release|Any CPU
- {9A9A0BD5-AC37-4B90-B90F-FD1C1395FEBD}.Release|x86.ActiveCfg = Release|Any CPU
- {C05E5B87-EB74-4A3F-B4FC-AFDD28570850}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {C05E5B87-EB74-4A3F-B4FC-AFDD28570850}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {C05E5B87-EB74-4A3F-B4FC-AFDD28570850}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
- {C05E5B87-EB74-4A3F-B4FC-AFDD28570850}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
- {C05E5B87-EB74-4A3F-B4FC-AFDD28570850}.Debug|x86.ActiveCfg = Debug|Any CPU
- {C05E5B87-EB74-4A3F-B4FC-AFDD28570850}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {C05E5B87-EB74-4A3F-B4FC-AFDD28570850}.Release|Any CPU.Build.0 = Release|Any CPU
- {C05E5B87-EB74-4A3F-B4FC-AFDD28570850}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
- {C05E5B87-EB74-4A3F-B4FC-AFDD28570850}.Release|Mixed Platforms.Build.0 = Release|Any CPU
- {C05E5B87-EB74-4A3F-B4FC-AFDD28570850}.Release|x86.ActiveCfg = Release|Any CPU
- {73EC4EBE-826D-4A0A-8837-51D3458FC2A8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {73EC4EBE-826D-4A0A-8837-51D3458FC2A8}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {73EC4EBE-826D-4A0A-8837-51D3458FC2A8}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
- {73EC4EBE-826D-4A0A-8837-51D3458FC2A8}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
- {73EC4EBE-826D-4A0A-8837-51D3458FC2A8}.Debug|x86.ActiveCfg = Debug|Any CPU
- {73EC4EBE-826D-4A0A-8837-51D3458FC2A8}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {73EC4EBE-826D-4A0A-8837-51D3458FC2A8}.Release|Any CPU.Build.0 = Release|Any CPU
- {73EC4EBE-826D-4A0A-8837-51D3458FC2A8}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
- {73EC4EBE-826D-4A0A-8837-51D3458FC2A8}.Release|Mixed Platforms.Build.0 = Release|Any CPU
- {73EC4EBE-826D-4A0A-8837-51D3458FC2A8}.Release|x86.ActiveCfg = Release|Any CPU
- {343B2E7A-E228-4B31-ABB5-F5437B2E7A4C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {343B2E7A-E228-4B31-ABB5-F5437B2E7A4C}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {343B2E7A-E228-4B31-ABB5-F5437B2E7A4C}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
- {343B2E7A-E228-4B31-ABB5-F5437B2E7A4C}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
- {343B2E7A-E228-4B31-ABB5-F5437B2E7A4C}.Debug|x86.ActiveCfg = Debug|Any CPU
- {343B2E7A-E228-4B31-ABB5-F5437B2E7A4C}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {343B2E7A-E228-4B31-ABB5-F5437B2E7A4C}.Release|Any CPU.Build.0 = Release|Any CPU
- {343B2E7A-E228-4B31-ABB5-F5437B2E7A4C}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
- {343B2E7A-E228-4B31-ABB5-F5437B2E7A4C}.Release|Mixed Platforms.Build.0 = Release|Any CPU
- {343B2E7A-E228-4B31-ABB5-F5437B2E7A4C}.Release|x86.ActiveCfg = Release|Any CPU
- {0A282BF4-0957-4074-8D5E-C2FB8634A3AA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {0A282BF4-0957-4074-8D5E-C2FB8634A3AA}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {0A282BF4-0957-4074-8D5E-C2FB8634A3AA}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
- {0A282BF4-0957-4074-8D5E-C2FB8634A3AA}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
- {0A282BF4-0957-4074-8D5E-C2FB8634A3AA}.Debug|x86.ActiveCfg = Debug|Any CPU
- {0A282BF4-0957-4074-8D5E-C2FB8634A3AA}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {0A282BF4-0957-4074-8D5E-C2FB8634A3AA}.Release|Any CPU.Build.0 = Release|Any CPU
- {0A282BF4-0957-4074-8D5E-C2FB8634A3AA}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
- {0A282BF4-0957-4074-8D5E-C2FB8634A3AA}.Release|Mixed Platforms.Build.0 = Release|Any CPU
- {0A282BF4-0957-4074-8D5E-C2FB8634A3AA}.Release|x86.ActiveCfg = Release|Any CPU
- {734D30CF-4376-488A-A6B4-1033FED93660}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {734D30CF-4376-488A-A6B4-1033FED93660}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {734D30CF-4376-488A-A6B4-1033FED93660}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
- {734D30CF-4376-488A-A6B4-1033FED93660}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
- {734D30CF-4376-488A-A6B4-1033FED93660}.Debug|x86.ActiveCfg = Debug|Any CPU
- {734D30CF-4376-488A-A6B4-1033FED93660}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {734D30CF-4376-488A-A6B4-1033FED93660}.Release|Any CPU.Build.0 = Release|Any CPU
- {734D30CF-4376-488A-A6B4-1033FED93660}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
- {734D30CF-4376-488A-A6B4-1033FED93660}.Release|Mixed Platforms.Build.0 = Release|Any CPU
- {734D30CF-4376-488A-A6B4-1033FED93660}.Release|x86.ActiveCfg = Release|Any CPU
- {C35AE1C7-C785-4629-A73D-977E0325D8B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {C35AE1C7-C785-4629-A73D-977E0325D8B0}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {C35AE1C7-C785-4629-A73D-977E0325D8B0}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
- {C35AE1C7-C785-4629-A73D-977E0325D8B0}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
- {C35AE1C7-C785-4629-A73D-977E0325D8B0}.Debug|x86.ActiveCfg = Debug|Any CPU
- {C35AE1C7-C785-4629-A73D-977E0325D8B0}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {C35AE1C7-C785-4629-A73D-977E0325D8B0}.Release|Any CPU.Build.0 = Release|Any CPU
- {C35AE1C7-C785-4629-A73D-977E0325D8B0}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
- {C35AE1C7-C785-4629-A73D-977E0325D8B0}.Release|Mixed Platforms.Build.0 = Release|Any CPU
- {C35AE1C7-C785-4629-A73D-977E0325D8B0}.Release|x86.ActiveCfg = Release|Any CPU
{BEC0A9DD-B275-4B62-BF61-22E25B593DB1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BEC0A9DD-B275-4B62-BF61-22E25B593DB1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BEC0A9DD-B275-4B62-BF61-22E25B593DB1}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
@@ -330,13 +244,6 @@ Global
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{73867D40-8CBB-48E9-BFFA-12BBDD48A341} = {258A3F0E-FAFA-4C13-9D5A-9E46661B22D2}
- {9A9A0BD5-AC37-4B90-B90F-FD1C1395FEBD} = {A650DE92-3B6D-4228-A1A2-FB06E74C1BD2}
- {C05E5B87-EB74-4A3F-B4FC-AFDD28570850} = {A650DE92-3B6D-4228-A1A2-FB06E74C1BD2}
- {73EC4EBE-826D-4A0A-8837-51D3458FC2A8} = {A650DE92-3B6D-4228-A1A2-FB06E74C1BD2}
- {343B2E7A-E228-4B31-ABB5-F5437B2E7A4C} = {A650DE92-3B6D-4228-A1A2-FB06E74C1BD2}
- {0A282BF4-0957-4074-8D5E-C2FB8634A3AA} = {A650DE92-3B6D-4228-A1A2-FB06E74C1BD2}
- {734D30CF-4376-488A-A6B4-1033FED93660} = {A650DE92-3B6D-4228-A1A2-FB06E74C1BD2}
- {C35AE1C7-C785-4629-A73D-977E0325D8B0} = {A650DE92-3B6D-4228-A1A2-FB06E74C1BD2}
{BEC0A9DD-B275-4B62-BF61-22E25B593DB1} = {258A3F0E-FAFA-4C13-9D5A-9E46661B22D2}
{85118B5C-6CAA-44B4-87EA-419DC6F4F2FB} = {EF5E77D7-74B1-422D-B34E-AED35E19249E}
{CED929E4-5D17-4A5F-B74C-648331FF7E7A} = {258A3F0E-FAFA-4C13-9D5A-9E46661B22D2}
diff --git a/src/ObjectBuilder.Autofac/ConfigureAutofacBuilder.cs b/src/ObjectBuilder.Autofac/ConfigureAutofacBuilder.cs
deleted file mode 100644
index 3f2fd919328..00000000000
--- a/src/ObjectBuilder.Autofac/ConfigureAutofacBuilder.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-namespace NServiceBus
-{
- using Autofac;
- using ObjectBuilder.Autofac;
- using ObjectBuilder.Common.Config;
-
- ///
- /// Contains extension methods to .
- ///
- public static class ConfigureAutofacBuilder
- {
- ///
- /// Use the Autofac builder.
- ///
- /// The configuration context.
- /// The configuration context.
- public static Configure AutofacBuilder(this Configure config)
- {
- ConfigureCommon.With(config, new AutofacObjectBuilder());
- return config;
- }
-
- ///
- /// Use the Autofac builder passing in a pre-configured container to be used by nServiceBus.
- ///
- /// The configuration context.
- /// The root-most lifetime scope.
- /// The configuration context.
- public static Configure AutofacBuilder(this Configure config, ILifetimeScope rootScope)
- {
- ConfigureCommon.With(config, new AutofacObjectBuilder(rootScope));
- return config;
- }
- }
-}
\ No newline at end of file
diff --git a/src/ObjectBuilder.Autofac/FodyWeavers.xml b/src/ObjectBuilder.Autofac/FodyWeavers.xml
deleted file mode 100644
index 7172ab76b3b..00000000000
--- a/src/ObjectBuilder.Autofac/FodyWeavers.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/src/ObjectBuilder.Autofac/ObjectBuilder.Autofac.csproj b/src/ObjectBuilder.Autofac/ObjectBuilder.Autofac.csproj
deleted file mode 100644
index da640ae2288..00000000000
--- a/src/ObjectBuilder.Autofac/ObjectBuilder.Autofac.csproj
+++ /dev/null
@@ -1,116 +0,0 @@
-
-
-
- Debug
- AnyCPU
- 9.0.30729
- 2.0
- {73EC4EBE-826D-4A0A-8837-51D3458FC2A8}
- Library
- Properties
- NServiceBus.ObjectBuilder.Autofac
- NServiceBus.ObjectBuilder.Autofac
- v4.0
- 512
- true
- ..\NServiceBus.snk
- ..\
-
-
-
-
- true
- full
- false
- ..\..\binaries\containers\autofac\
- DEBUG;TRACE
- prompt
- 4
- ..\..\binaries\NServiceBus.ObjectBuilder.Autofac.xml
- AllRules.ruleset
- true
- 1591
-
-
- pdbonly
- true
- ..\..\binaries\containers\autofac\
- TRACE
- prompt
- 4
- ..\..\binaries\NServiceBus.ObjectBuilder.Autofac.xml
- AllRules.ruleset
- true
- 1591
-
-
-
- False
- ..\packages\Autofac.3.1.5\lib\net40\Autofac.dll
-
-
- False
- ..\packages\Janitor.Fody.1.1.0.0\Lib\portable-net4+sl5+wp8+win8+wpa81+MonoAndroid16+MonoTouch40\Janitor.dll
- False
-
-
-
-
-
-
-
- AutofacObjectBuilder.cs
-
-
-
-
-
-
- False
- .NET Framework 3.5 SP1 Client Profile
- false
-
-
- False
- .NET Framework 3.5 SP1
- true
-
-
- False
- Windows Installer 3.1
- true
-
-
-
-
- {73867d40-8cbb-48e9-bffa-12bbdd48a341}
- NServiceBus
- False
-
-
- {DD48B2D0-E996-412D-9157-821ED8B17A9D}
- NServiceBus.Core
- False
-
-
-
-
-
-
-
- Designer
-
-
-
-
-
- This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/ObjectBuilder.Autofac/Properties/AssemblyInfo.cs b/src/ObjectBuilder.Autofac/Properties/AssemblyInfo.cs
deleted file mode 100644
index 192186459f8..00000000000
--- a/src/ObjectBuilder.Autofac/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using System;
-using System.Reflection;
-using System.Runtime.InteropServices;
-
-[assembly: AssemblyTitle("NServiceBus Container Autofac Implementation")]
-[assembly: AssemblyDescription("Implementation of container functionality on top of Autofac.")]
-[assembly: AssemblyCopyright("Copyright 2010-2014 NServiceBus. All rights reserved")]
-[assembly: AssemblyProduct("NServiceBus")]
-[assembly: AssemblyCompany("NServiceBus Ltd.")]
-[assembly: ComVisible(false)]
-[assembly: CLSCompliant(true)]
\ No newline at end of file
diff --git a/src/ObjectBuilder.Autofac/packages.config b/src/ObjectBuilder.Autofac/packages.config
deleted file mode 100644
index bb15073e027..00000000000
--- a/src/ObjectBuilder.Autofac/packages.config
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/ObjectBuilder.CastleWindsor/ConfigureWindsorBuilder.cs b/src/ObjectBuilder.CastleWindsor/ConfigureWindsorBuilder.cs
deleted file mode 100644
index 1466b408726..00000000000
--- a/src/ObjectBuilder.CastleWindsor/ConfigureWindsorBuilder.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-namespace NServiceBus
-{
- using Castle.Windsor;
- using ObjectBuilder.CastleWindsor;
- using ObjectBuilder.Common.Config;
-
- ///
- /// Contains extension methods to NServiceBus.Configure.
- ///
- public static class ConfigureWindsorBuilder
- {
- ///
- /// Use the Castle Windsor builder.
- ///
- public static Configure CastleWindsorBuilder(this Configure config)
- {
- ConfigureCommon.With(config, new WindsorObjectBuilder());
-
- return config;
- }
-
- ///
- /// Use the Castle Windsor builder passing in a pre-configured container to be used by nServiceBus.
- ///
- public static Configure CastleWindsorBuilder(this Configure config, IWindsorContainer container)
- {
- ConfigureCommon.With(config, new WindsorObjectBuilder(container));
-
- return config;
- }
- }
-}
\ No newline at end of file
diff --git a/src/ObjectBuilder.CastleWindsor/ExternalInstanceActivatorWithDecommissionConcern.cs b/src/ObjectBuilder.CastleWindsor/ExternalInstanceActivatorWithDecommissionConcern.cs
deleted file mode 100644
index be64525c6a7..00000000000
--- a/src/ObjectBuilder.CastleWindsor/ExternalInstanceActivatorWithDecommissionConcern.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-namespace NServiceBus.ObjectBuilder.CastleWindsor
-{
- using Castle.Core;
- using Castle.MicroKernel;
- using Castle.MicroKernel.ComponentActivator;
- using Castle.MicroKernel.Context;
-
- class ExternalInstanceActivatorWithDecommissionConcern : AbstractComponentActivator, IDependencyAwareActivator
- {
- public ExternalInstanceActivatorWithDecommissionConcern(ComponentModel model, IKernelInternal kernel, ComponentInstanceDelegate onCreation, ComponentInstanceDelegate onDestruction)
- : base(model, kernel, onCreation, onDestruction)
- {
- }
-
- public bool CanProvideRequiredDependencies(ComponentModel component)
- {
- //we already have an instance so we don't need to provide any dependencies at all
- return true;
- }
-
- public bool IsManagedExternally(ComponentModel component)
- {
- return false;
- }
-
- protected override object InternalCreate(CreationContext context)
- {
- return Model.ExtendedProperties["instance"];
- }
-
- protected override void InternalDestroy(object instance)
- {
- ApplyDecommissionConcerns(instance);
- }
- }
-}
\ No newline at end of file
diff --git a/src/ObjectBuilder.CastleWindsor/FodyWeavers.xml b/src/ObjectBuilder.CastleWindsor/FodyWeavers.xml
deleted file mode 100644
index 7172ab76b3b..00000000000
--- a/src/ObjectBuilder.CastleWindsor/FodyWeavers.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/src/ObjectBuilder.CastleWindsor/NoOpInterpreter.cs b/src/ObjectBuilder.CastleWindsor/NoOpInterpreter.cs
deleted file mode 100644
index 3117dbb0c8a..00000000000
--- a/src/ObjectBuilder.CastleWindsor/NoOpInterpreter.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-namespace NServiceBus.ObjectBuilder.CastleWindsor
-{
- using Castle.Core.Resource;
- using Castle.MicroKernel;
- using Castle.MicroKernel.SubSystems.Configuration;
- using Castle.Windsor.Configuration.Interpreters;
-
- class NoOpInterpreter : AbstractInterpreter
- {
- public override void ProcessResource(IResource resource, IConfigurationStore store, IKernel kernel)
- {
-
- }
- }
-}
\ No newline at end of file
diff --git a/src/ObjectBuilder.CastleWindsor/ObjectBuilder.CastleWindsor.csproj b/src/ObjectBuilder.CastleWindsor/ObjectBuilder.CastleWindsor.csproj
deleted file mode 100644
index 5e99804b51e..00000000000
--- a/src/ObjectBuilder.CastleWindsor/ObjectBuilder.CastleWindsor.csproj
+++ /dev/null
@@ -1,106 +0,0 @@
-
-
-
- Debug
- AnyCPU
- 9.0.30729
- 2.0
- {9A9A0BD5-AC37-4B90-B90F-FD1C1395FEBD}
- Library
- Properties
- NServiceBus.ObjectBuilder.CastleWindsor
- NServiceBus.ObjectBuilder.CastleWindsor
- v4.0
- 512
- true
- ..\NServiceBus.snk
- ..\
-
-
-
-
- true
- full
- false
- ..\..\binaries\containers\castle\
- TRACE;DEBUG
- prompt
- 4
- ..\..\binaries\containers\castle\NServiceBus.ObjectBuilder.CastleWindsor.xml
- AllRules.ruleset
- 1591,1573
- true
-
-
- pdbonly
- true
- ..\..\binaries\containers\castle\
- TRACE
- prompt
- 4
- ..\..\binaries\containers\castle\NServiceBus.ObjectBuilder.CastleWindsor.xml
- AllRules.ruleset
- 1591,1573
- true
-
-
-
- False
- ..\packages\Castle.Core.3.2.1\lib\net40-client\Castle.Core.dll
-
-
- False
- ..\packages\Castle.Windsor.3.2.1\lib\net40\Castle.Windsor.dll
-
-
- False
- ..\packages\Janitor.Fody.1.1.0.0\Lib\portable-net4+sl5+wp8+win8+wpa81+MonoAndroid16+MonoTouch40\Janitor.dll
- False
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {73867d40-8cbb-48e9-bffa-12bbdd48a341}
- NServiceBus
- False
-
-
- {DD48B2D0-E996-412D-9157-821ED8B17A9D}
- NServiceBus.Core
- False
-
-
-
-
-
-
-
- Designer
-
-
-
-
-
- This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/ObjectBuilder.CastleWindsor/Properties/AssemblyInfo.cs b/src/ObjectBuilder.CastleWindsor/Properties/AssemblyInfo.cs
deleted file mode 100644
index c21f96f42fe..00000000000
--- a/src/ObjectBuilder.CastleWindsor/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using System;
-using System.Reflection;
-using System.Runtime.InteropServices;
-
-[assembly: AssemblyTitle("NServiceBus Object Builder Castle Implementation")]
-[assembly: AssemblyDescription("Implementation of object building functionality on top of Castle Windsor.")]
-[assembly: AssemblyCopyright("Copyright 2010-2014 NServiceBus. All rights reserved")]
-[assembly: AssemblyProduct("NServiceBus")]
-[assembly: AssemblyCompany("NServiceBus Ltd.")]
-[assembly: ComVisible(false)]
-[assembly: CLSCompliant(true)]
\ No newline at end of file
diff --git a/src/ObjectBuilder.CastleWindsor/WindsorObjectBuilder.cs b/src/ObjectBuilder.CastleWindsor/WindsorObjectBuilder.cs
deleted file mode 100644
index d4f52801acf..00000000000
--- a/src/ObjectBuilder.CastleWindsor/WindsorObjectBuilder.cs
+++ /dev/null
@@ -1,182 +0,0 @@
-namespace NServiceBus.ObjectBuilder.CastleWindsor
-{
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using Castle.Core;
- using Castle.MicroKernel.Lifestyle;
- using Castle.MicroKernel.Registration;
- using Castle.Windsor;
- using Common;
- using Logging;
-
- ///
- /// Castle Windsor implementation of IContainer.
- ///
- public class WindsorObjectBuilder : IContainer
- {
- IWindsorContainer container;
- IDisposable scope;
- static ILog Logger = LogManager.GetLogger(typeof(WindsorObjectBuilder));
-
- ///
- /// Instantiates the class with a new WindsorContainer.
- ///
- public WindsorObjectBuilder()
- : this(new WindsorContainer())
- {
- }
-
- ///
- /// Instantiates the class saving the given container.
- ///
- public WindsorObjectBuilder(IWindsorContainer container)
- {
- if (container == null)
- {
- throw new ArgumentNullException("container", "The object builder must be initialized with a valid windsor container");
- }
-
- this.container = container;
- }
-
- public void Dispose()
- {
- //Injected at compile time
- }
-
- void DisposeManaged()
- {
- //if we are in a child scope dispose of that but not the parent container
- if (scope != null)
- {
- scope.Dispose();
- return;
- }
- if (container != null)
- {
- container.Dispose();
- }
- }
-
-
- ///
- /// Returns a child instance of the container to facilitate deterministic disposal
- /// of all resources built by the child container.
- ///
- public IContainer BuildChildContainer()
- {
- return new WindsorObjectBuilder(container)
- {
- scope = container.Kernel.BeginScope()
- };
- }
-
-
- void IContainer.Configure(Type concreteComponent, DependencyLifecycle dependencyLifecycle)
- {
- var registrations = container.Kernel.GetAssignableHandlers(concreteComponent).Select(x=>x.ComponentModel);
-
- if (registrations.Any())
- {
- Logger.Info("Component " + concreteComponent.FullName + " was already registered in the container.");
- return;
- }
-
- var lifestyle = GetLifestyleTypeFrom(dependencyLifecycle);
- var services = GetAllServiceTypesFor(concreteComponent);
-
- container.Register(Component.For(services).ImplementedBy(concreteComponent).LifeStyle.Is(lifestyle));
- }
-
- void IContainer.Configure(Func componentFactory, DependencyLifecycle dependencyLifecycle)
- {
- var componentType = typeof (T);
- var registrations = container.Kernel.GetAssignableHandlers(componentType).Select(x => x.ComponentModel);
-
- if (registrations.Any())
- {
- Logger.Info("Component " + componentType.FullName + " was already registered in the container.");
- return;
- }
-
- var lifestyle = GetLifestyleTypeFrom(dependencyLifecycle);
- var services = GetAllServiceTypesFor(componentType);
-
- container.Register(Component.For(services).UsingFactoryMethod(componentFactory).LifeStyle.Is(lifestyle));
- }
-
- void IContainer.ConfigureProperty(Type component, string property, object value)
- {
- var registration = container.Kernel.GetAssignableHandlers(component).Select(x => x.ComponentModel).SingleOrDefault();
-
- if (registration == null)
- {
- var message = "Cannot configure property for a type which hadn't been configured yet. Please call 'Configure' first.";
- throw new InvalidOperationException(message);
- }
-
- var dependency = Property.ForKey(property).Eq(value);
- registration.CustomDependencies[dependency.Key] = dependency.Value;
- }
-
- void IContainer.RegisterSingleton(Type lookupType, object instance)
- {
- var registration = container.Kernel.GetAssignableHandlers(lookupType).Select(x => x.ComponentModel).FirstOrDefault();
-
- if (registration != null)
- {
- registration.ExtendedProperties["instance"] = instance;
- return;
- }
-
- var services = GetAllServiceTypesFor( instance.GetType() ).Union( new[] { lookupType } );
-
- container.Register(Component.For(services).Activator().Instance(instance).LifestyleSingleton());
- }
-
- object IContainer.Build(Type typeToBuild)
- {
- return container.Resolve(typeToBuild);
- }
-
- IEnumerable