all groups > dotnet remoting > july 2003 >
You're in the

dotnet remoting

group:

VS deletes files



VS deletes files Dan Luciano
7/30/2003 9:29:48 AM
dotnet remoting: 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?



--=20
Re: VS deletes files Fistandantilus
7/30/2003 3:16:19 PM
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.=20

The fix, move all your Remoting config stuff into your app.config and =
everything works fine.

MacKenzie
[quoted text, click to view]
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?



--=20
Re: VS deletes files Dan Luciano
7/31/2003 1:58:03 PM
That worked!!!

Thanks!!!

--=20
DANIEL LUCIANO
[quoted text, click to view]
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.=20

The fix, move all your Remoting config stuff into your app.config and =
everything works fine.

MacKenzie
[quoted text, click to view]
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?



--=20
AddThis Social Bookmark Button