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 446797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T21:30:23+00:00 2026-05-12T21:30:23+00:00

The EntLibConfig.exe tool that comes with Microsoft Enterprise Library tends to reformat entire .config

  • 0

The “EntLibConfig.exe” tool that comes with Microsoft Enterprise Library tends to reformat entire .config XML files after you change some of your settings in the GUI. With XML files, we have a coding standard of 4 space indentation, but EntLibConfig seems to use 2 spaces.

Is there any way to configure this tool to customize how it indents the XML is writes out? In Visual Studio, I have all the XML settings set to 4 spaces (no tabs), but this does not seem to have any effect.

  • 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-05-12T21:30:24+00:00Added an answer on May 12, 2026 at 9:30 pm

    I don’t think there is any way to change the indentation from the EntLibConfig.exe tool.

    What you could do is open the generated config files in Visual Studio with the indent set to 4 spaces (which you have). Then hit Ctrl-K, Ctrl-D to format the document. This should set all of the indents to 4 spaces.

    As an aside, you could make the case that the EL config is generated code and perhaps does not need to conform to the published standard. e.g. I would not expect code generated by svcutil.exe to conform to my organizations specific coding stadards and guidelines.

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

Sidebar

Related Questions

I am logging messages using Enterprise Library. I want some of these (typically errors
I have 'inherited' a test harness application which uses Enterprise Library for its SQL
Is entlib considered a plugin (specifically the designer via right click on app/web.config)? I'm
Has anyone seen this error before? An error occurred creating the configuration section handler
I'm trying to use the EntLib 3.1 within .net code for a dll which
Is there another way to change the logging location of Logging block of entlib?
I'm having weird issues with code generated with netTiers. I've tried to use the
I have a thought about this but could not come with a good solution.

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.