Hi all,
Bit of a strange question but here goes...
In my App.Config, I have a few parameters set, like connection strings, that locate and use a database stored in the user's my documents folder -
<connectionStrings>
<add name="DatabaseConnectionString" connectionString="Data Source=D\:My Stuff\Documents\My App\MyAppDatabase.sdf" />
</connectionStrings>
I was wondering, rather than having to change the app.config each time I copy it to a new machine, is there some way of having it dynamically set, say something like
<connectionStrings>
<add name="DatabaseConnectionString" connectionString="Data Source=$(MyDocumentsFolder)\My App\MyAppDatabase.sdf" />
</connectionStrings>
Or is this not possible at all?
Any help or pointers are much appreciated :)