Skip to content
Castle Core, including Castle DynamicProxy, Logging Services and DictionaryAdapter
C# Other
Failed to load latest commit information.
buildscripts Fix NuGet package icon URL Apr 7, 2016
docs Update users of DynamicProxy and fix broken URLs Apr 30, 2016
lib Correct file name casing. Mar 15, 2016
src Merge pull request #159 from jeremymeng/mono_net40 Mar 22, 2016
tools Merge branch 'master' of github.com:castleproject/Core Nov 6, 2011
.editorconfig Altered Equality on ProxyGenerationOptions to consider attributes Feb 2, 2015
.gitignore Added vim backup files to the ignore list Jun 18, 2012
BreakingChanges.txt updated changes files Jul 7, 2012
CONTRIBUTING.md Add CONTRIBUTING.md Apr 27, 2015
Castle.Core-SL.sln Remove unneeded MONO conditional symbols and MONO310 MSBuild configur… Jun 23, 2015
Castle.Core.5.0.ReSharper Merge branch 'master' of github.com:castleproject/Core Nov 6, 2011
Castle.Core.5.1.ReSharper Merge branch '2.5.x' Nov 6, 2010
Castle.Core.6.0.ReSharper Merge branch 'master' of github.com:castleproject/Core Nov 6, 2011
Castle.Core.6.1.ReSharper - trying to get the projects back into compilable shape Nov 6, 2011
Castle.Core.sln Remove unneeded MONO conditional symbols and MONO310 MSBuild configur… Jun 22, 2015
Castle.Core.sln.DotSettings some extra settings for R# Mar 19, 2014
Changes.txt Update Changes.txt with recent changes. Mar 17, 2015
ClickToBuild.cmd Merge branch 'master' of git://github.com/cprieto/Core into net45 Aug 20, 2012
License.txt Update copyright year May 28, 2015
README.md Refactor unit tests to support NUnit and xUnit.net Aug 19, 2015
Settings-SL.proj Added Silverlight 5 support Oct 19, 2012
Settings.proj Correct file name casing. Mar 15, 2016
build.cmd updates to the build for SL5 Feb 16, 2013

README.md

Castle Core

Castle Core provides common Castle Project abstractions including logging services. It also features Castle DynamicProxy a lightweight runtime proxy generator, and Castle DictionaryAdapter.

See the documentation.

Releases

See the Releases.

License

Castle Core is © 2004-2015 Castle Project. It is free software, and may be redistributed under the terms of the Apache 2.0 license.

Building

.NET Framework and Silverlight

msbuild /p:Configuration=NET45-Release /t:RunAllTests buildscripts/Build.proj
msbuild /p:Configuration=NET40-Release /t:RunAllTests buildscripts/Build.proj
msbuild /p:Configuration=NET35-Release /t:RunAllTests buildscripts/Build.proj
msbuild /p:Configuration=SL50-Release /t:RunAllTests buildscripts/Build.proj
msbuild /p:Configuration=SL40-Release /t:RunAllTests buildscripts/Build.proj

Mono

Castle Core supports Mono 4.0.2+, previous 4.x releases have serious runtime bugs that cause runtime crashes. Mono 3.x releases used to work well, but are not supported.

xbuild /p:Configuration=NET45-Release /t:RunAllTests buildscripts/Build.proj

Conditional Compilation Symbols

The following conditional compilation symbols (vertical) are currently defined for each of the build configurations (horizontal):

Symbol NET35 NET40 NET45 SL40 SL50
FEATURE_LEGACY_REFLECTION_API 🚫
FEATURE_SERIALIZATION 🚫 🚫
FEATURE_XUNITNET 🚫 🚫 🚫 🚫 🚫
DOTNET35 🚫 🚫 🚫 🚫
DOTNET40 🚫 🚫 🚫
DOTNET45 🚫 🚫 🚫 🚫
SILVERLIGHT 🚫 🚫 🚫
SL4 🚫 🚫 🚫 🚫
SL5 🚫 🚫 🚫 🚫

The __MonoCS__ symbol is used only in unit tests when compiled on Mono to work around Mono defects and non-Windows differences, however we are trying to move away from platform specific symbols as much as possible.

Something went wrong with that request. Please try again.