Why does my DB project's .dbmdl file change even when I make no changes to the project?

▼魔方 西西 提交于 2019-12-01 15:28:34

I believe Visual Studio serializes the dbmdl file every time the project is opened. The only possible work around would be to keep the project open.

If you delete the .dbml file, it is rebuilt without errors or warnings, so I think it's just a cache file for references, intellisense, etc. I'm going to exclude it from source control.

Adam

See related question here. The .dbmdl file is unique per user (and some kind of cache, as said above) and so the right solution is indeed to exclude it from source control.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!