Menu

#624 task 'solution' creates corrupt meta data

closed-invalid
5
2007-03-12
2007-03-12
No

The task 'solution' in the latest 0.85 build creates corrupt meta data. Such assemblies can not be documentet with ndoc (See the appendix for the detailed error message) nor it can be opened with ildasm as it fails with the error message "meta data could not be opened". The 'solution' task worked fine with earlier builds.

The error is platformindepent reproducible and occurs on any solution. It does not occur if the project had been build with VS or an earlier version of nant in the same directory before without cleaning it.

Discussion

  • Gert Driesen

    Gert Driesen - 2007-03-12
    • labels: --> Framework support
    • assigned_to: nobody --> drieseng
    • status: open --> closed-invalid
     
  • Gert Driesen

    Gert Driesen - 2007-03-12

    Logged In: YES
    user_id=707851
    Originator: NO

    NAnt by default runs on the lastest CLR installed. Meaning, if you're running NAnt on a system with, for example, both .NET Framework 2.0 and 1.1 installed, then NAnt will by default target .NET Framework 2.0.

    This should be obvious if you look at the build output.

    Check this out for way to change to target framework:
    http://nant.sourceforge.net/faq.html#change-targetframework

     
  • Jacob Schlesinger

    Logged In: YES
    user_id=1739362
    Originator: YES

    Ok, that solved it. I was not aware about that because earlier version somehow managed to target 1.1 (or simply did not support 2.0).

     
  • Jacob Schlesinger

    Logged In: YES
    user_id=1739362
    Originator: YES

    Ok, that solved it. I was not aware about that because earlier version somehow managed to target 1.1 (or simply did not support 2.0).

     

Log in to post a comment.