Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Store Connection String
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01358780
Message ID:
01359884
Vues:
29
The problem I have here is that I routinely ZIP up the project and take it home, work on it there, then take it back to the office.
Any file that the conn string is in would be moved along with it. I would still have to do something to change the string for the PC I'm on at the time.



>>I'm a bit confused - the app.config file is compiled with the app, isn't ? Remember, I would like a way to read an INI file based on the location I'm working at.
>>
>>Why not just use am.INI file, like the old days?
>>
>
>It's not compiled or compiled in. For desktop apps all that happens when your compile your app. is that it copies it to MyAppName.exe.config. You can edit it as necessary.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform