質問する質問する
 

回答済みCan rules of Code Analysis be exported/imported in Team Bulid

  • 2009年8月31日 7:43orayangy ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    I was asked this question above by my colleague.
    I wonder whether rules of code analysis can be exported/imported in Team Build or not.
    Can you do me a favour? Thank you a lot.

    I have one more problem if rules can be set every class or namespace in Team Build.
    Regarding this question, I know rules can be set every project .But , I am afraid  it cann't set rules every class or namespace.
    What do you think that?  Thank you

回答

  • 2009年8月31日 13:11外池 ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     回答済み
    orayangy;  Ahotugh I don't have any experience of the Team Build, the following may be a hint for you.

    I found the entry "<CodeAnalysisRules>  ... </CodeAnalysisRules>" in a ".csproj" file.   Selected code analysis options are recorded in this entry and you may pass the entry to other builds to apply the same rule.

    For your second question, I suggest that you may apply the "In Source Suppresion".

    Kotaro


    (ホームページを再開しました)

すべての返信

  • 2009年8月31日 13:11外池 ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     回答済み
    orayangy;  Ahotugh I don't have any experience of the Team Build, the following may be a hint for you.

    I found the entry "<CodeAnalysisRules>  ... </CodeAnalysisRules>" in a ".csproj" file.   Selected code analysis options are recorded in this entry and you may pass the entry to other builds to apply the same rule.

    For your second question, I suggest that you may apply the "In Source Suppresion".

    Kotaro


    (ホームページを再開しました)
  • 2009年9月17日 4:34高橋 春樹MSFT, モデレータユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     

    Thanks for posting in MSDN forum.
    How's Kotaro-san's advice? It seems good information for us. so I checked his advice as answer.
    If you don't agree, please delete it and leave a comment for detail.

    However, I guess it might be difficult to get an answer because we normaly use Japanese and if it is English,it's hard to understand.
    so, I suggest you will use English forum next time.

    Thanks

    Haruki Takahashi (MSFT Forum moderator)


    マイクロソフト株式会社 フォーラム オペレーター 高橋春樹
  • 2009年9月17日 4:54orayangy ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    Thank you. It is a big help