#4 NMock2: Properly build for both .Net 1.1 and 2.0

closed
nobody
None
5
2006-03-13
2006-03-01
No

Currently we have conditional compilation #ifdefs
around code that is .NET 2.0 specific (at the moment
just generics stuff). The Cruise build does build twice
for the 1.1 and 2.0 platforms but the #ifdefs don't
work properly, and the "2.0" distribution doesn't
actually contain the generics code.

We should fix this, possibly by explicitly defining our
own compile-time variable before we compile on 2.0.

Discussion

  • Michael Mason

    Michael Mason - 2006-03-13

    Logged In: YES
    user_id=24715

    Fixed. We're now using the Nant <csc> task to compile the
    code, allowing us to use conditional compilation.

     
  • Michael Mason

    Michael Mason - 2006-03-13
    • status: open --> closed
     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks