Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
tools
vsnet.act
vsnet.debugging
vsnet.documentation
vsnet.enterprise.tools
vsnet.general
vsnet.ide
vsnet.jlca
vsnet.servicepacks
vsnet.setup
vsnet.vsip
vsnet.vss
vsnet.vstools.office
vstudio.development
vstudio.extensibility
vstudio.general
vstudio.helpauthoring
vstudio.setup
vstudio.sourcesafe
  
 
date: 20 Dec 2005 07:05:29 -0800,    group: microsoft.public.vsnet.vss        back       


xml files in app_data, want to exclude without renaming to .exclude   
hi,
i'm storing data in xml files inside the app_data folder in VS2005.
VSS keeps setting these files to read-only, which obviously means i
can't write to them.  if i exclude the files in VS, they get renamed to
..exclude, but i don't want this.
does anyone have suggestions for how to deal with this situation?
thanks
tim
date: 20 Dec 2005 07:05:29 -0800   author:   Tim_Mac

Re: xml files in app_data, want to exclude without renaming to .exclude   
In article , 
tim@mackey.ie says...
> hi,
> i'm storing data in xml files inside the app_data folder in VS2005.
> VSS keeps setting these files to read-only, which obviously means i
> can't write to them.  if i exclude the files in VS, they get renamed to
> .exclude, but i don't want this.
> does anyone have suggestions for how to deal with this situation?
> thanks
> tim
> 
> 

Check them out first before writing to them?

--Gene
date: Tue, 20 Dec 2005 21:38:11 -0500   author:   Gene S. Berkowitz

RE: xml files in app_data, want to exclude without renaming to .exclude   
Hi Tim,

Did you exclude the files from the project or exclude the files from source 
control? I tried to exclude files in both ways, but it seems they didn't 
add the .exclude extension. If you need to edit this file, you can keep the 
files checked out. The readonly attribute of this files will be removed 
automatically. 

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no 
rights."
date: Wed, 21 Dec 2005 05:07:28 GMT   author:   (Kevin Yu [MSFT])

Re: xml files in app_data, want to exclude without renaming to .exclude   
hi gene, i'm refering to writing to the files when the application is
running, e.g. File.Write etc.   i like to be able to check in the whole
solution when i'm finished work for the day, and not have to worry
about going back in to keep a few xml files checked out...
thanks though.
tim.
date: 21 Dec 2005 02:10:54 -0800   author:   Tim_Mac

Re: xml files in app_data, want to exclude without renaming to .exclude   
hi Kevin,
thanks for the reply.  i was trying to exclude the files from the
Visual Studio project, and it does add .exclude to the filename when i
do this.
i'm not aware of a method to exclude files from source control.  if i
select the files, and click File > Source Control > Change Source
Control, it only gives options for the solution and project.  is there
another way?
thanks
tim
date: 21 Dec 2005 02:14:37 -0800   author:   Tim_Mac

Re: xml files in app_data, want to exclude without renaming to .exclude   
Hi Tim,

From File->Source Control->Exclude XXX from SourceControl, you can exclude 
individual files from source control. HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no 
rights."
date: Thu, 22 Dec 2005 09:42:05 GMT   author:   (Kevin Yu [MSFT])

Re: xml files in app_data, want to exclude without renaming to .exclude   
hi Kevin,
that menu option isn't there.  it must be a feature from VS team system
or whatever it's called.  i'm still using VSS 6.
oh well, i guess i can live with keeping the xml files checked out
manually. 
thanks anyway
tim.
date: 22 Dec 2005 02:06:35 -0800   author:   Tim_Mac

Re: xml files in app_data, want to exclude without renaming to .exclude   
You're welcome. Yes, keeping the files checked out will do the trick.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no 
rights."
date: Fri, 23 Dec 2005 06:28:03 GMT   author:   (Kevin Yu [MSFT])

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us