Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Fxcop

Fxcop

Scheduled Pinned Locked Moved C#
csharpvisual-studiotoolsquestion
10 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Subin Mavunkal
    wrote on last edited by
    #1

    Hi , I am using Visual Studio Professional edition.There is no Fxcop integration in that.Is there any third party tools/addons that can be used to run Fxcop ? With regards

    OriginalGriffO R realJSOPR 3 Replies Last reply
    0
    • S Subin Mavunkal

      Hi , I am using Visual Studio Professional edition.There is no Fxcop integration in that.Is there any third party tools/addons that can be used to run Fxcop ? With regards

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #2

      You could always try google: It lead me straight to MSDN: Visual Studio Integration of FxCop[^]

      Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Manfred R. Bihy: "Looks as if OP is learning resistant."

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      1 Reply Last reply
      0
      • S Subin Mavunkal

        Hi , I am using Visual Studio Professional edition.There is no Fxcop integration in that.Is there any third party tools/addons that can be used to run Fxcop ? With regards

        R Offline
        R Offline
        RobCroll
        wrote on last edited by
        #3

        I lost interest in FxCop because it looked like it fell by the wayside. And then reading this post I had a look and Found FxCop 10.0. Don't know how good it is but it would be great to start using it again. Downloading now :)

        "You get that on the big jobs."

        realJSOPR 1 Reply Last reply
        0
        • R RobCroll

          I lost interest in FxCop because it looked like it fell by the wayside. And then reading this post I had a look and Found FxCop 10.0. Don't know how good it is but it would be great to start using it again. Downloading now :)

          "You get that on the big jobs."

          realJSOPR Offline
          realJSOPR Offline
          realJSOP
          wrote on last edited by
          #4

          But why? FXCop does nothing to really help an experienced programmer, and often does more harm than good in its recommendations.

          ".45 ACP - because shooting twice is just silly" - JSOP, 2010
          -----
          You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
          -----
          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

          L R 2 Replies Last reply
          0
          • S Subin Mavunkal

            Hi , I am using Visual Studio Professional edition.There is no Fxcop integration in that.Is there any third party tools/addons that can be used to run Fxcop ? With regards

            realJSOPR Offline
            realJSOPR Offline
            realJSOP
            wrote on last edited by
            #5

            Integrating FXCop into Visual Studio will do no good because you want to use it (FXCop) *before* building, but not as part of the build process. Just add it to your external tools menu and be done with it.

            ".45 ACP - because shooting twice is just silly" - JSOP, 2010
            -----
            You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
            -----
            "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

            L 1 Reply Last reply
            0
            • realJSOPR realJSOP

              But why? FXCop does nothing to really help an experienced programmer, and often does more harm than good in its recommendations.

              ".45 ACP - because shooting twice is just silly" - JSOP, 2010
              -----
              You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
              -----
              "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              Even an experienced programmer makes mistakes, and it's said that the average programmer makes an error in every 10 lines of code. Static code-analysis doesn't cost much, just some CPU-time.

              John Simmons / outlaw programmer wrote:

              and often does more harm than good in its recommendations.

              It's not meant to be followed blindly; it's an analysis, and could help in identifying potential problems. I do like to argue about the recommendations, and fortunatly Microsoft provides a rationale for every rule - meaning one can disable the entire rule if the rationale doesn't apply. ..I might be a 'bit' biased though; made it a part of the daily-build proces :)

              Bastard Programmer from Hell :suss:

              1 Reply Last reply
              0
              • realJSOPR realJSOP

                Integrating FXCop into Visual Studio will do no good because you want to use it (FXCop) *before* building, but not as part of the build process. Just add it to your external tools menu and be done with it.

                ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                -----
                You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                -----
                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #7

                Some IDE's have something similar integrated; Code Analysis[^] from the IDE, seems to return the same information. Isn't available in my IDE at home - different version probably.

                Bastard Programmer from Hell :suss:

                S 1 Reply Last reply
                0
                • realJSOPR realJSOP

                  But why? FXCop does nothing to really help an experienced programmer, and often does more harm than good in its recommendations.

                  ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                  -----
                  You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                  -----
                  "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                  R Offline
                  R Offline
                  RobCroll
                  wrote on last edited by
                  #8

                  Sure but I like to make sure my code and other team members meet a standard. Also I worked on a very old slow system a while ago and ran FxCop over it. Something like 2,000 performance issues were highlighted, most you wouldn't pick up by just reading the code. Fixed them all and got a 12% performance boost! Ok, it's not a profiler but still worth using periodically.

                  "You get that on the big jobs."

                  1 Reply Last reply
                  0
                  • L Lost User

                    Some IDE's have something similar integrated; Code Analysis[^] from the IDE, seems to return the same information. Isn't available in my IDE at home - different version probably.

                    Bastard Programmer from Hell :suss:

                    S Offline
                    S Offline
                    Subin Mavunkal
                    wrote on last edited by
                    #9

                    No.I got some tools likes Fxcop runner and Fxcop integrator.Its doing a nice job.

                    L 1 Reply Last reply
                    0
                    • S Subin Mavunkal

                      No.I got some tools likes Fxcop runner and Fxcop integrator.Its doing a nice job.

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #10

                      Cool, FxCop Runner[^] provides an integration that's comparable to the built-in code-analysis. Going to try it tonight :)

                      Bastard Programmer from Hell :suss:

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups