Latest Build: 5644 has some compile error message...

Topics: User Forum
Oct 27, 2006 at 6:13 AM
First, NUnitLite is a great idea, work very good in my web site project. I wrote some test fixture in App_Code, and show test result in another *.aspx page.

When I download build #5644 and compile it, I got some messages, seems the source code lost 2 classes (class Msgs, class MsgUtils)


------ Rebuild All started: Project: NUnitLite, Configuration: Debug Any CPU ------
D:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Csc.exe /noconfig /nowarn:1701,1702 /errorreport:prompt /warn:4 /define:DEBUG;TRACE /reference:D:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll /reference:D:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll /reference:D:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll /reference:D:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /debug+ /debug:full /optimize- /out:obj\Debug\NUnitLite.dll /target:library Constraints\BinaryOperations.cs Constraints\CollectionConstraints.cs Constraints\ComparisonConstraints.cs Constraints\Constraint.cs Constraints\ConstraintBuilder.cs Constraints\EmptyConstraint.cs Constraints\EqualConstraint.cs Constraints\NotConstraint.cs Constraints\SameAsConstraint.cs Constraints\StringConstraints.cs Constraints\TypeConstraints.cs Framework\Attributes.cs Framework\Exceptions.cs Framework\IExpectException.cs Framework\InvalidTestCase.cs Framework\Reflect.cs Framework\SyntaxHelpers.cs MessageWriter.cs Framework\Assert.cs Framework\StackFilter.cs Framework\TextMessageWriter.cs Framework\NullListener.cs Framework\ProxyTestCase.cs Runner\CommandLineOptions.cs Runner\ResultSummary.cs Framework\TestListener.cs Framework\TestProgressListener.cs Runner\TestLoader.cs Runner\TestRunner.cs Framework\TestSuite.cs Framework\ITest.cs Properties\AssemblyInfo.cs Framework\TestCase.cs Framework\TestResult.cs Runner\ConsoleUI.cs
E:\Home\MyDesktop\NUnit.2.2.8\NUnitLite-5644\NUnitLite\src\NUnitLite\Constraints\StringConstraints.cs(75,41): error CS0103: The name 'Msgs' does not exist in the current context
E:\Home\MyDesktop\NUnit.2.2.8\NUnitLite-5644\NUnitLite\src\NUnitLite\Constraints\StringConstraints.cs(77,41): error CS0103: The name 'Msgs' does not exist in the current context
E:\Home\MyDesktop\NUnit.2.2.8\NUnitLite-5644\NUnitLite\src\NUnitLite\Constraints\StringConstraints.cs(93,41): error CS0103: The name 'Msgs' does not exist in the current context
E:\Home\MyDesktop\NUnit.2.2.8\NUnitLite-5644\NUnitLite\src\NUnitLite\Constraints\StringConstraints.cs(95,41): error CS0103: The name 'Msgs' does not exist in the current context
E:\Home\MyDesktop\NUnit.2.2.8\NUnitLite-5644\NUnitLite\src\NUnitLite\Constraints\StringConstraints.cs(111,41): error CS0103: The name 'Msgs' does not exist in the current context
E:\Home\MyDesktop\NUnit.2.2.8\NUnitLite-5644\NUnitLite\src\NUnitLite\Constraints\StringConstraints.cs(113,41): error CS0103: The name 'Msgs' does not exist in the current context
E:\Home\MyDesktop\NUnit.2.2.8\NUnitLite-5644\NUnitLite\src\NUnitLite\Framework\TextMessageWriter.cs(104,19): error CS0103: The name 'Msgs' does not exist in the current context
E:\Home\MyDesktop\NUnit.2.2.8\NUnitLite-5644\NUnitLite\src\NUnitLite\Framework\TextMessageWriter.cs(107,24): error CS0103: The name 'MsgUtils' does not exist in the current context
E:\Home\MyDesktop\NUnit.2.2.8\NUnitLite-5644\NUnitLite\src\NUnitLite\Framework\TextMessageWriter.cs(271,19): error CS0103: The name 'Msgs' does not exist in the current context
E:\Home\MyDesktop\NUnit.2.2.8\NUnitLite-5644\NUnitLite\src\NUnitLite\Framework\TextMessageWriter.cs(282,19): error CS0103: The name 'Msgs' does not exist in the current context
E:\Home\MyDesktop\NUnit.2.2.8\NUnitLite-5644\NUnitLite\src\NUnitLite\Framework\TextMessageWriter.cs(293,19): error CS0103: The name 'Msgs' does not exist in the current context
E:\Home\MyDesktop\NUnit.2.2.8\NUnitLite-5644\NUnitLite\src\NUnitLite\Framework\TextMessageWriter.cs(301,49): error CS0103: The name 'Msgs' does not exist in the current context
E:\Home\MyDesktop\NUnit.2.2.8\NUnitLite-5644\NUnitLite\src\NUnitLite\Constraints\EqualConstraint.cs(229,28): error CS0103: The name 'MsgUtils' does not exist in the current context
E:\Home\MyDesktop\NUnit.2.2.8\NUnitLite-5644\NUnitLite\src\NUnitLite\Constraints\EqualConstraint.cs(232,41): error CS0103: The name 'Msgs' does not exist in the current context
E:\Home\MyDesktop\NUnit.2.2.8\NUnitLite-5644\NUnitLite\src\NUnitLite\Constraints\EqualConstraint.cs(234,41): error CS0103: The name 'Msgs' does not exist in the current context
E:\Home\MyDesktop\NUnit.2.2.8\NUnitLite-5644\NUnitLite\src\NUnitLite\Constraints\EqualConstraint.cs(279,35): error CS0103: The name 'MsgUtils' does not exist in the current context
E:\Home\MyDesktop\NUnit.2.2.8\NUnitLite-5644\NUnitLite\src\NUnitLite\Constraints\EqualConstraint.cs(280,33): error CS0103: The name 'MsgUtils' does not exist in the current context
E:\Home\MyDesktop\NUnit.2.2.8\NUnitLite-5644\NUnitLite\src\NUnitLite\Constraints\EqualConstraint.cs(283,49): error CS0103: The name 'Msgs' does not exist in the current context
E:\Home\MyDesktop\NUnit.2.2.8\NUnitLite-5644\NUnitLite\src\NUnitLite\Constraints\EqualConstraint.cs(285,49): error CS0103: The name 'Msgs' does not exist in the current context
E:\Home\MyDesktop\NUnit.2.2.8\NUnitLite-5644\NUnitLite\src\NUnitLite\Constraints\EqualConstraint.cs(311,37): error CS0103: The name 'MsgUtils' does not exist in the current context
E:\Home\MyDesktop\NUnit.2.2.8\NUnitLite-5644\NUnitLite\src\NUnitLite\Constraints\EqualConstraint.cs(314,49): error CS0103: The name 'Msgs' does not exist in the current context
E:\Home\MyDesktop\NUnit.2.2.8\NUnitLite-5644\NUnitLite\src\NUnitLite\Constraints\EqualConstraint.cs(314,70): error CS0103: The name 'MsgUtils' does not exist in the current context
E:\Home\MyDesktop\NUnit.2.2.8\NUnitLite-5644\NUnitLite\src\NUnitLite\Constraints\EqualConstraint.cs(318,39): error CS0103: The name 'MsgUtils' does not exist in the current context
E:\Home\MyDesktop\NUnit.2.2.8\NUnitLite-5644\NUnitLite\src\NUnitLite\Constraints\EqualConstraint.cs(319,49): error CS0103: The name 'Msgs' does not exist in the current context
E:\Home\MyDesktop\NUnit.2.2.8\NUnitLite-5644\NUnitLite\src\NUnitLite\Constraints\EqualConstraint.cs(320,21): error CS0103: The name 'MsgUtils' does not exist in the current context
E:\Home\MyDesktop\NUnit.2.2.8\NUnitLite-5644\NUnitLite\src\NUnitLite\Constraints\EqualConstraint.cs(320,72): error CS0103: The name 'MsgUtils' does not exist in the current context
E:\Home\MyDesktop\NUnit.2.2.8\NUnitLite-5644\NUnitLite\src\NUnitLite\Constraints\EqualConstraint.cs(326,37): error CS0103: The name 'Msgs' does not exist in the current context
E:\Home\MyDesktop\NUnit.2.2.8\NUnitLite-5644\NUnitLite\src\NUnitLite\Constraints\EqualConstraint.cs(331,37): error CS0103: The name 'Msgs' does not exist in the current context
E:\Home\MyDesktop\NUnit.2.2.8\NUnitLite-5644\NUnitLite\src\NUnitLite\Constraints\EqualConstraint.cs(370,39): error CS0103: The name 'MsgUtils' does not exist in the current context

Compile complete -- 29 errors, 0 warnings
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
Coordinator
Nov 11, 2006 at 9:16 PM
I just downloaded the zip myself, and the files are definitely there. Of course, they aren't in your command line so they won't be found.

Sorry to have taken so long to respond. I need to set things up to get notified when someone posts.

Charlie
Nov 13, 2006 at 9:28 AM
Thanks a lot, I got the problem in build #5644 project.

I open the /NUnitLite.sln in visual studio 2005, and I found in NUnitLite project
do not include those two files in project:

Msgs.cs
Framework/MsgUtils.cs

After I include them into project and build, everything is ok now :D
Nov 13, 2006 at 9:43 AM
I've try the latest release (#10946), too... has the same problem. The project file of NUnitLite do not include those two files:

Msgs.cs
Framework/MsgUtils.cs

everything is ok after include those 2 files into project :D
Coordinator
Nov 14, 2006 at 8:39 AM
OK, I checked it out and back in, which should fix it. It doesn't seem to handle working disconnected very cleanly.