Assuming we have a database project called MyDatabase
then a file called MyDatabase.jfm
appears in the root of the project directory.
I have done a Google search, which has not offered any insight. There are some references to some old software, but most of the results are spam/trojanware. I have also looked in SO, but that has not produced any results either.
Does anyone know what it is and why it's there?
The plan is to add it to the gitignore file for Visual Studio, but I need to know what it is first to submit the PR...
UPDATE
This is now breaking the Team Explorer Changes view. There are no changes being shown with the following from the Output window:
As such I will be adding the file to the .gitignore file and submitting the PR. It would be good to eventually learn what this file is and where it came from...
Assuming we have a database project called MyDatabase then a file called MyDatabase. jfm appears in the root of the project directory. It is exclusively locked while the project is open in Visual Studio. It is a binary file. It has only started appearing recently (past couple of days)
If you cannot open your JFM file correctly, try to right-click or long-press the file. Then click "Open with" and choose an application. You can also display a JFM file directly in the browser: Just drag the file onto this browser window and drop it.
This is an issue caused by the ESENT engine relied on by SQL Projects adding in a new file. This is a new feature in Windows 10 Anniversary Edition to avoid data loss, but the fact SQL Projects store the .dbmdl cache file under the project root means this locked file is added to the Git source control.
Notes:
Disclosure: I work on the SSDT team for Microsoft.
The takeaway from others is...
*.jfm
to your .gitignore
(In powershell, Add-Content .\.gitignore *.jfm
)
git rm --cached *.jfm
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With