locked
Problem "Run Code Analysis on Solution"

    Question

  • Hi,

    Please help with me that I ran into problem when I try to "Run Code Analysis on Solution" under "Build" in VS11.

    Thank you,


    Jerry

    Monday, June 04, 2012 8:14 AM

Answers

  • I tested it using ProximityCS sample code in Win8 RP and VS2012 RC. It just report an warning with the same error code:

    CA1001 Types that own disposable fields should be disposable
    Implement IDisposable on 'PeerFinderScenario' because it creates members of the following IDisposable types: 'DataReader', 'DataWriter'. If 'PeerFinderScenario' has previously shipped, adding new members that implement IDisposable to this type is considered a breaking change to existing consumers.

    I think this time the error description is more clear to guide you.

    Best Regards,

    Han Xia


    • Marked as answer by Jerrywu12 Wednesday, June 06, 2012 10:53 AM
    • Edited by Han Xi -MSFT Wednesday, June 06, 2012 1:14 PM
    Wednesday, June 06, 2012 8:35 AM