Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Configuration file
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 1.1
OS:
Windows 2000 SP4
Network:
Windows NT
Database:
MS SQL Server
Divers
Thread ID:
00993426
Message ID:
00993441
Vues:
15
This message has been marked as the solution to the initial question of the thread.
A dll assembly in .NET CAN NOT have a config file that it can access just as an exe assembly can through ConfigurationSettings.AppSettings or .GetConfig - However, it can access the application's config file through the ConfigurationSettings class.

If you're looking for a way to have the dll assembly to access its own config file take a look at what Enterprise library has with their configuration block. The configuration file does not follow the convention of the .NET Configuration files.

There are some videos on my website that I recorded - Hisham Baz is person presenting and is one of the architects of the Enterprise Library: http://www.dandyvibe.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform