Nope.  Only ccnet and nAnt scripts were running.

My guess is

I should not put the build(sample.dll for ex.) file done via nAnt
Script through <csc> command, in the repository(ClearCase) itself
where it put the folder in readonly mode.  So as nAnt tries to access
this build file to execute test cases, it gives this violation error.

I don't know why this violation problem, but I resolved this error by
doing the following.
I gave the output directory of the build file to the local directory
in the explorer from where nAnt pulls the build file to execute test
case.  It works fine.

Hope you understand the above point and thank you for your help.

Thanks
Sujatha


On Mar 23, 4:20 am, "Andrew Stopford" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Have you got any instances of MbUnit GUI or VS open when you attempt this?
>
> Thanks
>
> Andy
>
> On 3/22/07, Suja <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Hi
>
> > When I try to execute the nAnt script to run MbUnit tests, getting the
> > following error.
>
> > Can anybody help?
>
> > Thanks in advance,
> > Sujatha
>
> > nant -buildfile:MbUnitTest.build
>
> > NAnt 0.85 (Build 0.85.2478.0; release; 10/14/2006)
>
> > Copyright (C) 2001-2006 Gerry Shaw
>
> >http://nant.sourceforge.net
>
> > Buildfile: file:///M:/TestMbUnit.Example/MbUnitTest.build
>
> > Target framework: Microsoft .NET Framework 2.0
>
> > Target(s) specified: test
>
> > clean:
>
> >   [delete] Deleting directory 'M:\TestMbUnit.Example\bin'.
>
> >    [mkdir] Creating directory 'M:\TestMbUnit.Example\bin'.
>
> >     [copy] Copying 1 file to 'M:\TestMbUnit.Example\bin'.
>
> > compile:
>
> >      [echo] Starting the build
>
> >      [csc] Compiling 6 files to 'M:\TestMbUnit.Example\bin
> > \TestMbUnit.dll'.
>
> >      [csc] warning CS1668: Invalid search path 'C:\Program Files
> > \Microsoft Visu
>
> > al Studio\VC98\mfc\lib' specified in 'LIB environment variable' --
> > 'The system c
>
> > annot find the path specified. '
>
> >      [csc] warning CS1668: Invalid search path 'C:\Program Files
> > \Microsoft Visu
>
> > al Studio\VC98\lib' specified in 'LIB environment variable' -- 'The
> > system canno
>
> > t find the path specified. '
>
> > test:
>
> >    [mbunit] MbUnit 1.0.2531.41788 test runner
>
> >   [mbunit] Loading 2 assemblies
>
> >   [mbunit]  AssemblyName: M:\TestMbUnit.Example\bin
> > \MbUnit.Framework.dll
>
> >   [mbunit]  AssemblyName: M:\TestMbUnit.Example\bin\TestMbUnit.dll
>
> > BUILD FAILED
>
> > Unexpected engine error while running Tests
>
> >    Failed loading assemblies
>
> >        Failed loading TestDomain
>
> >            Failed loading assembly
>
> >                Failed creating the TestEngine instance
>
> >                    Could not load file or assembly 'MbUnit.Framework,
> > Version=1
>
> > .0.2531.41788, Culture=neutral, PublicKeyToken=5e72ecd30bc408d5' or
> > one of its d
>
> > ependencies. Access is denied.
>
> >                        Access is denied. (Exception from HRESULT:
> > 0x80070005 (E
>
> > _ACCESSDENIED))
>
> > Total time: 1.9 seconds.- Hide quoted text -
>
> - Show quoted text -


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" 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/MbUnitUser?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to