question

lavanyadeepak avatar image
0 Votes"
lavanyadeepak asked TomPhillips-1744 commented

JFM seems to getting locked mutually exclusive

This is the follow-up query on (https://docs.microsoft.com/en-us/answers/questions/341970/what-are-jfm-mdl-files-in-visual-studio-database-p.html?childToView=342039#answer-342039) helped by @VaibhavChaudhari

Additionally I also observe that when the database project is open this JFM remains undelete-able. When trying to commit them too it git gives a permission denied error because it seems to get locked exclusively.

Is there a way to change this setting?

sql-server-general
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @lavanyadeepak,

We have not received a response from you. Did the reply could help you? If the response helped, do "Accept Answer". If it is not, please let us know. By doing so, it will benefit all community members who are having this similar issue. Your contribution is highly appreciated.

0 Votes 0 ·
Viorel-1 avatar image
0 Votes"
Viorel-1 answered

Maybe you do not have to commit it, since it is ignored according to default .gitignore file, generated by Visual Studio.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

TomPhillips-1744 avatar image
0 Votes"
TomPhillips-1744 answered
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Cathyji-msft avatar image
0 Votes"
Cathyji-msft answered TomPhillips-1744 commented

Hi @lavanyadeepak,

Please try below steps.

•Add *.jfm as a line to the local .gitignore
•Close the solution (but stay connected in Team Explorer)
•Delete the .jfm file in file explorer
•Commit the .jfm deletion and the .gitignore edit
•Reopen the solution and rebuild
•Should see that there are no .jfm changes

Quote from this thread Visual Studio ignores *.jfm entry in the gitIgnore file.

Please also check if this thread Visual Studio 2015 Database Project directory contains a file with extension jfm could help you.


If the response is helpful, please click "Accept Answer" and upvote it, thank you.



· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

What is this answer if TFVC is the source control mechanism?

0 Votes 0 ·

TFVC uses .tfignore

0 Votes 0 ·