R
Reginald Blue
stupid question:
RemotingConfiguration.Configure("MyProject.exe.config");
(where the actual EXE that's built is named "MyProject.exe", of course).
is there any way to do that without hard coding it?
I tried:
RemotingConfiguration.Configure(null);
but then it doesn't read the config file at all.
I'm hoping for something like:
RemotingConfiguration.Configure(GetProjectEXEName() + ".config");
Except I can't find anything in the docs to say how to do that. I'm sure
it's in there somewhere...
--
Reginald Blue
"I have always wished that my computer would be as easy to use as my
telephone. My wish has come true. I no longer know how to use my
telephone."
- Bjarne Stroustrup (originator of C++) [quoted at the 2003 International
Conference on Intelligent User Interfaces]
RemotingConfiguration.Configure("MyProject.exe.config");
(where the actual EXE that's built is named "MyProject.exe", of course).
is there any way to do that without hard coding it?
I tried:
RemotingConfiguration.Configure(null);
but then it doesn't read the config file at all.
I'm hoping for something like:
RemotingConfiguration.Configure(GetProjectEXEName() + ".config");
Except I can't find anything in the docs to say how to do that. I'm sure
it's in there somewhere...
--
Reginald Blue
"I have always wished that my computer would be as easy to use as my
telephone. My wish has come true. I no longer know how to use my
telephone."
- Bjarne Stroustrup (originator of C++) [quoted at the 2003 International
Conference on Intelligent User Interfaces]