Showing posts with label VSS. Show all posts
Showing posts with label VSS. Show all posts

Thursday, July 01, 2010

Exkludera filer från källkodshantering i Visual Studio.

Är tvungen att kolla upp detta gång på gång, så nu skriver jag upp det i bloggen så kanske jag kommer ihåg det tills nästa gång. Om man vill göra detta i ett vanligt projekt så är det relativt enkelt, gäller bara att komma ihåg att det är under source control i file menyn man ska söka:

1.In Visual Studio, open Solution Explorer and select the file to exclude.

2.On the File menu, click Source Control, then click Exclude from Source Control.

3.When you are ready to place the file under source control, you can access the File menu and click Source Control, then uncheck Exclude from Source Control.

http://msdn.microsoft.com/en-us/library/66tw9ezk(VS.90).aspx

Annat är det med Web sites, här känns det som att källkodshanteringen itne riktigt fungerar på samma sätt, men det går att göra "undo pending changes" på dom filer man inte vill ska läggas till:

Delete files that you want to exclude, add them to were they were again, but do not checkin yet. Then on source control undo pending changes. After that these files would not be source controled items.


http://social.msdn.microsoft.com/Forums/en-US/tfspowertools/thread/f4595ff1-059c-4a33-a3c6-2f22961a73c7

Thursday, April 09, 2009

TFS 2005 gör inte get-latest vid check-out!

Värt att lägga på minnet så att man inte gör en blunder, är att TFS 2005 inte gör som VSS dvs get-latest när man gör check-out. Se beskrivning varför här Why doesn't Team Foundation get the latest version of a file on checkout? http://blogs.msdn.com/buckh/archive/2005/08/20/454140.aspx i TFS 2008 finns det möjlighet att ställa i source control insällningarna så att det fungerar som tidigare http://sushantp.wordpress.com/2009/02/26/tfs-2008-tips-and-tricks-enable-get-latest-on-check-out/, kanske kan vara ett skäl till uppgradering :)