What is a dll.refresh file in ASP.Net?

前端 未结 3 772
無奈伤痛
無奈伤痛 2020-12-13 03:25

In our ASP.Net web project we seem to have some .refresh files associated with some of the 3rd party Dlls we\'re using. Any idea what they are and how/when they are created?

3条回答
  •  北海茫月
    2020-12-13 04:07

    From here:

    In an ASP.NET project, adding a file-based reference will add a .refresh file in the Bin folder. When the project is under source control, this file is then added to source control. *.dll.refresh files that litter the bin directory. Every time you add an external reference, you'll find a dll.refresh file right next to it. These dll.refresh files are an exception to the rule, and they should go into source control. Its the only way your web project will know where its references live.

提交回复
热议问题