Visual Studio 2008中的BizTalk架构项目的参考问题 [英] Reference trouble with BizTalk schema project in Visual Studio 2008

查看:76
本文介绍了Visual Studio 2008中的BizTalk架构项目的参考问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在大型VS 2008解决方案中,我们有不同的架构项目和映射项目.映射项目引用了适当的架构项目,并且总体上可以正常工作.

In a large VS 2008 solution we have different schema projects and mapping projects. The mapping projects reference the appropriate schema projects and this works fine overall.

但是,最近我添加了一个新的架构项目,它一致也出现了同样的问题.当我向其中添加新的架构时,我想在已经有对该架构项目的引用的映射项目中使用该架构,则该映射无法通过消息进行验证

However, recently I added a new schema project and it consistently gives the same problem. When I add a new schema to it, and I want to use that schema in a mapping project that already has a reference to the schema project, the map fails to validate with the message

无法加载源/目标模式[...].文件/类型不存在,或者如果存在项目依赖项,则不构建依赖项目.

Cannot load source/destination schema [...]. Either the file/type does not exist, or if a project dependency exists, the dependent project is not built.

足够公平,我将重新构建模式项目,这应该可以解决该错误.但这对于这个特定的架构项目还不够.我必须删除重新添加架构项目引用才能使此错误消失.这很烦人,并且无需其他步骤即可用于其他项目,那我该怎么办?

Fair enough, I'll just re-build the schema project and this should solve the error. But that is not enough with this particular schema project. I have to remove and re-add the schema project reference to make this error go away. It's pretty annoying and it works for other projects without this extra step, so what can I do?

推荐答案

您遇到的是BizTalk Server 2009 Project系统的已知问题.

What you are experiencing is a will known issue with the BizTalk Server 2009 Project system.

该版本存在许多令人沮丧的设计师问题.更高版本的Service Pack减轻了其中许多但并非全部.

That version had a number of frustrating designer issues. The later Service Packs alleviated many of them but not all.

最常见的解决方法是翻转参考的本地复制"属性.

The most common workaround for the problem you are facing is to flip the Copy Local property of the Reference.

这篇关于Visual Studio 2008中的BizTalk架构项目的参考问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆