用户控件在开发过程中的位置和更新

编程入门 行业动态 更新时间:2024-10-26 11:26:17
本文介绍了用户控件在开发过程中的位置和更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在目录中有一个用户控件,例如名称Test1.

I have an user control, with name Test1 for example, in the directory:

C:\ Models ... \ CSharpModel \ web \ Test1

C:\Models...\CSharpModel\web\Test1

即使我在该目录中将其删除,用户控件仍然可以在浏览器的Web面板中使用.为什么会这样?如何确定用户控件已删除?

Even when I delete it in that directory, the user control still works in the webpanel on the browser. Why this happens? How can I make sure the user control is deleted?

如何确定用户控件已更新?因为即使更改版本,也要执行安装命令,重新启动浏览器并确保正确刷新浏览器(或在其他浏览器中对其进行测试),有时我仍无法获得在javascript代码中所做的持久更改

And how can I make sure the user control is updated? Because even when I change the version, do the install command, restart the browser and make sure the browser is refreshed properly (or test it in another browser), sometimes I don't get the lasted changes that I have made in the javascript code.

推荐答案

  • 必须增加位于YourUserControl.control中的版本号<Version>X.X</Version>.这就是GeneXus知道UC是否已更新的方式.

  • Must increase the version number <Version>X.X</Version> located in YourUserControl.control. This is how GeneXus knows if the UC was updated.

    关闭GeneXus.

    Close GeneXus.

    在更新用户控件中的任何文件后,您必须将这些文件复制到GeneXus安装文件夹/用户控件中.

    After updating any file within a usercontrol, you have to copy those files to your GeneXus Installation Folder/UserControls.

    运行Genexus.exe/install

    Run Genexus.exe /install

    运行GeneXus

    全部构建(GeneXus将在您的UC中检测版本更改并自动复制UC文件)

    Build All (GeneXus will detect version change in your UC and automatically copy UC files)

  • 更多推荐

    用户控件在开发过程中的位置和更新

    本文发布于:2023-07-22 04:04:51,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1183992.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:控件   过程中   位置   用户

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!