Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

FxCop-Team Concert Implementation

Hello,

I'd like to use FxCop with Rational Team Concert. I found some information in clm help but that didn't helped me.
Is there anyone who used FxCop successfully with RTC?

Even though we checked "fail if not installed", we never received any error or warning message in our Visual Studio environment. It seems that it's nor working at all.

0 votes



4 answers

Permanent link
Hi,

"fail if not installed" condition will not work for VS specific deliver rules like the MsTest/Nuint run rule or the FxCop rule. Have you referred to the article https://jazz.net/library/article/591 on how to setup the FxCop rule when delivering changes from RTC VS client. If you face any problems let me know the versions of RTC, VS and FxCop, I can try helping in setting up the rule.

Thanks
Kishore

0 votes


Permanent link
Hi Krishna,

I referred to the documentation that you mentioned the first time I tried to run FxCop. We are using RTC 4.0.1 and VS2010 Ultimate edition.

We added a piece of code that FxCop would warn. When we builded the application, FxCop warned us about some rules. We tried to deliver that code to RTC and it's delivered perfectly.

0 votes


Permanent link

Hi,

From your reply I assume that FxCop rule kicked in during change set delivery and you were able to see the FxCop warning/errors in the RTC Team Advisor view. Is this correct? Did you expect that RTC will not allow the delivery of the change sets if they are any errors thrown by FxCop? If so you would need to uncheck the "User may overrule" option when defining the rule in RTC Eclipse client.

Thanks

Kishore

0 votes

Comments

You misunderstood me Krishna. When I first got the Fxcop error, VS gave me this error. VS's build system triggered Fxcop. During checkin and deliver I havent got any error message. RTC is not able to trigger Fxcop.


Permanent link

Ok, so the deliver rule did not kick in, their would be multiple causes for it to fail. Are their any other deliver-client pre-conditions(like "Prohibit Workspace Errors/Require Workitem Approval/Require Work Item Comment/) are working from RTC VS Client?. If is not then may the the pre-conditions are not set correctly. The conditions tigger based on the process area for the flow target, the time line and the users role so the precoditon should be set in the project area/team area which owns the target stream(flow target) and for the correct timeline.

Their was an issue with RTC VS client reading the Team area preconditions, I

Can you raise a Workitem on jazz.net and attach the following

1) Screen shot of the Project Area process configuration and the process configuration source(if possible).

2) Also attach the verbose log from the RTC VS client, this will help us in checking if the client is making the call to get the pre-conditions. You can refer to the link https://jazz.net/library/content/articles/rtc/3.0/faq-rtc-visual-studio/#How_Turn_On_Tracing on how tp turn on tracing and getting the log files

Thanks

Kishore

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,121

Question asked: Feb 25 '13, 4:49 a.m.

Question was seen: 6,781 times

Last updated: Mar 07 '13, 8:14 a.m.

Confirmation Cancel Confirm