visual studio - TFS shows unchanged files in "Pending changes" even when Local Workspace is used -
i'm using vs 2013 , s new tfs feature called local workspace because of ability automatically detect changes , remove files pending changes window if content not changed.
that works fine regular files. have issue generated or dependent files - of them still remain in pending changes if there no changes made them. example, have .edmx file .context.tt file, has <dependentupon>handymancontext.edmx</dependentupon> setting in project file. now, when update .edmx, .context.tt shown in pending changes, while not changed. same thing happens .cs files, generated t4 template.
and interesting thing, when edit files manually (add space), undo changes (remove added space) , save them, removed pending changes should.
is bug or there setting prevent behavior? using refresh option in pending changes window doesn't help.
you should not have generated files under source control. use .tfignore exclude file types.
visual studio detecting while contents of file has not changed file attributes have (the date time) , still change.
it best practice exclude generated files source control. build server generate files on demand.
Comments
Post a Comment