Ask a questionAsk a question
 

General DiscussionContracts not showing up in XML

  • Wednesday, October 28, 2009 1:00 PMBart De Raeymaeker Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello,

    I just started to use Code Contracts and I think it's great news .NET 4.0 will contain this.
    However, I am using the latest release and can't seem to make the xml documentation to work.
    I have checked "Emit contracts into Xml doc file" + Build for Contract reference assembly on the code contracts pane and checked "Xml documentation" on the build pane,
    but the contracts won't appear in the xml.
    Can someone help me with this ?

    Thanks

All Replies

  • Friday, October 30, 2009 3:42 PMMike BarnettMSFTUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Sure! Can you please put your solution (as small as possible please!) into a zip file and send it to me? Then I can lok into it.
  • Wednesday, November 04, 2009 3:20 PMDyd666 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello,

    I just started to use Code Contracts and I think it's great news .NET 4.0 will contain this.
    However, I am using the latest release and can't seem to make the xml documentation to work.
    I have checked "Emit contracts into Xml doc file" + Build for Contract reference assembly on the code contracts pane and checked "Xml documentation" on the build pane,
    but the contracts won't appear in the xml.
    Can someone help me with this ?

    Thanks


    Hi, I am having the similar problem with Xml Documentation. I have done everything from the video tutorial, and after building my application, the contracts won't show in the xml documentation file. I tried it in both VS2008 and VS2010 Beta 2 and in .NET 3.5 and 4.0. but with no success. Also, I am using 1.2.21023.14 version of the Code Contracts.

    Any ideas how to resolve this?
  • Wednesday, November 04, 2009 4:06 PMManuel FahndrichMSFTUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Any repros would be appreciated. codconfb @ microsoft . com
    Cheers, -MaF (Manuel Fahndrich)
  • Tuesday, November 10, 2009 11:55 AMJialiang Ge [MSFT]MSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello Bart

    Could you please check out Manuel's suggestion. A repro sample will be very helpful in this case.
    Regards,
    Jialiang Ge
    MSDN Subscriber Support in Forum
    If you have any feedback of our support, please contact msdnmg@microsoft.com.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
  • Thursday, November 12, 2009 9:42 AMJialiang Ge [MSFT]MSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    We are changing the issue type to “General Discussion” because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question” by opening the Options list at the top of the post window, and changing the type. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.
    Regards,
    Jialiang Ge
    MSDN Subscriber Support in Forum
    If you have any feedback of our support, please contact msdnmg@microsoft.com.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.