Showing posts with label Visual Studio. Show all posts
Showing posts with label Visual Studio. Show all posts

Wednesday, 24 August 2011

VS2010 Files to EXCLUDE from TFS Source Control

This is a list describing, in general, which files should NOT be included in Source Control for your .Net applications
  • Solution user option files (*.suo), project user option files (*.csproj.user or *.vbproj.user) and WebInfo files (*.csproj.webinfo or *.vbproj.webinfo)
  • Anything that is created during the Build process:
    • The 'bin' folder and all contents (if you reference any third party DLLs, these should be placed in their own folder eg 'lib' and referenced from there, not from the 'bin' directory)
    • The 'obj' folder and all contents
  • Documentation files
    • TFS doesn't handle document changes that occur outside of Visual Studio very well
    • Documentation files should be stored on some other central repository, like SharePoint etc.
Note that in TFS 2010 you can enable/disable selected file types from participating in File Merging.
You also have the ability to cloak folders - and exclude them from source control.

    Monday, 20 June 2011

    Turn Off Auto ID for HTML elements in Visual Studio 2008

    So you're sick of having Visual Studio automatically add an ID attribute to your HTML markup when you paste something into the Source View?

    I was too...here is how you stop that annoying behaviour:

    Tools > Options > Text Editor > HTML > Miscellaneous > Untick the "Auto ID ... " property: