两个版本的lightswitch桌面应用程序 [英] Two versions of lightswitch desktop application
问题描述
我已经部署了一个在生产环境中使用的lightswitch应用程序.我最近进行了一些更改,需要发布单独的副本并与原始版本一起安装,以进行测试.
I have deployed a lightswitch application that is being used in a production environment. I recently made some changes and need to publish a separate copy installed alongside the original for testing purposes.
我试图观看此视频 1 并排安装单击一次应用程序,但是Lightswitch没有与普通C#应用程序相同的选项.
I tried to look at this video1 on installing click-once applications side by side, but Lightswitch doesn't have the same options that a normal C# application has.
我在桌面客户端项目中编辑了程序集名称,但是没有运气.
I edited the assembly name in the desktop client project but no luck.
有什么建议吗?
推荐答案
我不确定这是否正确,但是我设法通过编辑应用程序部署清单来安装它.当您发布桌面客户端时,将生成此文件.
I'm not sure if this is right, but I managed to get it to install by editing the application deployment manifest. This file is generated when you publish the desktop client.
所以我尝试了这些步骤
- 编辑桌面客户端项目文件以更改程序集名称 我的来源
- 编辑已发布的应用程序清单,以便AssemblyIdentity名称匹配
- Edit the desktop client project file to change the assembly name in my source
- Edit the published application manifest so the assemblyIdentity name matches
再次,我不知道我在做什么,如果有人知道的话,请告诉我.我在下面编辑的清单标签的屏幕截图.
Again, I have no idea what i'm doing so if anyone knows better please tell me. Screenshot of the manifest tag i edited below.
这篇关于两个版本的lightswitch桌面应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!