relative path in App.config


i have following entry in app.config , use relative path. if use absolute path works fine.

<enterpriselibrary.configurationsource selectedsource="file configuration source"
    <sources> 
      <add name="file configuration source" type="microsoft.practices.enterpriselibrary.common.configuration.fileconfigurationsource, microsoft.practices.enterpriselibrary.common" 
       filepath="..\myproject\entlib.config" /> 
       
    </sources> 
  </enterpriselibrary.configurationsource>   


and got error:

'microsoft.practices.enterpriselibrary.logging.logger' threw an exception. --->  system.io.filenotfoundexception: the configuration file d:\develop\platforms\microsoft visual studio 9.0\common7\ide\..\myproject\entlib.config 

how set relative path in app.config

thanks in advance,
tom

no, sorry, there nothing. when run program, it's not project anymore - it's program.

john saunders | use file->new project create web service projects


Archived Forums A-B  >  ASMX Web Services and XML Serialization



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

How to fix error Msg 1801, Level 16, State 3, Line 1

How to Share webservice object to all user