Microsoft Developer Network >
Página Inicial dos Fóruns
>
.NET Base Class Library
>
Contracts not showing up in XML
Contracts not showing up in XML
- 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- DividirManuel FahndrichMSFTquarta-feira, 4 de novembro de 2009 16:08New question
- Tipo AlteradoJialiang Ge [MSFT]MSFT, Moderadorquinta-feira, 12 de novembro de 2009 9:42OP does not follow up.
Todas as Respostas
- 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.
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?- Any repros would be appreciated. codconfb @ microsoft . com
Cheers, -MaF (Manuel Fahndrich) - 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. - 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.

