#373 <solution> breaks on unused references

0.85
closed-fixed
Tasks (408)
5
2005-06-15
2005-04-19
Mach005
No

The <solution> tasks fails if an assembly references
another assembly that does not exist but is not used at
all.

For instance, the Enterprise Library references
nunit.framework.dll. But the Debug, Release and
ReleaseFinal configurations exclude all test code, thus
the solution still builds under VS.NET 2003 even without
NUnit installed. VS.NET 2003 does not care that the
assembly reference is invalid, because no code uses
anything from the nunit.framework.dll assembly.

Only if the DebugUnitTests, DebugLongRunningTests,
ReleaseUnitTests or ReleaseLongRunningTests
configururations are built does VS.NET 2003 require
that the reference to nunit.framework.dll be valid and
therefore that NUnit is actually installed.

Discussion

  • Gert Driesen

    Gert Driesen - 2005-04-19
    • assigned_to: nobody --> drieseng
     
  • Gert Driesen

    Gert Driesen - 2005-04-19

    Logged In: YES
    user_id=707851

    I'll fix this when I get back from my vacation (in about 2
    weeks).

     
  • Martin Aliger

    Martin Aliger - 2005-06-13

    Logged In: YES
    user_id=655297

    this is connected with Prepare() buildexceptions as well as
    nant-Bugs-1219705 IMHO.

     
  • Gert Driesen

    Gert Driesen - 2005-06-13

    Logged In: YES
    user_id=707851

    I have this issue fixed locally. I'll commit it after I've tested it
    against my (local) <solution> task test suite.

     
  • Gert Driesen

    Gert Driesen - 2005-06-15

    Logged In: YES
    user_id=707851

    This is now fixed in cvs.

    Thanks for the report !

     
  • Gert Driesen

    Gert Driesen - 2005-06-15
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks