none
Codemetrik in VS 2010 RRS feed

  • Frage

  • Hallo,

     

    ich arbeite zur Zeit mit VS 2010 Ultimate und habe ein c# WPF Projekt. Die Codemetrik ignoriert jedoch leider XAML-Code und was noch schlimmer ist den Code-behind. Kann man das irgendwie ändern?

     

    Danke,

    Andreas

    Samstag, 5. März 2011 00:53

Antworten

  • Hallo andreas737,

    Hier haben wir auch schon die Antwort von Visual Studio Code Analysis Team:

    *****************************************************************************************************************************************

    „Hello,

    Thank you for taking the time to report this. Unfortunately due to the way that WPF compiles the partial classes containining user code that implement WPF controls, Code Metrics is unable to calculate the metrics for the user code inside these classes. Classes not implementing WPF objects still inside a code behind file is calculated.

    While we recognize that this is inconvenient and unexpected behavior, we are unable to fix this behavior currently.

    Apologies and best regards,

    Visual Studio Code Analysis Team“

    *****************************************************************************************************************************************

     

    Grüße,

    Robert

    Quelle: VS 2010 Codemetrik
    Donnerstag, 17. März 2011 12:37
    Moderator

Alle Antworten

  • Donnerstag, 10. März 2011 16:28
    Moderator
  • Hallo andreas737,

    Hier haben wir auch schon die Antwort von Visual Studio Code Analysis Team:

    *****************************************************************************************************************************************

    „Hello,

    Thank you for taking the time to report this. Unfortunately due to the way that WPF compiles the partial classes containining user code that implement WPF controls, Code Metrics is unable to calculate the metrics for the user code inside these classes. Classes not implementing WPF objects still inside a code behind file is calculated.

    While we recognize that this is inconvenient and unexpected behavior, we are unable to fix this behavior currently.

    Apologies and best regards,

    Visual Studio Code Analysis Team“

    *****************************************************************************************************************************************

     

    Grüße,

    Robert

    Quelle: VS 2010 Codemetrik
    Donnerstag, 17. März 2011 12:37
    Moderator