In .NET, I have developed a client library for my WCF service. I have registered the assembly for COM interop so that I can make calls to the library from VBA.
I have a solution with several projects: MyLibrary (a VB.NET dll) .dll app.config MyService (C# Windows Service with ProjectInstaller)
This seems to be asked a lot on the internet, but so far my research hasn\'t produced a solution.(And, at least for now, I haven\'t accepted \"it can\'t be done\" as a solution.)
In almost every project, I can\'t decide on how to deal with certain global constant values. In the older days, when I wrote C++ programs which didn\'t used dll\'s, it was easy. Just create and .h fil
Sometimes in .NET (2.0) WinForm desktop apps which use the default configuration system, the user.config file will become corrupted and can\'t be loaded anymore (when the configuration system tries to
First I create a setup from a project, and I install it. When the program reads and writes from app.config,
I have a custom configuration section for a library, and I would like to load my configuration object from the library itself.
For 开发者_StackOverflow中文版me it a little bit hard and frustrating to understand how app.config, web.config files work on deep level.
Each time I try to add a very basic section into app.config I get the following error: Configuration system failed to initialize.
The reason I asked this question is that I wanted to create a helper class for Remoting instantiation, and wanted to pass the appropriate app.exe.config (or web.config) file path to the RemotingConfig