*** src/NAnt.NUnit/NUnit2/NUnit2Task.cs	Fri Oct 28 15:48:46 2005
--- src/NAnt.NUnit/NUnit2/NUnit2Task.cs	Fri Oct 28 16:15:45 2005
***************
*** 210,230 ****
                              test = runner.Load(testAssembly);
                          }
  
!                         if (test == null || runner.FrameworkVersion == null) {
                              Log(Level.Warning, "Assembly \"{0}\" was not built"
                                  + " with the NUnit framework and/or contains no tests.",
                                  testAssembly);
                              continue;
                          }
  
!                         if (runner.FrameworkVersion != nunitVersion) {
!                             Log(Level.Warning, "Assembly \"{0}\" is using version"
!                                 + " {1} of the NUnit framework. If any problems"
!                                 + " arise, then either rebuild this assembly using"
!                                 + " version {2} of the NUnit Framework or use a"
!                                 + " binding redirect from version {1} to version"
!                                 + " {2} of the NUnit Framework.", testAssembly, 
!                                 runner.FrameworkVersion, nunitVersion);
                          }
  
                          // set category filter
--- 210,232 ----
                              test = runner.Load(testAssembly);
                          }
  
!                         if (test == null || runner.TestFrameworks == null) {
                              Log(Level.Warning, "Assembly \"{0}\" was not built"
                                  + " with the NUnit framework and/or contains no tests.",
                                  testAssembly);
                              continue;
                          }
  
!                         foreach (AssemblyName v in runner.TestFrameworks) {
!                                 if (v.Version != nunitVersion) {
!                                     Log(Level.Warning, "Assembly \"{0}\" is using version"
!                                         + " {1} of the NUnit framework. If any problems"
!                                         + " arise, then either rebuild this assembly using"
!                                         + " version {2} of the NUnit Framework or use a"
!                                         + " binding redirect from version {1} to version"
!                                         + " {2} of the NUnit Framework.", testAssembly, 
!                                         v.Version, nunitVersion);
!                                 }
                          }
  
                          // set category filter
