I have a remoting application. When I run either the server or the client under Visual Studio .net 2003 it will delete the .config file. This did not happen under Visual Studio .net 2002. This also does not occur when I run the server or the client outside of Visual Studion .net. The way I am getting around the problem is to make the config files read only. Has anyone else seen this problem? Is there a fix? Am I doing something wrong?
Hey Dan
Been there, done that... and can I say what an annoying problem. Basically what it is, is when you upgrade from 2002 to 2003 you can set the compiler so that the executable will work with either the framework 1.0 or 1.1
So it needs the app.config file to do this. So, for reasons beyond me, it will delete any other files with the .config extension when it creates/verfies the file at compile time.
The fix, move all your Remoting config stuff into your app.config and everything works fine.
MacKenzie
I have a remoting application. When I run either the server or the client under Visual Studio .net 2003 it will delete the .config file. This did not happen under Visual Studio .net 2002. This also does not occur when I run the server or the client outside of Visual Studion .net. The way I am getting around the problem is to make the config files read only. Has anyone else seen this problem? Is there a fix? Am I doing something wrong?
--
DANIEL LUCIANO
Dan Luciano - 31 Jul 2003 18:58 GMT
That worked!!!
Thanks!!!

Signature
DANIEL LUCIANO
Hey Dan
Been there, done that... and can I say what an annoying problem. Basically what it is, is when you upgrade from 2002 to 2003 you can set the compiler so that the executable will work with either the framework 1.0 or 1.1
So it needs the app.config file to do this. So, for reasons beyond me, it will delete any other files with the .config extension when it creates/verfies the file at compile time.
The fix, move all your Remoting config stuff into your app.config and everything works fine.
MacKenzie
"Dan Luciano" <dluciano@djlsoftware.com> wrote in message news:eiARL5pVDHA.2268@TK2MSFTNGP11.phx.gbl...
I have a remoting application. When I run either the server or the client under Visual Studio .net 2003 it will delete the .config file. This did not happen under Visual Studio .net 2002. This also does not occur when I run the server or the client outside of Visual Studion .net. The way I am getting around the problem is to make the config files read only. Has anyone else seen this problem? Is there a fix? Am I doing something wrong?
--
DANIEL LUCIANO