Exclude App_Data from SourceSafe

A

Arsen V.

Hi,

How to exclude the App_Data directory from Visual SourceSafe?

It appears that Vs 2005 automatically adds the App_Data directory with the
large binary MDF and LOG files to the Visual SourceSafe.

Is there a way to prevent this from happening?

Thanks,
Arsen
 
K

Kevin Yu [MSFT]

Hi Arsen,

We cannot exclude certain files from source control in an ASP.NET app.
However, I've found a workaround here. We can exclude the file from the
whole project to achieve this.

You can select that certain file, right click on it and select Exclude from
project. An .exclude extension will be added at the end of the filename. So
before checking them into the source control, first exclude the files from
project.

I'm sorry for the inconvenience. If anything is unclear, please feel free
to let me know.

Kevin Yu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
L

Laurent Bugnion

Hi,
Hi Arsen,

We cannot exclude certain files from source control in an ASP.NET app.
However, I've found a workaround here. We can exclude the file from the
whole project to achieve this.

You can select that certain file, right click on it and select Exclude from
project. An .exclude extension will be added at the end of the filename. So
before checking them into the source control, first exclude the files from
project.

I'm sorry for the inconvenience. If anything is unclear, please feel free
to let me know.

Kevin Yu
Microsoft Online Community Support

This is probably the main issue I have with the web site model as
opposed to the Web Application Project template. Who wants to put
*everything* in the source control?

Also, renaming the files is really a bad approach to solving the problem
(though it is the only one so far).

HTH,
Laurent
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top