新版本BizTalk项目部署
我尝试部署 BizTalk 项目的新版本。部署后,我可以看到资源中有 2 个不同版本的程序集。但是,当我尝试启动编排时,我总是收到有关“找不到文件”的错误消息,似乎 BizTalk 找不到我的新版本程序集。我想知道部署可能有问题。有人有想法吗?多谢
I tried to deploy a new version of my BizTalk project. After the deployment, I can see there are 2 different version of assemblies in the resource. However, when I tried to start the orchestration, I always got the error message about "cannot find the file", seems BizTalk cannot find my new version assembly. I am wondering there probably something wrong with the deployment. Any one has idea? thanks a lot
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
检查并确保您的新程序集位于 GAC 中。
Check to make sure your new assembly is in the GAC.
通常,对于 BizTalk 解决方案,我们不会增加项目的程序集版本,而只会增加程序集文件版本,否则您必须更新所有引用。
例如,如果您更新包含架构的项目,则必须更新您想要引用新版本架构以指向此程序集的所有映射、编排和管道。
仅增加文件版本不会破坏部署,并且您在 GAC 中只能获得一个版本,但您仍然可以看到程序集文件版本号来判断它来自哪个版本。
在一种情况下,您确实希望更新程序集版本,即您希望同时部署旧版本和新版本。要实现此目的,您必须遵循清单:更新使用并行版本控制的应用程序
Usually with BizTalk solutions we don't increment the Assembly Version of the projects but rather just the Assembly File Version otherwise you have to update all your references.
For example if you update the project that contains schemas, then you have to update all your maps, Orchestrations and Pipelines that you want to reference the new version of the schema to point to this assembly.
Incrementing just the file version does not break the deployment, and you only get one version in the GAC, but you can still see the Assembly File Version number to tell which build it is from.
There is one scenario where you do want to update your Assembly Version, and that is if you want both the old version and the new version deployed simultaneously. To achieve this you have to follow the Checklist: Updating an Application Using Side-by-Side Versioning