加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

什么是ASP.NET中的gpstate文件

发布时间:2020-12-16 07:14:53 所属栏目:asp.Net 来源:网络整理
导读:在我的项目中,我在文件夹中找到了一个.gpState文件,gpState文件的目的是什么? 解决方法 我从未在ASP.NET应用程序中看到过这样的文件.你确定它来自ASP.NET吗? 编辑:似乎这个文件来自Guidance Automation Toolkit(无论是什么). 从页面链接引用: As a devel
在我的项目中,我在文件夹中找到了一个.gpState文件,gpState文件的目的是什么?

解决方法

我从未在ASP.NET应用程序中看到过这样的文件.你确定它来自ASP.NET吗?

编辑:似乎这个文件来自Guidance Automation Toolkit(无论是什么).

从页面链接引用:

As a developer uses a Guidance Package in their Visual Studio Solution,the Guidance Automation Extensions will store information about how the Guidance Package is used in the solution into a file named <SolutionName>.gpstate in the solution folder. The following information is stored in the .gpstate file:

  • Bound references and their initial state
  • Unbound references and their initial state
  • A list of Guidance Packages that have been enabled on the solution (with version numbers)
  • For each Guidance Package,a flag that says if the binding recipe has been executed for that Guidance Package
  • Version information for the Guidance Package

You should not delete the .gpstate file,because it will cause the solution to lose this information.

By default,the .gpstate file is not added as a solution item in the Visual Studio solution. If a team of developers is working on the same solution and the team wants to share Guidance Package state,the .gpstate file can be added to the solution and checked into source control. If several developers make changes to the Guidance Package state in their solutions at the same time,it will be necessary to merge the changes in the .gpstate file when it is checked in. Another important consideration when using Guidance Packages in a team environment is ensuring that each developer has every Guidance Package required by the solution installed,and that the versions are the same. If there is a mismatch between Guidance Packages or versions installed by different developers,the Guidance Automation Extensions will delete any state that applies to Guidance Packages that are not installed.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读