Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8712265
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T05:04:30+00:00 2026-06-13T05:04:30+00:00

We have thousands of different log messages coded using the log4net library and string

  • 0

We have thousands of different log messages coded using the log4net library and string format method calls.

One problem with this is that it’s only at run time that we get an error if the string format parameters like {0}, {1}, {2} have the right count of method parameters.

Many of these methods only get called on error conditions that rarely or never occur during automated testing.

So is there any tool that can scan all C# code and notify of any string format problems?

NOTE: I see many other questions on here at static code analysis which appears duplicate but after looking at some of those tools, they don’t seem to handle this specific situation.

IF nothing really good for this, we’ll write this tool in-house.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T05:04:31+00:00Added an answer on June 13, 2026 at 5:04 am

    We’re using VS2012. The code analysis tool built into it helped us identify all of those types of issues.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a .net 3.5 website that calls thousands of different stored procs using
I am using VS 2005 I have about 10-12 variables of different types such
I have thousands of xml files with title and their description in different xml
I have thousands of lines of MATLAB code that realizes different computationally intensive operations
I have rake tasks importing thousands of records from several different sources and formats
I have thousands of psd files to save as png. The psd files are
I have thousands of rows that contain a zipcode attribute with four integers in.
I have thousands of photos in my hard-disk. All photo file-names consists of 4
I have thousands of IP addresses of visitors to my site, what tools can
I have thousands of files, maybe hundreds of thousands of files on a Linux

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.