Yes, you need to roll this file back to the previous build that does
not use RWL Slim (1 or 2 revs). After that there will be a series of
other changes required because the syntax is 3.0 or greater.

Jan Limpens wrote:
> When I try to default build the solution with 2.0, I get a
>
> [csc]
> c:\data\castle\castle\trunk\InversionOfControl\Castle.MicroKernel\Releasers\AllComponentsReleasePolicy.cs(27,20):
> error CS0246: The type or namespace name 'ReaderWriterLockSlim' could not be
> found (are you missing a using directive or an assembly reference?)
>
> ReaderWriterLockSlim is only supported in 3.5 (
> http://msdn.microsoft.com/en-us/library/system.threading.readerwriterlockslim.aspx),
> so 2.0 builds must fail. no go.
>
> I check the build log again and investigate the 3.5 issue.
> so I go to
> C:\data\castle\castle\trunk\Tools\VSNetWizards\Castle.VSNetIntegration.CastleWizards
> and build with 3.5. I get the known error, if I just say nant (and the 2.0
> default seems to kick in), the build succeeds.
>
> Why the 3.5 sdk is found in many, but not all projects is beyond me. If I
> compare a working build project with the failing wizards.build, I do not see
> anything that strikes me as strange.
>
>
> On Mon, Oct 27, 2008 at 1:05 PM, Jan Limpens <[EMAIL PROTECTED]> wrote:
>
> > ah! and it does make a huge difference!
> > it seems that when hitting the problems, the build stops executing and only
> > a small part of the castle solution is build (which probably led to my other
> > problems concerning the brail view engine)
> >
> > i'll post the build log, maybe it can assist a kind sould in helping me
> > sorting this out :)
> >
> > ---
> >
> > NAnt 0.86 (Build 0.86.3152.0; nightly; 18.08.2008)
> > Copyright (C) 2001-2008 Gerry Shaw
> > http://nant.sourceforge.net
> >
> > Buildfile: file:///C:/data/castle/castle/trunk/default.build
> > Target framework: Microsoft .NET Framework 3.5
> > Target(s) specified: build
> >
> >
> > common.check-nant-version:
> >
> >
> > common.find-tools:
> >
> >
> > set-framework-configuration:
> >
> >
> > set-net-3.5-framework-configuration:
> >
> >
> > set-project-configuration:
> >
> >
> > set-debug-project-configuration:
> >
> >
> > common.init:
> >
> >
> > init:
> >
> >     [mkdir] Creating directory
> > 'C:\data\castle\castle\trunk\build\net-3.5\debug\test-results'.
> >
> > common.find-svninfo:
> >
> >      [exec] <?xml version="1.0"?>
> >      [exec] <info>
> >      [exec] <entry
> >      [exec]    kind="dir"
> >      [exec]    path="C:\data\castle\castle\trunk"
> >      [exec]    revision="5388">
> >      [exec] <url>http://svn.castleproject.org:8080/svn/castle/trunk</url>
> >      [exec] <repository>
> >      [exec] <root>http://svn.castleproject.org:8080/svn/castle</root>
> >      [exec] <uuid>73e77b4c-caa6-f847-a29a-24ab75ae54b6</uuid>
> >      [exec] </repository>
> >      [exec] <wc-info>
> >      [exec] <schedule>normal</schedule>
> >      [exec] <depth>infinity</depth>
> >      [exec] </wc-info>
> >      [exec] <commit
> >      [exec]    revision="5388">
> >      [exec] <author>hammett</author>
> >      [exec] <date>2008-10-25T02:42:42.223250Z</date>
> >      [exec] </commit>
> >      [exec] </entry>
> >      [exec] </info>
> >   [xmlpeek] Peeking at 'C:\data\castle\castle\trunk\_revision.xml' with
> > XPath expression '/info/entry/@revision'.
> >   [xmlpeek] Found '1' nodes with the XPath expression
> > '/info/entry/@revision'.
> >    [delete] Deleting file C:\data\castle\castle\trunk\_revision.xml.
> >      [echo] INFO: Using Subversion revision number: 5388
> >
> > copy-referenced-assemblies:
> >
> >      [copy] Copying 7 files to
> > 'C:\data\castle\castle\trunk\build\net-3.5\debug'.
> >      [copy] Copying 39 files to
> > 'C:\data\castle\castle\trunk\build\net-3.5\debug'.
> >      [copy] Copying 2 files to
> > 'C:\data\castle\castle\trunk\build\net-3.5\debug'.
> >
> > build:
> >
> >      [nant] C:\data\castle\castle\trunk\Core\core.build build
> >             Buildfile: file:///C:/data/castle/castle/trunk/Core/core.build
> >             Target framework: Microsoft .NET Framework 3.5
> >             Target(s) specified: build
> >
> >
> >             common.build:
> >
> >                  [nant]
> > C:\data\castle\castle\trunk\Core\Castle.Core\Castle.Core.build
> >                         Buildfile:
> > file:///C:/data/castle/castle/trunk/Core/Castle.Core/Castle.Core.build
> >                         Target framework: Microsoft .NET Framework 3.5
> >                         Target(s) specified: build
> >
> >
> >                         common.check-nant-version:
> >
> >
> >                         common.find-tools:
> >
> >
> >                         set-framework-configuration:
> >
> >
> >                         set-net-3.5-framework-configuration:
> >
> >
> >                         set-project-configuration:
> >
> >
> >                         set-debug-project-configuration:
> >
> >
> >                         common.init:
> >
> >
> >                         init:
> >
> >
> >                         common.set-assembly-attribute-values:
> >
> >
> >                         common.generate-assemblyinfo:
> >
> >                            [attrib] Setting file attributes for 1 files to
> > Normal.
> >
> >                         generate-assemblyinfo:
> >
> >
> >                         common.compile-dll:
> >
> >                               [csc] Compiling 86 files to
> > 'C:\data\castle\castle\trunk\build\net-3.5\debug\Castle.Core.dll'.
> >
> >                         build:
> >
> >
> >                         BUILD SUCCEEDED
> >
> >                         Total time: 1.1 seconds.
> >
> >
> >             build:
> >
> >
> >             BUILD SUCCEEDED
> >
> >             Total time: 1.2 seconds.
> >
> >      [nant] C:\data\castle\castle\trunk\Services\services.build build
> >             Buildfile:
> > file:///C:/data/castle/castle/trunk/Services/services.build
> >             Target framework: Microsoft .NET Framework 3.5
> >             Target(s) specified: build
> >
> >
> >             common.build:
> >
> >                  [nant]
> > C:\data\castle\castle\trunk\Services\Transaction\Transaction.build
> >                         Buildfile:
> > file:///C:/data/castle/castle/trunk/Services/Transaction/Transaction.build
> >                         Target framework: Microsoft .NET Framework 3.5
> >                         Target(s) specified: build
> >
> >
> >                         common.build:
> >
> >                              [nant]
> > C:\data\castle\castle\trunk\Services\Transaction\Castle.Services.Transaction\Castle.Services.Transaction.build
> >
> >                                     Buildfile:
> > file:///C:/data/castle/castle/trunk/Services/Transaction/Castle.Services.Transaction/Castle.Services.Transaction.build
> >                                     Target framework: Microsoft .NET
> > Framework 3.5
> >                                     Target(s) specified: build
> >
> >
> >                                     common.check-nant-version:
> >
> >
> >                                     common.find-tools:
> >
> >
> >                                     set-framework-configuration:
> >
> >
> >                                     set-net-3.5-framework-configuration:
> >
> >
> >                                     set-project-configuration:
> >
> >
> >                                     set-debug-project-configuration:
> >
> >
> >                                     common.init:
> >
> >
> >                                     init:
> >
> >
> >                                     common.set-assembly-attribute-values:
> >
> >
> >                                     common.generate-assemblyinfo:
> >
> >                                        [attrib] Setting file attributes for
> > 1 files to Normal.
> >
> >                                     generate-assemblyinfo:
> >
> >
> >                                     common.compile-dll:
> >
> >                                           [csc] Compiling 18 files to
> > 'C:\data\castle\castle\trunk\build\net-3.5\debug\Castle.Services.Transaction.dll'.
> >
> >                                     build:
> >
> >
> >                                     BUILD SUCCEEDED
> >
> >                                     Total time: 0.7 seconds.
> >
> >
> >                         build:
> >
> >
> >                         BUILD SUCCEEDED
> >
> >                         Total time: 0.8 seconds.
> >
> >                  [nant]
> > C:\data\castle\castle\trunk\Services\Logging\logging.build
> >                         Buildfile:
> > file:///C:/data/castle/castle/trunk/Services/Logging/logging.build
> >                         Target framework: Microsoft .NET Framework 3.5
> >                         Target(s) specified: build
> >
> >
> >                         common.build:
> >
> >                              [nant]
> > C:\data\castle\castle\trunk\Services\Logging\Castle.Services.Logging.log4netIntegration\Castle.Services.Logging.log4netIntegration.build
> >
> >                                     Buildfile:
> > file:///C:/data/castle/castle/trunk/Services/Logging/Castle.Services.Logging.log4netIntegration/Castle.Services.Logging.log4netIntegration.build
> >                                     Target framework: Microsoft .NET
> > Framework 3.5
> >                                     Target(s) specified: build
> >
> >
> >                                     common.check-nant-version:
> >
> >
> >                                     common.find-tools:
> >
> >
> >                                     set-framework-configuration:
> >
> >
> >                                     set-net-3.5-framework-configuration:
> >
> >
> >                                     set-project-configuration:
> >
> >
> >                                     set-debug-project-configuration:
> >
> >
> >                                     common.init:
> >
> >
> >                                     init:
> >
> >
> >                                     common.set-assembly-attribute-values:
> >
> >
> >                                     common.generate-assemblyinfo:
> >
> >                                        [attrib] Setting file attributes for
> > 1 files to Normal.
> >
> >                                     generate-assemblyinfo:
> >
> >
> >                                     common.compile-dll:
> >
> >                                           [csc] Compiling 9 files to
> > 'C:\data\castle\castle\trunk\build\net-3.5\debug\Castle.Services.Logging.Log4netIntegration.dll'.
> >
> >                                     build:
> >
> >
> >                                     BUILD SUCCEEDED
> >
> >                                     Total time: 0.7 seconds.
> >
> >                              [nant]
> > C:\data\castle\castle\trunk\Services\Logging\Castle.Services.Logging.NLogIntegration\Castle.Services.Logging.NLogIntegration.build
> >
> >                                     Buildfile:
> > file:///C:/data/castle/castle/trunk/Services/Logging/Castle.Services.Logging.NLogIntegration/Castle.Services.Logging.NLogIntegration.build
> >                                     Target framework: Microsoft .NET
> > Framework 3.5
> >                                     Target(s) specified: build
> >
> >
> >                                     common.check-nant-version:
> >
> >
> >                                     common.find-tools:
> >
> >
> >                                     set-framework-configuration:
> >
> >
> >                                     set-net-3.5-framework-configuration:
> >
> >
> >                                     set-project-configuration:
> >
> >
> >                                     set-debug-project-configuration:
> >
> >
> >                                     common.init:
> >
> >
> >                                     init:
> >
> >
> >                                     common.set-assembly-attribute-values:
> >
> >
> >                                     common.generate-assemblyinfo:
> >
> >                                        [attrib] Setting file attributes for
> > 1 files to Normal.
> >
> >                                     generate-assemblyinfo:
> >
> >
> >                                     common.compile-dll:
> >
> >                                           [csc] Compiling 9 files to
> > 'C:\data\castle\castle\trunk\build\net-3.5\debug\Castle.Services.Logging.NLogIntegration.dll'.
> >
> >                                     build:
> >
> >
> >                                     BUILD SUCCEEDED
> >
> >                                     Total time: 0.7 seconds.
> >
> >
> >                         build:
> >
> >
> >                         BUILD SUCCEEDED
> >
> >                         Total time: 1.5 seconds.
> >
> >
> >             build:
> >
> >
> >             BUILD SUCCEEDED
> >
> >             Total time: 2.4 seconds.
> >
> >      [nant] C:\data\castle\castle\trunk\Tools\Tools.build build
> >             Buildfile:
> > file:///C:/data/castle/castle/trunk/Tools/Tools.build
> >             Target framework: Microsoft .NET Framework 3.5
> >             Target(s) specified: build
> >
> >
> >             common.build:
> >
> >                  [nant]
> > C:\data\castle\castle\trunk\Tools\DynamicProxy\DynamicProxy.build
> >                         Buildfile:
> > file:///C:/data/castle/castle/trunk/Tools/DynamicProxy/DynamicProxy.build
> >                         Target framework: Microsoft .NET Framework 3.5
> >                         Target(s) specified: build
> >
> >
> >                         common.build:
> >
> >                              [nant]
> > C:\data\castle\castle\trunk\Tools\DynamicProxy\Castle.DynamicProxy\Castle.DynamicProxy.build
> >
> >                                     Buildfile:
> > file:///C:/data/castle/castle/trunk/Tools/DynamicProxy/Castle.DynamicProxy/Castle.DynamicProxy.build
> >                                     Target framework: Microsoft .NET
> > Framework 3.5
> >                                     Target(s) specified: build
> >
> >
> >                                     common.check-nant-version:
> >
> >
> >                                     common.find-tools:
> >
> >
> >                                     set-framework-configuration:
> >
> >
> >                                     set-net-3.5-framework-configuration:
> >
> >
> >                                     set-project-configuration:
> >
> >
> >                                     set-debug-project-configuration:
> >
> >
> >                                     common.init:
> >
> >
> >                                     init:
> >
> >                                      [property] Read-only property
> > "assembly.allow-partially-trusted-callers" cannot be overwritten.
> >
> >                                     common.set-assembly-attribute-values:
> >
> >
> >                                     common.generate-assemblyinfo:
> >
> >                                        [attrib] Setting file attributes for
> > 1 files to Normal.
> >
> >                                     generate-assemblyinfo:
> >
> >
> >                                     common.compile-dll:
> >
> >                                           [csc] Compiling 82 files to
> > 'C:\data\castle\castle\trunk\build\net-3.5\debug\Castle.DynamicProxy.dll'.
> >
> >                                     build:
> >
> >
> >                                     BUILD SUCCEEDED - 0 non-fatal error(s),
> > 1 warning(s)
> >
> >                                     Total time: 0.9 seconds.
> >
> >
> >                         build:
> >
> >
> >                         BUILD SUCCEEDED
> >
> >                         Total time: 1 seconds.
> >
> >                  [nant]
> > C:\data\castle\castle\trunk\Tools\Castle.DynamicProxy2\Castle.DynamicProxy2.build
> >
> >                         Buildfile:
> > file:///C:/data/castle/castle/trunk/Tools/Castle.DynamicProxy2/Castle.DynamicProxy2.build
> >                         Target framework: Microsoft .NET Framework 3.5
> >                         Target(s) specified: build
> >
> >
> >                         common.build:
> >
> >                              [nant]
> > C:\data\castle\castle\trunk\Tools\Castle.DynamicProxy2\Castle.DynamicProxy\Castle.DynamicProxy.build
> >
> >                                     Buildfile:
> > file:///C:/data/castle/castle/trunk/Tools/Castle.DynamicProxy2/Castle.DynamicProxy/Castle.DynamicProxy.build
> >                                     Target framework: Microsoft .NET
> > Framework 3.5
> >                                     Target(s) specified: build
> >
> >
> >                                     common.check-nant-version:
> >
> >
> >                                     common.find-tools:
> >
> >
> >                                     set-framework-configuration:
> >
> >
> >                                     set-net-3.5-framework-configuration:
> >
> >
> >                                     set-project-configuration:
> >
> >
> >                                     set-debug-project-configuration:
> >
> >
> >                                     common.init:
> >
> >
> >                                     init:
> >
> >                                      [property] Read-only property
> > "assembly.allow-partially-trusted-callers" cannot be overwritten.
> >
> >                                     common.set-assembly-attribute-values:
> >
> >
> >                                     common.generate-assemblyinfo:
> >
> >                                        [attrib] Setting file attributes for
> > 1 files to Normal.
> >
> >                                     generate-assemblyinfo:
> >
> >
> >                                     common.compile-dll:
> >
> >                                           [csc] Compiling 88 files to
> > 'C:\data\castle\castle\trunk\build\net-3.5\debug\Castle.DynamicProxy2.dll'.
> >
> >                                     build:
> >
> >
> >                                     BUILD SUCCEEDED - 0 non-fatal error(s),
> > 1 warning(s)
> >
> >                                     Total time: 0.9 seconds.
> >
> >
> >                         build:
> >
> >
> >                         BUILD SUCCEEDED
> >
> >                         Total time: 1 seconds.
> >
> >                  [nant]
> > C:\data\castle\castle\trunk\Tools\NVelocity\nvelocity.build
> >                         Buildfile:
> > file:///C:/data/castle/castle/trunk/Tools/NVelocity/nvelocity.build
> >                         Target framework: Microsoft .NET Framework 3.5
> >                         Target(s) specified: build
> >
> >
> >                         common.build:
> >
> >                              [nant]
> > C:\data\castle\castle\trunk\Tools\NVelocity\src\NVelocity\NVelocity.build
> >                                     Buildfile:
> > file:///C:/data/castle/castle/trunk/Tools/NVelocity/src/NVelocity/NVelocity.build
> >                                     Target framework: Microsoft .NET
> > Framework 3.5
> >                                     Target(s) specified: build
> >
> >
> >                                     common.check-nant-version:
> >
> >
> >                                     common.find-tools:
> >
> >
> >                                     set-framework-configuration:
> >
> >
> >                                     set-net-3.5-framework-configuration:
> >
> >
> >                                     set-project-configuration:
> >
> >
> >                                     set-debug-project-configuration:
> >
> >
> >                                     common.init:
> >
> >
> >                                     init:
> >
> >
> >                                     common.set-assembly-attribute-values:
> >
> >
> >                                     common.generate-assemblyinfo:
> >
> >                                        [attrib] Setting file attributes for
> > 1 files to Normal.
> >
> >                                     generate-assemblyinfo:
> >
> >
> >                                     common.compile-dll:
> >
> >                                           [csc] Compiling 155 files to
> > 'C:\data\castle\castle\trunk\build\net-3.5\debug\NVelocity.dll'.
> >
> >                                     build:
> >
> >
> >                                     BUILD SUCCEEDED
> >
> >                                     Total time: 1.3 seconds.
> >
> >
> >                         build:
> >
> >
> >                         BUILD SUCCEEDED
> >
> >                         Total time: 1.4 seconds.
> >
> >
> >                  [nant]
> > C:\data\castle\castle\trunk\Tools\VSNetWizards\VsNetIntegration.build
> >                         Buildfile:
> > file:///C:/data/castle/castle/trunk/Tools/VSNetWizards/VsNetIntegration.build
> >                         Target framework: Microsoft .NET Framework 3.5
> >                         Target(s) specified: build
> >
> >
> >                         common.check-nant-version:
> >
> >
> >                         common.find-tools:
> >
> >
> >                         set-framework-configuration:
> >
> >
> >                         set-net-3.5-framework-configuration:
> >
> >
> >                         set-project-configuration:
> >
> > ...
> >
> > [Message clipped]
>
>
>
>
> --
> Jan
> ___________________
> [EMAIL PROTECTED]
> www.limpens.com
> +55 (11) 3082-1087
> +55 (11) 3097-8339
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to