Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Castle Core, including Castle DynamicProxy, Logging Services and DictionaryAdapter
C# Other

Merge pull request #98 from castleproject/legacy-reflection-api-symbol

Conditionally opt-in legacy reflection API usage with FEATURE_LEGACY_REFLECTION_API
latest commit 9830b0477c
@jonorossi jonorossi authored
Failed to load latest commit information.
buildscripts Remove commented out code in build scripts
docs Import Castle DynamicProxy docs from the wiki
lib We need to run nunit-console that comes with the Mono distribution, s…
src Revert some calls to GetTypeInfo because they throw on Mono
tools Merge branch 'master' of
.editorconfig Altered Equality on ProxyGenerationOptions to consider attributes
.gitignore Added vim backup files to the ignore list
BreakingChanges.txt updated changes files Add
Castle.Core-SL.sln Remove unneeded MONO conditional symbols and MONO310 MSBuild configur…
Castle.Core.5.0.ReSharper Merge branch 'master' of
Castle.Core.5.1.ReSharper Merge branch '2.5.x'
Castle.Core.6.0.ReSharper Merge branch 'master' of
Castle.Core.6.1.ReSharper - trying to get the projects back into compilable shape
Castle.Core.sln Remove unneeded MONO conditional symbols and MONO310 MSBuild configur…
Castle.Core.sln.DotSettings some extra settings for R#
Changes.txt Update Changes.txt with recent changes.
ClickToBuild.cmd Merge branch 'master' of git:// into net45
License.txt Update copyright year Use TypeInfo reflection API
Settings-SL.proj Added Silverlight 5 support
Settings.proj Include Serilog.dll in the output directory.
build.cmd updates to the build for SL5

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.


See the Releases.


Copyright 2004-2015 Castle Project


Castle Core is licensed under the Apache 2.0 license. Refer to license.txt for more information.


.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


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 :white_check_mark: :white_check_mark: :no_entry_sign: :white_check_mark: :white_check_mark:
FEATURE_SERIALIZATION :white_check_mark: :white_check_mark: :white_check_mark: :no_entry_sign: :no_entry_sign:
DOTNET35 :white_check_mark: :no_entry_sign: :no_entry_sign: :no_entry_sign: :no_entry_sign:
DOTNET40 :no_entry_sign: :white_check_mark: :white_check_mark: :no_entry_sign: :no_entry_sign:
DOTNET45 :no_entry_sign: :no_entry_sign: :white_check_mark: :no_entry_sign: :no_entry_sign:
SILVERLIGHT :no_entry_sign: :no_entry_sign: :no_entry_sign: :white_check_mark: :white_check_mark:
SL4 :no_entry_sign: :no_entry_sign: :no_entry_sign: :white_check_mark: :no_entry_sign:
SL5 :no_entry_sign: :no_entry_sign: :no_entry_sign: :no_entry_sign: :white_check_mark:

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.