User Control location and update during development

三世轮回 提交于 2019-12-10 20:26:01

问题


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

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

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?

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.


回答1:


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

  2. Close GeneXus.

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

  4. Run Genexus.exe /install

  5. Run GeneXus

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



来源:https://stackoverflow.com/questions/25453471/user-control-location-and-update-during-development

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