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. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
