Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Remoting / July 2003

Tip: Looking for answers? Try searching our database.

VS deletes files

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dan Luciano - 30 Jul 2003 14:29 GMT
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?

Signature

DANIEL LUCIANO

Fistandantilus - 30 Jul 2003 22:16 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.