app config - Is it possible to split a string across multiple lines in an XML file? If so, how? -


is an XML configuration file with some long strings actually I usually, I formatted your source files , So that they can be scrolled without. I want to do the same in this config file.

Is there a way to split string in more than one line? Hopefully what I am what I ask is clear, but a picture says a thousand words, eg. Value, down.

  & lt; Add name = "validation" type = "MicrosoftkPracticeskEnterpriseLibrarykValidationkIntegrationkWCFkValidationElement, MicrosoftkPracticeskEnterpriseLibrarykValidationkIntegrationkWCF, Version = 4.1.0.0, Culture = neutral, Sarwajnikki token = 3lbf3856ad364e35" />  

If I break the above string it looks like:

  & lt; Add name = "verification" type = "Microsoft.Practices.EnterpriseLibrary.Validation .cryptation.cc validity element, Microsoft Practice.Interprise Library.validation.encation.ccc, version = 4.1.0.0, culture = neutral, public-token = 31 BF 3856 ADB4E35 "/>  

My application failed with:

"An error occurred in the configuration section handler for system.serviceModel / behaviors: extension element 'verification' added to this element It can not be verified that the extension is registered in the expansion archive in the system archive.Parameter name: element "

It seems that it is sensitive to line-breaks in the string.

break all lines, so place them on a separate line if space Delimiter arbitrary control white space Can do.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -