TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Jay Troy
NA
1
0
app.config physical path to other config file
Jul 27 2009 7:51 PM
Hi all,
I am developing a c# .net console app and have this line in the app.config:
<connectionStrings configSource="App_Config\ConnectionStrings.config"/>
I created the App_Config folder both in the app root folder as well as debug folder, but I get a runtime error not finding the file:
"...configSource attribute must be a relative physical path"
trying to find the file from the drive root: c:\\App_Config...!
Is there a way to create token variables in app.config and reference them like: $(App_Config) and secondly make that a relative path of your app?
Appreciate any insight into this,
Kopel
Reply
Answers (
1
)
tree design
Creating Installable exe file and product key generation - uninstallation problem*