Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to stop ".jfm file cannot be accessed" from locking up tfs

I'm working on a project with a large solution in TFS, which includes a sqlProject. There's a few things we use in that project but there's also a .jfm file generated for the project. The .jfm has been excluded from the project but TFS keeps trying to access it. It also shows up under "Excluded Changes" even though I have not made any changes to it.

I've added a .tfignore file with the line

*.jfm

and restarted visual studio and rebooted my computer. This popup persists:

enter image description here

and then I can't open anything in Source Control Explorer, it just keeps giving me the popup. I've googled, spoken to my coworkers, tried moving the .tfignore file around, none of it has worked and it's driving me bonkers.

like image 531
Sadie Avatar asked Jun 20 '17 14:06

Sadie


1 Answers

To ignore the .jfm files you have to ensure that the .tfignore file was checked in to the remote server.

Please try following below steps to fix this issue.:

  1. Delete the .jfm files from TFS via web portal (backup them if needed),
  2. Restart VS, Right click the project node under the collection and select Get Latest Version to remove the .jfm files from local workspace.
  3. Set the .tfignore file and check in to the remote server

Then try it again, if that not work, just try to add a new workspace and map the sources in VS,then check in the .tfignore file to the remote server.

like image 138
Andy Li-MSFT Avatar answered Sep 24 '22 09:09

Andy Li-MSFT